Coldfire 52235evb debug problem
Roberto Abbiati
RobertoAbbiati at bertronic.it
Wed Jan 14 13:38:12 UTC 2009
Hi,
I'm using eclipse and Sourcery G++ Lite Edition with a coldfire EVM. I
have used the FREERTOS code (Coldfire V2 RTOS and TCP/IP Demo).
I can build the project and download the program in flash memory using
freescale's "CF Flasher 3.1".
Problems arise when I try to debug the code.
To identify the problem, I have used the command prompt console and text
commands. The steps are:
1/ m68k-elf-gdb RTOSDemo.elf
RESPONSE:
GNU gdb (Sourcery G++ Lite 4.3-54) 6.8.50.20080821-cvs
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show
copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-mingw32 --target=m68k-elf".
For bug reporting instructions, please see:
<https://support.codesourcery.com/GNUToolchain/>...
2/ (gdb) target remote | m68k-elf-sprite pe://USBMultilink m52235evb
RESPONSE:
Remote debugging using | m68k-elf-sprite pe://USBMultilink m52235evb
m68k-elf-sprite: Opening P&E USBMultilink port 1 (USB1 : USB-ML-CF REF :
Future
MCF5223xPoE Badge (PE6011471))
m68k-elf-sprite: Target reset
0x00000000 in __cs3_interrupt_vector_coldfire ()
3/ (gdb) c
Continuing.
RESPONSE:
Program received signal SIGTRAP, Trace/breakpoint trap.
0x0000000a in __cs3_interrupt_vector_coldfire ()
If I try to continue, I always obtain this kind of response.
Instead, if I try the step command:
(gdb) step
RESPONSE:
Single stepping until exit from function
__cs3_interrupt_vector_coldfire,
which has no line number information.
and the program waits forever, so I must close the command prompt shell.
Could anyone help me?
Thanks
Roberto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/coldfire-gnu-discuss/attachments/20090114/b5d4b155/attachment.html>
More information about the coldfire-gnu-discuss
mailing list