when analysing core dump file using espcoredump.py, with either the coredump saved to flash or b64 .dat file saved after UART print, espcoredump.py is giving the following error;
Code: Select all
home@Droid5:~/espressif/esp-idf/components/espcoredump$ python ./espcoredump.py -p/dev/ttyUSB0 info_corefile /home/home/Documents/PlatformIO/Projects/esp32_fm_drum_st/.pio/build/esp-wrover-kit/firmware.elf -r esp32_rom.elf
espcoredump.py v0.3-dev
esptool.py v2.8
Serial port /dev/ttyUSB0
Connecting........____
Chip is ESP32D0WDQ5 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 30:ae:a4:dd:58:f0
Uploading stub...
Running stub...
Stub running...
4 (100 %)
4 (100 %)
Read 4 bytes at 0x110000 in 0.0 seconds (3.7 kbit/s)...
Hard resetting via RTS pin...
esptool.py v2.8
Serial port /dev/ttyUSB0
Connecting........___
Chip is ESP32D0WDQ5 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 30:ae:a4:dd:58:f0
Uploading stub...
Running stub...
Stub running...
7932 (100 %)
7932 (100 %)
Read 7932 bytes at 0x110000 in 0.7 seconds (88.6 kbit/s)...
Hard resetting via RTS pin...
Traceback (most recent call last):
File "espcoredump.py", line 1190, in <module>
main()
File "espcoredump.py", line 1185, in main
operation_func(args)
File "espcoredump.py", line 1057, in info_corefile
p = gdbmi_start(handlers, [rom_sym_cmd])
File "espcoredump.py", line 972, in gdbmi_start
close_fds=CLOSE_FDS)
File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory