[Video] ESP32 - Using the core dump

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

[Video] ESP32 - Using the core dump

Postby kolban » Sun Feb 05, 2017 8:09 pm

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
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

jumjum123
Posts: 199
Joined: Mon Oct 17, 2016 3:11 pm

Re: [Video] ESP32 - Using the core dump

Postby jumjum123 » Mon Feb 06, 2017 8:18 am

One more great video. Thanks a lot for this help.

OguzKerem
Posts: 2
Joined: Thu Jan 12, 2017 7:42 am

Re: [Video] ESP32 - Using the core dump

Postby OguzKerem » Wed Feb 08, 2017 2:42 pm

Thanks a lot, but there is no such an option in my menuconfig secreen. Is it about the sdkconfig file or sdk version?

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: [Video] ESP32 - Using the core dump

Postby kolban » Wed Feb 08, 2017 4:43 pm

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
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

OguzKerem
Posts: 2
Joined: Thu Jan 12, 2017 7:42 am

Re: [Video] ESP32 - Using the core dump

Postby OguzKerem » Tue Feb 14, 2017 2:23 pm

Hello,

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

enitalp
Posts: 60
Joined: Thu Jan 12, 2017 10:03 pm

Re: [Video] ESP32 - Using the core dump

Postby enitalp » Fri Mar 10, 2017 5:23 pm

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

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: [Video] ESP32 - Using the core dump

Postby kolban » Fri Mar 10, 2017 5:43 pm

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
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

enitalp
Posts: 60
Joined: Thu Jan 12, 2017 10:03 pm

Re: [Video] ESP32 - Using the core dump

Postby enitalp » Fri Mar 10, 2017 7:12 pm

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.

Who is online

Users browsing this forum: No registered users and 25 guests