Uploading to ESP32-C3 Super Mini

Installed and selected the board, selected the COM port, compiled this

#define LED_BUILTIN 8

void setup() {
  Serial.begin(115200);
  pinMode(LED_BUILTIN, OUTPUT);
}

int n = 0;
void loop() {
  Serial.println(n);
  n++;
  delay(1000);
  digitalWrite(LED_BUILTIN, HIGH);
  delay(1000);
  digitalWrite(LED_BUILTIN, LOW);
}

and upload seems to have worked

Sketch uses 277022 bytes (21%) of program storage space. Maximum is 1310720 bytes.
Global variables use 12164 bytes (3%) of dynamic memory, leaving 315516 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.6
Serial port COM4
Connecting...
Chip is ESP32-C3 (revision v0.4)
Features: WiFi, BLE
Crystal is 40MHz
MAC: d8:3b:da:13:19:ac
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00004fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x00056fff...
Compressed 18688 bytes to 12099...
Writing at 0x00000000... (100 %)
Wrote 18688 bytes (12099 compressed) at 0x00000000 in 0.3 seconds (effective 540.8 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 146...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (146 compressed) at 0x00008000 in 0.0 seconds (effective 548.8 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 705.2 kbit/s)...
Hash of data verified.
Compressed 287536 bytes to 159887...
Writing at 0x00010000... (10 %)
Writing at 0x0001bfdd... (20 %)
Writing at 0x00023d40... (30 %)
Writing at 0x0002ad68... (40 %)
Writing at 0x00030d7c... (50 %)
Writing at 0x000370b6... (60 %)
Writing at 0x0003d03a... (70 %)
Writing at 0x00044168... (80 %)
Writing at 0x0004b1e9... (90 %)
Writing at 0x00051559... (100 %)
Wrote 287536 bytes (159887 compressed) at 0x00010000 in 2.2 seconds (effective 1034.1 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...

But nothing. No light, nothing on serial monitor (with baud changed from the default 9600 to 115200).

Seems to be dead.

Any ideas?

Press reset on board

After uploading I press the reset button, the serial monitor disconnects and reconnects, and still nothing.

Try the other button (once "Uploading.." is displayed)

:confused: nope

Upload then press a button.
That's also what this says: flash ESP32 or ESP32-CAM with arduino ide software - Roger Frost's home automation

But nothing. With either button.

(Is it supposed to light up like an Arduino does?)

20241011_194443

if your board has defined led_builtin, you could comment this line.

Indicates that it has Uploaded.

I copied that from somehwere: apparently that's what is is for an ESP32-C2 Super Mini. No?

There is no evidence that the board has an LED: none has ever come on.

Yeah. So: what's supposed to happen next?

Then remove that line.
It's not difficult to see if a board has a led or not.... On your "Super Mini" resolution photo there is a white component that looks like a LED... :grinning:

There's a schematic.
Faced with "now-whats" I kind of throw up my hands.
Get a DMM and figure it out maybe.

Which board are you selecting. The fourth one from the top or one of the Lolin ones.
I had issues before with the Lolin C3. The fourth one from the top (C3) works for me.
I also had issues with these boards with memory choices. The default one should work.
Also try to upload ONCE with "erase all flash".
Leo..

Yeah, fourth in the list: ESP32C3 Dev Module.

Been trying different board selections and got lucky with LOLIN C3 Mini.

But still no LEDs

Thank you so much everyone for your input :smiley:

Maybe because you are using Arduino's reserved word "LED_BUILTIN".
Change that to "LED" or something. And use "8" instead of "D8"
I definitely had that LED working on a previous project.
Leo..

The board has 2 LEDs. The red one (board has energy) and the blue one (connected to Digital pin 8).

Blink sketch worked for me after changing LED_BUILTIN to 8, as suggested by @Wawa .

Selected ESP32C3 Dev Module with "USB CDC on Boot" option enabled.

PS: just out of the box, the board had a strange behaviour like keeping connecting and disconnecting (Windows sound) but it stopped after the blink upload.

I was expecting a power LED, but nothing :man_shrugging:
Blink sketch also does nothing.

...anyway... the next challenge is MQTT -- all the libraries seem to be broken. Best I can do is use nc to proxy it

Something very wrong there.
The power LED next to the USB socket is directly connected to USB supply via a diode.
Did you connect something to the 3.3volt or 5volt rail.
That diode could act as a fuse when you overload/short the 5volt or 3.3volt pin.
Leo..

Here it is plugged in and running.
There are no lights.
20241018_232925

Can you take a closer look at the tiny black rectangle near the bottom/left pin of the board. It seems that only the right hand side of that part is soldered, maybe because it wasn't placed properly. That part (diode) makes the connection between USB power and power LED.
Try to lift up the left-hand side with a needle, to see if it is soldered.
Leo..