Unable to Flash esp32

ztnyyy
Posts: 2
Joined: Sat Jan 18, 2025 6:12 pm

Unable to Flash esp32

Postby ztnyyy » 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.
schematics.png
schematics.png (132.22 KiB) Viewed 837 times
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):
  1. rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
  2. invalid header: 0xffffffff
  3. invalid header: 0xffffffff
  4. invalid header: 0xffffffff
  5. invalid header: 0xffffffff
  6. invalid header: 0xffffffff
  7. invalid header: 0xffffffff
  8. invalid header: 0xffffffff
  9. invalid header: 0xffffffff
  10. ets Jul 29 2019 12:21:46
- If I reset in download mode:
  1. rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
  2. waiting for download
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.

ESP_Sprite
Posts: 9882
Joined: Thu Nov 26, 2015 4:08 am

Re: Unable to Flash esp32

Postby ESP_Sprite » Sun Jan 19, 2025 12:36 am

Could be that the path from the ch341 tx to the ESP32 rx is broken.

ztnyyy
Posts: 2
Joined: Sat Jan 18, 2025 6:12 pm

Re: Unable to Flash esp32

Postby ztnyyy » Sun Jan 19, 2025 10:44 am

ESP_Sprite wrote: Could be that the path from the ch341 tx to the ESP32 rx is broken.
So after painstakingly resoldering and cleaing the esp32 module 3 times the prbolem was the rx connection didn't reflow properly.
Now I can communicate with module

Who is online

Users browsing this forum: No registered users and 34 guests