Can not Upload Firmware to ESP32 using CP230x custom board
Posted: Tue Aug 08, 2023 8:34 pm
Hello,
i have created a custom board using an esp32s3-wroom and an cp210 uart bridge.
when I try to upload a firmware / program I get the error message:
_____________________
Sketch uses 233525 bytes (17%) of program storage space. Maximum is 1310720 bytes.
Global variables use 18244 bytes (5%) of dynamic memory, leaving 309436 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port /dev/cu.usbserial-0001
Connecting......................................
A fatal error occurred: Failed to connect to ESP32-S3: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esp ... oting.html
Failed uploading: uploading error: exit status 2
_________________
I am not 100% sure if my setup is correct (see pictures). I have measured the following values:
GPIO0 = 0.01 V → 0.01V (when SW2 pushed)
GPIO2 = not connected
GPIO12 = low
GPIO15 = 2.9 V
EN = high 3.3v → 0.5V (when SW1 pushed)
DTR = 3.3 V (SW1 / SW2 not pushed) → 2.9 V SW1 Pushed
RTS = 3.3 V (SW1 / SW2 not pushed) → 2.9 V SW2 pushed
i have created a custom board using an esp32s3-wroom and an cp210 uart bridge.
when I try to upload a firmware / program I get the error message:
_____________________
Sketch uses 233525 bytes (17%) of program storage space. Maximum is 1310720 bytes.
Global variables use 18244 bytes (5%) of dynamic memory, leaving 309436 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port /dev/cu.usbserial-0001
Connecting......................................
A fatal error occurred: Failed to connect to ESP32-S3: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esp ... oting.html
Failed uploading: uploading error: exit status 2
_________________
I am not 100% sure if my setup is correct (see pictures). I have measured the following values:
GPIO0 = 0.01 V → 0.01V (when SW2 pushed)
GPIO2 = not connected
GPIO12 = low
GPIO15 = 2.9 V
EN = high 3.3v → 0.5V (when SW1 pushed)
DTR = 3.3 V (SW1 / SW2 not pushed) → 2.9 V SW1 Pushed
RTS = 3.3 V (SW1 / SW2 not pushed) → 2.9 V SW2 pushed