Open zekageri opened 1 year ago
Did you upgrade the firmware from an earlier version of arduino-esp32? I know at some point the partition defaults changed to add coredump
. This can cause corruption until the chip is completely erased and re-written. I recently added partition settings to my project because of that.
I did not. Always using the latest stable. This firmware ( which crashed) was updated like a month ago.
I thought that core dump is not even possible in Arduino
Apparently it's called ESP Insights. https://github.com/espressif/arduino-esp32/pull/7566/files. Added Dec 22, 2022. Release v2.0.6.
Well. I can't find any doc how to use it under arduino. Interesting
@zekageri How can we help?
I wonder how my sketch got here and why it is wanted to read/write to a partition which does not exists and not configured at all, to avoid it in the future, or to be able to initialize this feature so it can not crash next time.
It seems I have a similar problem, but it doesn't bother me yet, because the ESP32 microcontroller works as it should.
If you use the standard settings (ESP32-WROOM-DA Module) The Flash Frequency is set to 80Mhz - you need to change it to 40MHz and Flash size to 16Mb (or what your board has) That worked for me
Board
ESP32-Wrover-E
Device Description
ESP32 Wrover-E, 8MB psram, 16mb flash
Hardware Configuration
Lan8720 psram i2c spi
Version
latest master (checkout manually)
IDE Name
PlatformIO
Operating System
Windows 11
Flash frequency
80mhz
PSRAM enabled
yes
Upload speed
115200
Description
My application worked for more than a year now. There was occasional updates but nothing serious.
I have no partition for esp_core_dump. My partition table is the default large_spiffs_16MB.csv.
My PIO ini file looks like this:
My sketch does not contain any logic to retrive the core dump from the flash, since i don't use it.
I had the following core dump too:
esp_corf Eյ } ͡ Incorrect size of core dump image: 1601512059
My case is similart to this https://www.esp32.com/viewtopic.php?t=13899 And this https://github.com/HomeSpan/HomeSpan/discussions/490
My sketch never recovers from this and just keeps rebooting.
Sketch
Debug Message
Other Steps to Reproduce
Can't
I have checked existing issues, online documentation and the Troubleshooting Guide