ESP32-S3 ROM Bootloader Crash
Posted: Thu Aug 31, 2023 10:32 pm
I am trying to get my OTG app (TinyUSB) to reboot into SERIAL/JTAG bootload mode on my ESP32-S3. I am using the 5.0 branch of IDF.
So far I have been able to get it to reliably reboot into bootload but as soon as the ROM bootloader starts I get this "Core 0 panic'ed" error. Any ideas as to what is causing this? Is there something special I need to do to reset the USB peripheral back to Serial/JTAG mode before I reboot?
Thanks for the help.
So far I have been able to get it to reliably reboot into bootload but as soon as the ROM bootloader starts I get this "Core 0 panic'ed" error. Any ideas as to what is causing this? Is there something special I need to do to reset the USB peripheral back to Serial/JTAG mode before I reboot?
Thanks for the help.
Code: Select all
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0x2 (DOWNLOAD(USB/UART0))
Saved PC:0x40375ba9
waiting for download
Guru Meditation Error: Core 0 panic'ed (LoadProhibited)
Core 0 register dump:
PC : 0x400511b1 PS : 0x00060330 A0 : 0x80049188 A1 : 0x3fceb640
A2 : 0x00000000 A3 : 0x3ff1e3fb A4 : 0x00000001 A5 : 0x00000000
A6 : 0x00000000 A7 : 0x00000088 A8 : 0x800533dc A9 : 0x3fceb620
A10 : 0xfffffffb A11 : 0x3fceeebc A12 : 0x3fceefbc A13 : 0x00000000
A14 : 0x00000000 A15 : 0x00000006 SAR : 0x0000000f EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000000 LBEG : 0x400570e8 LEND : 0x400570f3 LCOUNT : 0x00000000
Backtrace: 0x400511b1:0x3fceb640 0x40049185:0x3fceb670 0x400491e5:0x3fceb690 0x40043917:0
x3fceb6b0 0x4004392a:0x3fceb6d0 0x40043c33:0x3fceb6f0 0x40034c45:0x3fceb710