Unable to Flash esp32
Posted: Sat Jan 18, 2025 7:44 pm
Hi,
Recently as way of practicing, I designed a custom breakout board using the esp32-pico-mini-02 module. I basically copied the original dev board for the module and left out the usb-uart controller, usb connector and added an rgb led.
After soldering the components I went through all the connections and measured the contiunity and found nothing irregular, I'm assuming the soldering is fine. After powering it up, the 3.3 v is stable and the strapping pins are okay. I use a ch341 based uart programmer.
Upon trying to flash the module and following the button procedure mentioned on the website the Arduino IDE cant connect to the board and throws this error:
"A fatal error occurred: Failed to connect to ESP32: No serial data received."
But if I open the serial monitor I get the following messages:
- If I dont reset in download mode (assuming this is because the flash memory is empty, not sure):
- If I reset in download mode:
I can't figure out why the IDE can't recieve data, while the serial monitor can.
This behavior is making me think that the module and pcb is working physically, and the problem is on the software side.
Have anyone encountered this problem before?
Thanks for any response.
Recently as way of practicing, I designed a custom breakout board using the esp32-pico-mini-02 module. I basically copied the original dev board for the module and left out the usb-uart controller, usb connector and added an rgb led.
After soldering the components I went through all the connections and measured the contiunity and found nothing irregular, I'm assuming the soldering is fine. After powering it up, the 3.3 v is stable and the strapping pins are okay. I use a ch341 based uart programmer.
Upon trying to flash the module and following the button procedure mentioned on the website the Arduino IDE cant connect to the board and throws this error:
"A fatal error occurred: Failed to connect to ESP32: No serial data received."
But if I open the serial monitor I get the following messages:
- If I dont reset in download mode (assuming this is because the flash memory is empty, not sure):
- rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
- invalid header: 0xffffffff
- invalid header: 0xffffffff
- invalid header: 0xffffffff
- invalid header: 0xffffffff
- invalid header: 0xffffffff
- invalid header: 0xffffffff
- invalid header: 0xffffffff
- invalid header: 0xffffffff
- ets Jul 29 2019 12:21:46
- rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
- waiting for download
This behavior is making me think that the module and pcb is working physically, and the problem is on the software side.
Have anyone encountered this problem before?
Thanks for any response.