Hi Øyvind

Is it possible to use OpenOCD to create a "core" file
for later post mortem analysis with gdb?

Some of these parts are so small, so why not record the memory
sram contents every time you halt? :-)


That is a cool idea as well :)

My idea here was a little bit simple.
Let's say I would like to do some a long time testing,
and if the mcu detects a error I dump the state and reset and begin again.
Then when I return I can have a look at what happened,
or if all was well during this test.

So my idea was to create a "core file",
when I detect something wrong.

I'm not sure about how the the elf syntax for this type of file,
and what kind of other data I should put in there (like registers).

By the way, this is for a stm32.

Thanks
Johan

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to