I couldn't upload my code to the ESP-WROOM-32, i have just started using the board, any tips?

This was the error message that i got.

Sketch uses 237165 bytes (18%) of program storage space. Maximum is 1310720 bytes.
Global variables use 22184 bytes (6%) of dynamic memory, leaving 305496 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port COM9
Connecting...

A serial exception error occurred: Write timeout

I have tried using the boot button but it doesn't do anything, is it not the esp?

Your topic has been moved to a more suitable category. See Uncategorized - Arduino Forum

"Uncategorized" does not mean that others should categorise it for you.

Hi @maarruu. Please try this:

  1. Select Sketch > Upload from the Arduino IDE menus.
  2. Watch the black output panel at the bottom of the Arduino IDE window until you see this text printed:
    Connecting...
    
  3. Press and hold the button on your ESP32 board.
    if your board has multiple buttons, you might have to do some trial and error to determine which is the one you need to press.
  4. Wait about one second.
  5. Release the button.

The upload should now finish successfully.

1 Like

Inadequate power supplies, and failure to connect GPIO0 to GND for serial upload (on some boards) are common problems.

I found this tutorial to be useful when getting started with the ESP32-CAM.

1 Like

Thanks for the replies, worked after i used a different USB and downloading this [driver].(CP210x USB to UART Bridge VCP Drivers - Silicon Labs)

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.