ESP32-DevKitC-32 ESP-WROOM IDE Board Selection

I have bought the above board and I just cannot for the life of me get it to work. I have a massive list of ESP32 boards to select from and I have absolutely no idea which one to choose. Got it from here ESP32 DevKitC-32 WROOM. There is a ESP32 DevKit and a ESP32 WROOM but no combination of both. I have changes so many settings in the Tools option of the Arduino IDE that I really don't know where I am anymore. Could someone let me know what settings to select in the Tools dropdown and which board to select please???? Here's what it fails on at this point in time.

esptool.py v4.8.1
Serial port /dev/cu.usbserial-1430
Connecting....
Chip is ESP32-D0WD-V3 (revision v3.1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 5c:01:3b:66:15:5c
Uploading stub...
Running stub...
Stub running...
WARNING: Failed to communicate with the flash chip, read/write operations will fail. Try checking the chip connections or removing any other hardware connected to IOs.
Erasing flash (this may take a while)...

A fatal error occurred: Packet content transfer stopped (received 8 bytes)
Failed chip erase: uploading error: exit status 2

Try ESP32 Dev Module

If UKHeliBob's suggestion fails, you might select DOIT ESP32 DEVKIT V1.

2 Likes

What sketch do you want to see me verify with any dev board. I usually use the DOIT board.

[quote="lexter333, post:1, topic:1343129"]
I have changes so many settings in the Tools option of the Arduino IDE that I really don't know where I am anymore.
[/quote]

I think you should re-install the IDE and all the boards.

Hi @lexter333. This error might be caused by the communication lines between the computer and the microcontroller on the board not being able to support the rather high default upload speed. If so, the problem should be fixed by reducing the upload speed, which is configurable via a convenient menu.

Select Tools > Upload Speed > 115200 from the Arduino IDE menus and then try uploading the sketch again, just as you did before. Hopefully this time the upload will be successful. If not, add a reply here on the forum thread to let us know and we'll investigate further.

Optimizing Upload Speed

If the sketch upload no longer failed after reducing the upload speed, you will have determined that the board is not capable of managing uploads at the default 921600 baud, but is capable of them at 115200 baud.

Especially with more complex sketches, the upload will take a significant amount of time at 115200 baud. It is likely that the board is capable of managing uploads at some speed higher than 115200 baud, so it is worth doing some experimentation to determine the maximum speed at which you can reliably upload to the board. You can do this by repeating the "Configure Upload Speed" procedure above, but selecting different speeds each time. Then attempting an upload to see if the new speed is appropriate.

I seemed to have found the issue(s)....FINALLY:

Reinstalled ESP32 boards as V3.0.7
In TOOLS-->
Changed board to ESP32 Dev Module
Port was set OK
Baud rate had to be set to 115200
Flash Frequency was set at 80MHz and it should have been 40MHz
Flash Size defaulted to 8MB so changed it to 4MB
Programmer: esptool was deselected so I selected it

All working now. :slight_smile:

1 Like

Thanks for taking the time to post an update. I'm glad it is working now.

Regards, Per

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