esp-coredump.py of binary file
Posted: Mon May 13, 2024 10:38 am
Has anybody ever taken a binary file that is an image of the coredump partition and been able to decode it using esp-coredump.py?
We use Arduino development environment under vscode so I know the results will not be as robust as if they were built with idf.py. I would love to get anything.
What I have done
Installed ESP-IDF under vscode following the instructions here (https://github.com/espressif/vscode-esp ... install.md)
pip install esp-coredump
Went to the esp-idf subdirectory and executed install.bat and export.bat
Lopped the first 20 bytes off of the binary dump file (or else I get parsing expected b'\x7fELF' but parsed b'dS\x00\x00')
I execute either or
They result with
We use Arduino development environment under vscode so I know the results will not be as robust as if they were built with idf.py. I would love to get anything.
What I have done
Installed ESP-IDF under vscode following the instructions here (https://github.com/espressif/vscode-esp ... install.md)
pip install esp-coredump
Went to the esp-idf subdirectory and executed install.bat and export.bat
Lopped the first 20 bytes off of the binary dump file (or else I get parsing expected b'\x7fELF' but parsed b'dS\x00\x00')
I execute either
- python3 espcoredump.py dbg_corefile out.dump
- python3 espcoredump.py info_corefile out.dump
- WARNING: C:\Users\r_g_v\esp\v5.3\esp-idf\components\espcoredump\project_description.json does not exist. Please build the app with "idf.py build"
- Please set up ESP-IDF to complete the action. Read more: https://github.com/espressif/esp-coredump/blob/master/README.md#installation