Hi, I'm new to Espressif and have just moved from microchip pics to esp32c3 which is fantastic value for money and highly capable.
I was going to post a query about a problem I have. I'm using ESP-IDF v5.4-dirty
When I accidentally do something, still don't know what it is my esp32c3 supermini refuses to stay attached to usb. It enumerates correctly and then immediately disconnects from usb and idf.py.
The last time this happened jtag was connecting and disconnecting continually and vscode managed to flash it when nothing else would, this time I applied power holding the boot button which is connected to pio 9 then I was in the continual enumeration phase and vscode managed to flash blink successfully.
Is there an official method for recovering from such hiccups? eclipse ide has a habit of making the chip an esp32c6 and I think it could be something to do with this. This last time I was attempting to use the rainmaker example when it refused to stay connected.
The boot button was used as a button at pio9 in the last example flashed to the chip.
Flash problem with esp32c3 jtag
-
ahsrabrifat
- Posts: 201
- Joined: Sat Jan 18, 2025 2:31 pm
Re: Flash problem with esp32c3 jtag
If the last flashed firmware assigned GPIO9 (which is also the boot button) in a way that conflicts with boot behaviour, it may cause issues.
GPIO9 being held LOW at power-up triggers the USB Serial Bootloader, but some firmware may interfere with this. Some firmware changes (especially involving USB) can cause the ESP32-C3 to crash on boot, leading to constant disconnections.
GPIO9 being held LOW at power-up triggers the USB Serial Bootloader, but some firmware may interfere with this. Some firmware changes (especially involving USB) can cause the ESP32-C3 to crash on boot, leading to constant disconnections.
Who is online
Users browsing this forum: No registered users and 4 guests