[coldfire-gnu-discuss] Debugging from flash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[coldfire-gnu-discuss] Debugging from flash



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@xxxxxxxxxxxxxxx <mailto:corrin.meyer@xxxxxxxxxxxxxxx>  
  
3445 Lake Eastbrook Blvd. SE 
Grand Rapids, MI 49546