PCB Design for ESP32 Stand alone module
-
Hi All, i m also facing the same error. we are developing an iot device based on esp32d0wdq6 controller. we have designed a board. Now the program is not getting uploaded. the connections are
TTL Converter 3.3v - vcc (ESP32)
TTL Converter gnd - gnd (ESP32)
TTL Converter TXD - RXD (ESP32)
TTL Converter RXD - TXD (ESP32)
GND - GPIO 0 (ESP32)
3.3V - EN (ESP32).
Connecting......................................____An error occurred while uploading the sketch
_
this is error message i m getting.A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
FYI, we are using the W25Q40CL flash ic. please help me to sort out this issue.
Thanks in Advance ! -
And having one more doubt !
Bootloader for esp32 will present already or we need to load the bootloader code into the newly brought esp32 chip ? -
@Sharmila If you're programming the board for the first time using Arduino IDE then you need to burn the bootloader into the bare IC. I have a doubt when you said the IC is not getting programmed even though the GPIO0 is low.
I wanna know is GPIO0 low all the time or did you pull it low momentarily using a button??
-
@kowshik1729 Yes i m programming the board first time using arduion. GPIO 0 is low all the time.
-
@Sharmila GPIO0 must not be low all the time. It must be held low only for a moment. Because GPIO0 is a boot strap option for choosing between UART download and normal operation. Please refer to the datasheet and search boot strap. And also can you please post a snap of your newly designed board please?
-
@kowshik1729 thank you for the hint ! i will check it . schematic picture of my board is given below
()
-
@kowshik1729 sorry, gpio 0 is low only till it is programmed. after that this will disconnected.
-
@Sharmila Reviewed your schematics. Have the following doubts
- Is this a USB receptacle?
- Didn't find any option where you can pull the GPIO0 low and bring it back to normal state. Did you have a jumper connection or button between GPIO0 and GND?
-
- no.
- we are using jumper for gpio 0th pin. please refer the below image.
-
This post is deleted!