code that was working just fine in ESP32-WROOM
is not working 100% correctly in ESP32-S3-WROOM
IDF 4.4
logging via USB/JTAG
randomly get a restart:
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0xa (SPI_FAST_FLASH_BOOT)
Saved PC:0x40375b28
0x40375b28: esp_restart_noos at C:/Users/mitchjs/esp-v44x/esp-idf/components/esp_system/port/soc/esp32s3/system_internal.c:143 (discriminator 1)
area of code works most of the time, then sometimes the restart
(it happens way too much)
any ideas?
mitch
ESP32-s3-wroom random reboot: rst:0xc (RTC_SW_CPU_RST)
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32-s3-wroom random reboot: rst:0xc (RTC_SW_CPU_RST)
The fact that the last PC is at a reboot routine indicates that this is likely a crash rather than a sudden restart. The only advise I have is to select USB-JTAG as the *primary* console in menuconfig if you haven't yet (by default it's the secondary console); that should give you a proper crash dump.
Re: ESP32-s3-wroom random reboot: rst:0xc (RTC_SW_CPU_RST)
bingo.. console setting... made usb/jtag the primary
now i got useful message, the usual stack overflow in a task
thanks for your help!
now i got useful message, the usual stack overflow in a task
thanks for your help!
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32-s3-wroom random reboot: rst:0xc (RTC_SW_CPU_RST)
Glad you found the cause!
Who is online
Users browsing this forum: Corand, Google [Bot], QQ26750452 and 76 guests