Search found 20 matches

by ashesman
Mon Jan 09, 2023 9:51 pm
Forum: ESP-IDF
Topic: ESP32-C3 Flashing fails part way
Replies: 4
Views: 3830

Re: ESP32-C3 Flashing fails part way

For future reference, this issue seems to be able to be solved by holding IO9 low manually during flashing. I found that answer here: https://esp32.com/viewtopic.php?f=12&t= ... 24#p108124
by ashesman
Mon Jan 09, 2023 9:50 pm
Forum: Hardware
Topic: idf.py flash fails after flashing 93%
Replies: 4
Views: 3515

Re: idf.py flash fails after flashing 93%

I also had this exact same issue. Was flashing fine for ages, then suddenly wouldn't flash. Except I could not get past 20-30% flashing. The ESP32-C3 was stuck in this state and could not be flashed. Holding IO9 low solved the problem. Now it is back to normal and can be flashed like usual. My origi...
by ashesman
Mon Jan 09, 2023 9:35 pm
Forum: ESP-IDF
Topic: ESP32-C3 Stuck waiting for download
Replies: 8
Views: 11545

Re: ESP32-C3 Stuck waiting for download

Ideally I would rather not replace it. It is a ESP32-C3-MINI module so impossible to replace reliably without specialist tooling.
by ashesman
Sun Jan 08, 2023 8:23 pm
Forum: ESP-IDF
Topic: ESP32-C3 Stuck waiting for download
Replies: 8
Views: 11545

Re: ESP32-C3 Stuck waiting for download

Probably worth mentioning that enable never changes state during this process. I can debug for four hours, resetting, flashing, monitor... I never turn power off, or never change the state of EN. Then all of a sudden after flashing it will refuse to start. Stuck in download mode. I still have this i...
by ashesman
Thu Dec 22, 2022 1:52 am
Forum: ESP-IDF
Topic: ESP32-C3 Flashing fails part way
Replies: 4
Views: 3830

Re: ESP32-C3 Flashing fails part way

As a follow up, eventually I was able to fix this. I dont know if it was by chance or what I did! I tried to start a USB-JTAG debug session from Espressif IDE. It did not start (it never does, always times out on open OCD). But, after that I was able to program from the command line again (over buil...
by ashesman
Wed Dec 21, 2022 10:57 pm
Forum: ESP-IDF
Topic: ESP32-C3 Flashing fails part way
Replies: 4
Views: 3830

ESP32-C3 Flashing fails part way

I have been flashing an ESP32-C3 over built in USB many times and suddenly it stopped flashing fully. It fails always somewhere between 20-30% of the main flash. I also notice that the Windows device manager flashes when this happens, like USB devices are changing. It is like the chip dies during fl...
by ashesman
Wed Dec 21, 2022 7:39 pm
Forum: ESP-IDF
Topic: ESP32-C3 Stuck waiting for download
Replies: 8
Views: 11545

Re: ESP32-C3 Stuck waiting for download

Maybe I did not explain well. This does not happen at power up at all. For example yesterday I debugged code all day. Started and stopped the monitor about 50 times probably. After about four hours, one time when I restarted the monitor, it was stuck waiting for download. It didn't matter how many t...
by ashesman
Tue Dec 20, 2022 7:42 pm
Forum: ESP-IDF
Topic: ESP32-C3 Stuck waiting for download
Replies: 8
Views: 11545

Re: ESP32-C3 Stuck waiting for download

Thanks for your reply. GPIO9 is controlled by an external microcontroller. I have confirmed GPIO9 always stays high on a scope. Enable is also controlled by an external microcontroller. It does have a pullup and capacitor fitted but for these tests, EN is bridged directly to 3V3 by a jumper wire. Th...
by ashesman
Tue Dec 20, 2022 1:27 am
Forum: ESP-IDF
Topic: ESP32-C3 Stuck waiting for download
Replies: 8
Views: 11545

ESP32-C3 Stuck waiting for download

Hi, Custom PCB with ESP32-C3-MINI module. Using the ESP32s onboard USB. On one PCB when I run idf.py monitor, it sometimes gets stuck at waiting for download (see below). I have confirmed that IO9 is kept high. Other PCBs do not have this problem. Any suggestions on what could be the cause? This pro...
by ashesman
Mon Oct 24, 2022 7:18 pm
Forum: Hardware
Topic: ESP32-C3 Flash Erase Time
Replies: 1
Views: 1541

Re: ESP32-C3 Flash Erase Time

Anybody know where I can find this information?