After being connected for a while with an android phone, when the phone is put to sleep, after a period of time, NimBLE reports the following error message. After that, the BLE device can not be found again (i.e. it can not return to advertising).
I think HCI errors are an internal ESP32-NimBLE ...
Search found 21 matches
- Thu Feb 19, 2026 11:17 pm
- Forum: ESP-IDF
- Topic: ESP32-C5 NimBLE crashes
- Replies: 0
- Views: 153
- Mon Jan 09, 2023 9:51 pm
- Forum: ESP-IDF
- Topic: ESP32-C3 Flashing fails part way
- Replies: 4
- Views: 8297
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
- Mon Jan 09, 2023 9:50 pm
- Forum: Hardware
- Topic: idf.py flash fails after flashing 93%
- Replies: 4
- Views: 4560
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 ...
Holding IO9 low solved the problem.
Now it is back to normal and can be flashed like usual.
My ...
- Mon Jan 09, 2023 9:35 pm
- Forum: ESP-IDF
- Topic: ESP32-C3 Stuck waiting for download
- Replies: 8
- Views: 18438
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.
- Sun Jan 08, 2023 8:23 pm
- Forum: ESP-IDF
- Topic: ESP32-C3 Stuck waiting for download
- Replies: 8
- Views: 18438
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 ...
- Thu Dec 22, 2022 1:52 am
- Forum: ESP-IDF
- Topic: ESP32-C3 Flashing fails part way
- Replies: 4
- Views: 8297
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 ...
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 ...
- Wed Dec 21, 2022 10:57 pm
- Forum: ESP-IDF
- Topic: ESP32-C3 Flashing fails part way
- Replies: 4
- Views: 8297
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 ...
- Wed Dec 21, 2022 7:39 pm
- Forum: ESP-IDF
- Topic: ESP32-C3 Stuck waiting for download
- Replies: 8
- Views: 18438
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 ...
- Tue Dec 20, 2022 7:42 pm
- Forum: ESP-IDF
- Topic: ESP32-C3 Stuck waiting for download
- Replies: 8
- Views: 18438
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 ...
- Tue Dec 20, 2022 1:27 am
- Forum: ESP-IDF
- Topic: ESP32-C3 Stuck waiting for download
- Replies: 8
- Views: 18438
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 ...
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 ...