Quantcast
Channel: Arduino Forum - Latest topics
Viewing all articles
Browse latest Browse all 15238

ESP32-C3 Super Mini - Can't upload any sketch

$
0
0

Hi all,

I have two ESP32-C3 Super Mini boards.
I connect them to USB while pressing the boot button to force the download mode.
Although the serial monitor shows "waiting for download", no sketch can be uploaded.
Both boards show the same error.
I tried USB CDC on boot enabled and disabled, set the speed to 115200, tried it with and without EspTool as programmer - nothing. As soon as the IDE tries to upload the code, it always fails with
error 2.

Nothing is connected to the board except the USB cable to the pc. I'm running Arduino IDE 2.3.2 with current ESP libraries. I tried an older version (1.8.6) - same error.

Any advice?

Here's my example output from serial and upload:

Serial monitor when plugging in:
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x7 (DOWNLOAD(USB/UART0/1))
Saved PC:0x400462e2
waiting for download

Error message with sketch "Blink":
Sketch uses 233946 bytes (17%) of program storage space. Maximum is 1310720 bytes.
Global variables use 13676 bytes (4%) of dynamic memory, leaving 314004 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port COM5
Connecting...
Chip is ESP32-C3 (revision v0.4)
Features: WiFi, BLE
Crystal is 40MHz
MAC: dc:da:0c:8e:c2:94
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Flash will be erased from 0x00010000 to 0x0004bfff...
Compressed 243840 bytes to 136424...

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

This is how the boards look:

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 15238

Trending Articles