Help with coredump; using saved downloaded core file not working as expected
Posted: Thu Aug 24, 2023 3:23 pm
My coredump is set to save as an ELF image to a flash partition (ESP32-C3, IDF v5.1).
I can create a panic and successfully get the coredump info from the device using the following command:
The above command connects to the device in boot mode, fetches the ELF from the partition, saves it to disk (-s option), then examines it and prints the info.
In the field, I want to upload the image myself and process it offline. The "coredump-info" command has a "--core" option that is supposed to take the downloaded file and use that INSTEAD of going to the device and getting the coredump contents.
However, when I issue the following command it ALWAYS tries to go to the device (COM port) and will NEVER use the file supplied (which IT saved previously). There is also NO debug/prints to tell you what/why it's not using it:
Can someone enlighten me as to why this is happening?
According to this help page https://docs.espressif.com/projects/esp ... _dump.html, I should be able to do just this (albeit from a Serial port dump); I've even tried b64 encoding it to no avail (though I did check the Python and it will recognize ELF format).
I can create a panic and successfully get the coredump info from the device using the following command:
Code: Select all
idf.py coredump-info -s core.elf --gdb-timeout-sec 30
In the field, I want to upload the image myself and process it offline. The "coredump-info" command has a "--core" option that is supposed to take the downloaded file and use that INSTEAD of going to the device and getting the coredump contents.
However, when I issue the following command it ALWAYS tries to go to the device (COM port) and will NEVER use the file supplied (which IT saved previously). There is also NO debug/prints to tell you what/why it's not using it:
Code: Select all
idf.py coredump-info --core core.elf
According to this help page https://docs.espressif.com/projects/esp ... _dump.html, I should be able to do just this (albeit from a Serial port dump); I've even tried b64 encoding it to no avail (though I did check the Python and it will recognize ELF format).