Hi,
I'am trying to debugg a program loaded into a freescale M52233DEMO evaluation board.
I'am starting GDB and than connects to the ev-board using the following command:
target remote | m68k-elf-cfpe-stub -d USBMultilink -t m52235evb
I can than communicate with the board using different GDB commands. I can view memory and register content, disassemble, set and view breakpoints. So it seams to work ok. But! At this stage I se that my programcounter is pointing att some odd point in memory. Probably due to some bug in my program. Than I want to set a breakpoint and restart the program, and as beginner at using GDB I found in the manual that this is done using the 'run' command. But then I get:
" (gdb) b start Breakpoint 6 at 0x408: file system/crt0.S, line 54. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y
Starting program: C:\Projects\Test/test.elf Don't know how to run. Try "help target". "
And after this I have no conntact with my board any more.....
Why!? What to do? (And obviously, I have tried "help target", but now help there. I did use the target command to connect to the board).
Any help highly appreciated!
Rgds, Mats