Search found 8 matches

by ESP-erhankur
Fri Mar 22, 2024 1:46 pm
Forum: ESP-IDF
Topic: How do I use espcoredump.py on binary coredump?
Replies: 9
Views: 2387

Re: How do I use espcoredump.py on binary coredump?

In the meantime, I have tested together IDF v4.4 + esp-coredump 0.4.0 with the binary and elf formatted coredump data. Both are ok for me. I didn't need to trim the header using the 'raw' type espcoredump.py info_corefile -t raw -c core.elf build/blink.elf espcoredump.py info_corefile -t raw -c core...
by ESP-erhankur
Fri Mar 22, 2024 9:32 am
Forum: ESP-IDF
Topic: How do I use espcoredump.py on binary coredump?
Replies: 9
Views: 2387

Re: How do I use espcoredump.py on binary coredump?

Is it possible to send your decoded coredump file? You can create an issue here and attach the file. https://github.com/espressif/esp-coredump Or, if you can create an app to reproduce the issue, it would be perfect. Looks like something is broken in the crashed task TCB/stack and can not be parsed ...
by ESP-erhankur
Thu Mar 21, 2024 10:43 am
Forum: ESP-IDF
Topic: How do I use espcoredump.py on binary coredump?
Replies: 9
Views: 2387

Re: How do I use espcoredump.py on binary coredump?

And what happens when you try to run the below command without trimming the header part?

Code: Select all

espcoredump.py --chip esp32 info_corefile -c core.elf -t raw your_app_elf
by ESP-erhankur
Thu Mar 21, 2024 10:05 am
Forum: ESP-IDF
Topic: How do I use espcoredump.py on binary coredump?
Replies: 9
Views: 2387

Re: How do I use espcoredump.py on binary coredump?

At the beginning of the coredump elf file, there is a header part which is 20 Bytes in IDF-4.4. You have to trim that part before passing it to the espcoredump.py On linux, something like; dd bs=20 skip=1 if=core.elf of=trimmed.elf Then; espcoredump.py --chip esp32 info_corefile -c trimmed.elf -t el...
by ESP-erhankur
Wed Nov 01, 2023 10:16 pm
Forum: IDEs for ESP-IDF
Topic: Unable to start debug session on Espressif IDE
Replies: 4
Views: 28680

Re: Unable to start debug session on Espressif IDE

I gave a try with Jlink-EDU which has v10 firmware and seems no issue for me. I have used hello-world example. Adapter speed is 5000khz. 100khz is pretty slow and that is the reason you are getting some timeout warnings. Debugger config options; -s ${openocd_path}/share/openocd/scripts -c 'adapter s...