ESP 32 Devboard unable to upload

hello,

I have purchased the ESP32 development board "ESP32-D0WDQ6 Development Board - with Wi-Fi and Bluetooth" at TinyTronics

However I can't upload anything on it. I get the attached error. I have tried several board configuration (Dev module, Dev module S3, C3, Dev module WROOM, etc.) with always the same error. Tried also different cables.

Arduino: 1.8.19 (Mac OS X), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, Core 1, Core 1, None"

Sketch uses 202641 bytes (15%) of program storage space. Maximum is 1310720 bytes.
Global variables use 16004 bytes (4%) of dynamic memory, leaving 311676 bytes for local variables. Maximum is 327680 bytes.
esptool.py v3.3
Serial port /dev/cu.usbserial-1410
Connecting.....Traceback (most recent call last):
  File "esptool.py", line 5387, in <module>
  File "esptool.py", line 5380, in _main
  File "esptool.py", line 4802, in main
  File "esptool.py", line 1056, in flash_set_parameters
  File "esptool.py", line 495, in check_command
  File "esptool.py", line 468, in command
  File "esptool.py", line 413, in read
StopIteration
[6660] Failed to execute script 'esptool' due to unhandled exception!

Chip is ESP32-D0WDQ6-V3 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 94:b9:7e:cd:ae:70
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
An error occurred while uploading the sketch


This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Any ideas what to do? Below are my settings (MAC OS Monterey)


Hi @vermar. 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

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