Boot loop on ESP32-C3
See original GitHub issueI am using the feature/arduino-idf-master
and the arduino
framework for ESP32-C3. At one point this used to work, but sometime in early August it seems something broke. Today I had a chance to look a bit more closely, and it seems that the current board config for esp32-c3-devkitm-1
leads to a boot loop (at least on my board):
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x10 (RTCWDT_RTC_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:QIO, clock div:1
load:0x3fcd6100,len:0x1428
ets_loader.c 78
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x7 (TG0WDT_SYS_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x40049a42
SPIWP:0xee
mode:QIO, clock div:1
load:0x3fcd6100,len:0x1428
ets_loader.c 78
It seems that using DIO
via:
board_build.flash_mode = dio
does resolve the issue. I am pretty sure however that QIO at one point worked…
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:20 (2 by maintainers)
Top Results From Across the Web
ESP32C3 forever loop at boot - ESP32 Forum
I have a custom board on ESP32C3, with possibility to fall into a deep sleep by external signal. As a source for power...
Read more >ESP32-C3 boot loop 2MB flash - Home Assistant Community
Hi there! Setup: ESPHome v2022.9.1 docker I've recently bought an ESP32-C3 board thinking it would be as easy to connect as my other...
Read more >Boot Mode Selection - ESP32-C3 - Espressif Systems
In Linux serial ports by default will assert RTS when nothing is attached to them. This can hold the ESP32-C3 in a reset...
Read more >ESP32 S3 continuously resetting instead of printf'ing anything
Try what's said in Boot loop on ESP32-C3 · Issue #622 · platformio/platform-espressif32 · GitHub, aka adding board_build.flash_mode = dio.
Read more >ESP32 C3 Boot loop "SHA-256 arduino ide comparison failed ...
I updated all the pins to my new configuration (missed a few the first time) but when the C3 tries to boot, it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lukedukeus setting
board_build.flash_mode
explicitly works around the problem:@andychess Seems the board uses the inbuilt USB modem (CDC). Use a C3 boards json which is a CDC device too, or set the mode to use CDC for serial output manually.