Page 1 of 1

[Video] ESP32 - Using the core dump

Posted: Sun Feb 05, 2017 8:09 pm
by kolban
The core dump feature in the ESP32 and ESP-IDF provides the ability to determine where an application failed following a crash. This tutorial video illustrates using the core dump functions.

https://www.youtube.com/watch?v=MpD_3oVJAEs

Re: [Video] ESP32 - Using the core dump

Posted: Mon Feb 06, 2017 8:18 am
by jumjum123
One more great video. Thanks a lot for this help.

Re: [Video] ESP32 - Using the core dump

Posted: Wed Feb 08, 2017 2:42 pm
by OguzKerem
Thanks a lot, but there is no such an option in my menuconfig secreen. Is it about the sdkconfig file or sdk version?

Re: [Video] ESP32 - Using the core dump

Posted: Wed Feb 08, 2017 4:43 pm
by kolban
Howdy OguzKerem,
My first thought is to ask you what "version" of the ESP-IDF are you using?

The ESP-IDF is the SDK (development kit) for building ESP32 applications. It is available for download from Github here ...

https://github.com/espressif/esp-idf

Espressif provides "releases" every period and these are "named" such as 1.0, 2.0 RC1 etc etc

However, beyond the releases, you can also download the current "master" which is the "best so far" of the ESP-IDF. That is what I use when working with the ESP32. The core-dump functions were added in the last 2-6 weeks (sorry, can't remember the date). What that means is that if you are using an earlier release or a download of ESP-IDF prior to that, you won't find the "new" core dump functions.

Let me know if this helps.

Neil

Re: [Video] ESP32 - Using the core dump

Posted: Tue Feb 14, 2017 2:23 pm
by OguzKerem
Hello,

It is working now. Thanks a lot for your answer.

Re: [Video] ESP32 - Using the core dump

Posted: Fri Mar 10, 2017 5:23 pm
by enitalp
Since some time, i'm not able to use a core dump :

Growing up stacks are not supported for now!

Did i changed a configuration somewhere is shouldn't have touched ?

Thanks

Re: [Video] ESP32 - Using the core dump

Posted: Fri Mar 10, 2017 5:43 pm
by kolban
Without knowing more about your configuration of the symptoms you are experiencing, it isn't easy to offer any advice or guidance. If you wish, please post back with more details of the nature of the problem. The coredump configuration is controlled by the setting in "make menuconfig". The formal documentation on the coredump feature can be found here:

http://esp-idf.readthedocs.io/en/latest/core_dump.html

Re: [Video] ESP32 - Using the core dump

Posted: Fri Mar 10, 2017 7:12 pm
by enitalp
Hi

So i get a Dump in the console, put it in a file, and launch :

Code: Select all

python C:/ESP32-IDK-SDK/esp-idf/components/espcoredump/espcoredump.py info_corefile -t b64 -c D:/Dump.ESP32 F:/FunHouse/imagine/Main/ESP32/build/Imagine.elf
and i get :

Code: Select all

espcoredump.py v0.1-dev
Growing up stacks are not supported for now!
Failed to create corefile!
Previously it was working. before i changed to the latest esp32-idf and toolchain.
I searched in the make menuconfig. an option that could be related. but didn't found anything.