Open DCSBL opened 11 months ago
Just disabled all ULP code, same result
Was able to isolate this issue to using the I2S peripheral.
Issue is triggered by using ADC-continuous. Rewrote my code to use ADC-singleshot so issue is solved for me. Keeping this open until you (espressif) decides if this issue has to be fixed for real or we can keep it at is.
Issue is triggered by using ADC-continuous. Rewrote my code to use ADC-singleshot so issue is solved for me. Keeping this open until you (espressif) decides if this issue has to be fixed for real or we can keep it at is.
Hi,I'm facing the same issue that when i call esp_restart(),the chip can not start ,but i can click reset button, it will restart fine,you mean adc-continuous is the key?How about deinit adc before calling esp_restart().
Yeah our problem was fixed when we stopped the ADC before reboot.
Yeah our problem was fixed when we stopped the ADC before reboot.
How do you stop adc continuous,I'm facing issue when calling adc_digi_stop(),
Backtrace:0x40023902:0x3ffdf1900x4002a87d:0x3ffdf1b0 0x40031469:0x3ffdf1d0 0x4002b07f:0x3ffdf2f0 0x40024ccd:0x3ffdf330 0x40024d7d:0x3ffdf360 0x400888ba:0x3ffdf380 0x40086e06:0x3ffdf3a0 0x4002d305:0x3ffdf3c0
0x40023902: panic_abort at F:/ESP-IDF/Espressif/frameworks/esp-idf-v4.4.2/components/esp_system/panic.c:402
0x4002a87d: esp_system_abort at F:/ESP-IDF/Espressif/frameworks/esp-idf-v4.4.2/components/esp_system/esp_system.c:128
0x40031469: __assert_func at F:/ESP-IDF/Espressif/frameworks/esp-idf-v4.4.2/components/newlib/assert.c:85
0x4002b07f: xQueueGenericSend at F:/ESP-IDF/Espressif/frameworks/esp-idf-v4.4.2/components/freertos/queue.c:830 (discriminator 8)
0x40024ccd: lock_release_generic at F:/ESP-IDF/Espressif/frameworks/esp-idf-v4.4.2/components/newlib/locks.c:201
0x40024d7d: _lock_release at F:/ESP-IDF/Espressif/frameworks/esp-idf-v4.4.2/components/newlib/locks.c:207
0x400888ba: adc_digi_stop at F:/ESP-IDF/Espressif/frameworks/esp-idf-v4.4.2/components/driver/adc.c:452
Answers checklist.
IDF version.
v5.1.2
Espressif SoC revision.
ESP32-D0WD-V3
Operating System used.
macOS
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32-WROOM-32E on a breakout board, no extra hardware connected.
Power Supply used.
USB
What is the expected behavior?
At some point we call
esp_restart()
. The ESP should restart without problems and the reset reason should beSW_CPU_RESET
What is the actual behavior?
esp_restart()
.RTCWDT_RTC_RESET
Steps to reproduce.
esp_restart()
.Debug Logs.
More Information.
The only differences are;
esp_restart()
CONFIG_ULP_COPROC_RESERVE_MEM=6144
set.