Open SuomiKP opened 1 week ago
it's OK if you get this error. it should not prevent your sketch to run. You can erase flash to get rid of it
it's OK if you get this error. it should not prevent your sketch to run. You can erase flash to get rid of it
I tried wiping the flash to get rid of it, but the ESP still reboots.
ESP-ROM:esp32s3-2021032 Build:Mar 27 2021 rst:0x3 (RTC_SW_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT) Saved PC:0x40377258 SPIWP:0xee mode:DIO, clock div:1 load:0x3fce3818,len:0xf88 load:0x403c9700,len:0x4 load:0x403c9704,len:0xa14 load:0x403cc700,len:0x2d64 entry 0x403c988c
please compile with core debug level Verbose. There is another reason why your board reboots
I have a similar issue - probably the same issue.
My update routine copies a compiled firmware file into LittleFS and then uses the Update library to upgrade the module software from this file. Update code is pretty much identical to the examples included with the library.
void updateFirmware() {
events.send("Firmware upgrade started.", "messagecr", millis());
File file = LittleFS.open("/firmware.bin", "r");
if (file) {
size_t updatesize = file.size();
if (Update.begin(updatesize)) {
size_t written = Update.writeStream(file);
if (Update.end()) {
if (Update.isFinished()) {
events.send("Firmware update completed successfully. Click 'Reboot' to restart.", "messagecr", millis());
}
else {
events.send("ERROR: Update not finished - something went wrong!", "messagecr", millis());
}
}
else {
events.send("ERROR: Error Occurred. Error #: " + Update.getError(), "messagecr", millis());
}
}
else {
events.send("ERROR: Not enough space in flash.", "messagecr", millis());
}
}
else {
events.send("ERROR: Can't open firmware file.", "messagecr", millis());
}
file.close();
}
The upgrade works fine. The sketch runs fine. No issues.
However I get the following on boot:
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:4832
load:0x40078000,len:16460
load:0x40080400,len:4
load:0x40080404,len:3504
entry 0x400805cc
E (579) esp_core_`fW}���͡� Core dump data check failed:
Calculated checksum='852ee0a8'
Image checksum='ffffffff'
If I update over serial and use the 'erase flash' option then the issue goes away. But once i do my code update it comes back.
My partition table is:
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x330000,
app1, app, ota_1, 0x340000,0x330000,
spiffs, data, spiffs, 0x670000,0x360000,
coredump, data, coredump,0x9d0000,0x10000,
Board
XIAO ESP32S3
Device Description
None
Hardware Configuration
XIAO ESP32S3 Sense card slot occupies 14 GPIOs with SD card and camera modul
Version
v3.0.6
IDE Name
Ardiuno IDE
Operating System
Window 10
Flash frequency
DIO 80MHz
PSRAM enabled
yes
Upload speed
921600
Description
When encountering Core dump data check failed, it shows that ESP32-S3 has a core dump error. Tried the following but couldn't improve it
Try lowering the resolution or JPEG quality of FRAMESIZE_UXGA to FRAMESIZE_SXGA or FRAMESIZE_XGA and setting jpeg_quality to between 12-15.
Set the framebuffer to fb_count = 1.
Reduce config.xclk_freq_hz = 20000000 to 10000000,
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide