Spontaneous reboot.

BivvyCoder
Posts: 23
Joined: Sun Jan 28, 2024 5:20 pm

Spontaneous reboot.

Postby BivvyCoder » Tue Feb 11, 2025 1:48 pm

My code has started spontaneously rebooting.
ESP32-S3 with code developed using the Espressif IDF in VSCode

Examples include:

Code: Select all

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x4037bbba
--- 0x4037bbba: esp_cpu_wait_for_intr at C:/Users/chris/esp/v5.4/esp-idf/components/esp_hw_support/cpu.c:64

SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2810,len:0x15a0
load:0x403c8700,len:0x4
load:0x403c8704,len:0xd20
load:0x403cb700,len:0x2ee4
entry 0x403c8928
I (26) boot: ESP-IDF v5.4 2nd stage bootloader
and

Code: Select all

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40375d20
--- 0x40375d20: esp_restart_noos at C:/Users/chris/esp/v5.4/esp-idf/components/esp_system/port/soc/esp32s3/system_internal.c:160

SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2810,len:0x15a0
load:0x403c8700,len:0x4
load:0x403c8704,len:0xd20
load:0x403cb700,len:0x2ee4
entry 0x403c8928
I'm trying to work out how to analyse what is going wrong.
Project is configured to stop on Panic and do a core dump (originally to UART but now to Flash), however the ESP32 is rebooting with no evidence of a core dump.

Two questions:
1. How can I get the chip to provide a core dump / call stack so I can find the problematic corner of my code?
2. What tool should I use to analyse the problem.

Who is online

Users browsing this forum: No registered users and 149 guests