Can't connect to custom ESP32-S2 board
Posted: Fri Jul 25, 2025 4:12 pm
I am trying to get a very basic custom pcb using an esp32-s2fh2 chip working, schematic attached. I am holding the switch down to bring strapping pin GPI0 to ground during power up to select the boot mode. After initial attempts to communicate with the chip failed, I verified the oscillator was at 40MHz (800mV peak to peak), the chip is drawing power (10mA), that the switch if effective, that the RX onto the board is as expected and the TX on the board is quiet.
Then I read some posts here and decided to solder an additional 100uF electrolytic capacitor onto the enable RC network to alleviate any problems from slowly settling power supplies during testing. After this I got this response from the chip ID esptool command:
Thanks!
Then I read some posts here and decided to solder an additional 100uF electrolytic capacitor onto the enable RC network to alleviate any problems from slowly settling power supplies during testing. After this I got this response from the chip ID esptool command:
My USB to UART translation was through an on-board STlink. I have not had this response since. If I boot it in download mode over UART now, I can see:esptool v5.0.1
Connected to ESP32-S2 on /dev/cu.usbmodem14303:
Chip type: ESP32-S2FH2 (revision v1.0)
Features: Wi-Fi, Single Core, 240MHz, Embedded Flash 2MB, No Embedded PSRAM, ADC and temperature sensor calibration in BLK2 of eFuse V2
Crystal frequency: 40MHz
MAC: 74:4d:bd:00:8f:6c
Uploading stub flasher...
A serial exception error occurred: Write timeout
Which looks good, but then I get :Build:Oct 25 2019
rst:0x1 (POWERON),boot:0x0 (DOWNLOAD(USB/UART0/1/SPI))
waiting for download
Is it possible that an unsuccessful attempt to upload the stub flasher has created problems? Is there anything I can do to get a working system?esptool v5.0.1
Serial port /dev/cu.usbmodem14303:
Connecting......................................
A fatal error occurred: Failed to connect to Espressif device: No serial data received.
Thanks!