Coredump

Ritesh
Posts: 1383
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: Coredump

Postby Ritesh » Mon Mar 08, 2021 3:59 am

Simran wrote:
Sat Mar 06, 2021 9:55 am
hi urbanze,
I have gone through this forum,I want to store crash code into esp32 flash.i am using arduino ide..esp idf master.Can you help me to write core dump to flash?How are the steps and how to config in sdkconfig at windows level.Can you share piece of code for writing core dump to flash?

Thanks you.
Hello Simran,

Have you tried ways which have been explained into last post? Because it has been mentioned into sdkconfig to configure coredump for storage and debugging purpose.
Regards,
Ritesh Prajapati

Simran
Posts: 2
Joined: Sat Mar 06, 2021 9:47 am

Re: Coredump

Postby Simran » Fri Mar 12, 2021 8:03 am

ESP_Sprite wrote:
Tue Mar 19, 2019 12:40 pm
The coredump is written to a partition; you could read out that partition on the ESP32 and e.g. send its contents off to a server.

Hi ,
I want to write core dump to flash using esp32 via arduino ide.i have enable in sdkconfig ,creat partition also but not writing.. can you guide me step by step how to configure and core dump to flash after code crashed?

Thank you.

markevens
Posts: 38
Joined: Sat Aug 01, 2020 6:31 am

Re: Coredump

Postby markevens » Mon Jun 06, 2022 5:40 am

Hello, I have explained how to store core dump in flash and read from flash and how to send it on the server.
https://medium.com/@markevens36/esp-idf ... 4064d1af6f

Ritesh
Posts: 1383
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: Coredump

Postby Ritesh » Sun Jun 12, 2022 11:10 am

markevens wrote:
Mon Jun 06, 2022 5:40 am
Hello, I have explained how to store core dump in flash and read from flash and how to send it on the server.
https://medium.com/@markevens36/esp-idf ... 4064d1af6f
Hello,

Thanks for sharing it which will be helpful for others in case if required for crash dump to store into flash memory and to send over remote location.
Regards,
Ritesh Prajapati

WildPointer
Posts: 4
Joined: Sat May 04, 2024 4:24 pm

Re: Coredump

Postby WildPointer » Sat May 04, 2024 8:41 pm

hello urbanze, thanks for sharing.
Could you elaborate more on how to do what you mention in point 4?
After I converte the hex data to b64 how should I save the file and what exactly is PROJECT .ELF PATH?
urbanze wrote:
Mon Mar 25, 2019 3:50 pm

4. After all print occur, I drag this in hex -> b64 converter, save in file and use: espcoredump.py info_corefile -c COREDUMP PATH -t b64 -rom-elf PROJECT .ELF PATH
Thanks

Who is online

Users browsing this forum: **txf** and 100 guests