Debugging from flash
Corrin Meyer
Corrin.Meyer at dornerworks.com
Fri Sep 5 20:20:08 UTC 2008
I am using the P&E Micro flash utility (CPROGCFZ) to flash the ColdFire
on the board I am working on. I would like to be able to debug the
running program using GDB. The problem is that the error I am getting
is right at boot and since the USB device can't be claimed by both the
P&E Micro utility and the m68k-elf-sprite at the same time I have to
first flash it and then connect GDB to it but by that time it has
already run into the error.
I need to be able to tell the program to restart. Normally I would just
do a 'load' command within GDB but that will only work when running from
RAM. Is there anyway to restart a program that is already running in
flash? I can't do a reset as then breakpoint set by GDB is cleared, it
needs to be a software reset issued by GDB.
Corrin J. Meyer
DornerWorks, Ltd.
Embedded Systems Engineering
T: 616.389.8336
F: 616.245.8372
E: corrin.meyer at dornerworks.com <mailto:corrin.meyer at dornerworks.com>
3445 Lake Eastbrook Blvd. SE
Grand Rapids, MI 49546
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/coldfire-gnu-discuss/attachments/20080905/20fb4b90/attachment.html>
More information about the coldfire-gnu-discuss
mailing list