Hi
I use the following setup:
Amontec JTAGTiny Interface
Yagarto downloaded from the amontec homepage
Olimex SAM7-Pxxx Bpard with AT91SAM7S64 MCU.
I used the tutorial from j.lynch to start. I used the
“demo_at91sam7_p64_blink_ram” project.
When I try to start the debuger I get this output:
204-gdb-set confirm off
204^done
(gdb)
205-gdb-set width 0
205^done
(gdb)
206-gdb-set height 0
206^done
(gdb)
207-interpreter-exec console echo
207^done
(gdb)
208-gdb-show prompt
208^done,value="(gdb) "
(gdb)
209-stack-list-frames
&"No registers.\n"
209^error,msg="No registers."
(gdb)
No registers.
210-environment-directory "C:/Dokumente und Einstellungen/Tilo Lutz/workspace/demo_at91sam7_p64_blink_ram" "C:/Dokumente und Einstellungen/Tilo Lutz/workspace/demo_at91sam7_p64_blink_ram/.settings"
210^done,source-path="C:/Dokumente und Einstellungen/Tilo Lutz/workspace/demo_at91sam7_p64_blink_ram;C:/Dokumente und Einstellungen/Tilo Lutz/workspace/demo_at91sam7_p64_blink_ram/.settings;$cdir;$cwd"
(gdb)
211 info threads
&"info threads\n"
&"No registers.\n"
211^error,msg="No registers."
(gdb)
212-data-list-register-names
212^done,register-names=["r0","r1","r2","r3","r4","r5","r6","r7","r8","r9","r10","r11","r12","sp","lr","pc","f0","f1","f2","f3","f4","f5","f6","f7","fps","cpsr"]
(gdb)
213-break-insert main
target remote localhost:3333
213^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x0020016c",func="main",file="main.c",fullname="C:/Dokumente und Einstellungen/Tilo Lutz/workspace/demo_at91sam7_p64_blink_ram/main.c",line="60",times="0"}
(gdb)
214-break-insert -t main
214^done,bkpt={number="2",type="breakpoint",disp="del",enabled="y",addr="0x0020016c",func="main",file="main.c",fullname="C:/Dokumente und Einstellungen/Tilo Lutz/workspace/demo_at91sam7_p64_blink_ram/main.c",line="60",times="0"}
(gdb)
215 target remote localhost:3333
&"target remote localhost:3333\n"
~"0x0000058c in ?? ()\n"
0x0000058c in ?? ()
215^done
(gdb)
216 monitor soft_reset_halt
&"monitor soft_reset_halt\n"
monitor soft_reset_halt
@"requesting target halt and executing a soft reset\n"
216^done
(gdb)
217 monitor mww 0xFFFFFF00 0x01
&"monitor mww 0xFFFFFF00 0x01\n"
monitor mww 0xFFFFFF00 0x01
217^done
(gdb)
218 monitor reg pc 0x00000000
&"monitor reg pc 0x00000000\n"
monitor reg pc 0x00000000
@"pc (/32): 0x00000000\n"
218^done
(gdb)
219 monitor arm7_9 sw_bkpts enable
&"monitor arm7_9 sw_bkpts enable\n"
monitor arm7_9 sw_bkpts enable
@"software breakpoints enabled\n"
219^done
(gdb)
220 break main
&"break main\n"
~"Breakpoint 3 at 0x20016c: file main.c, line 60.\n"
Breakpoint 3 at 0x20016c: file main.c, line 60.
220^done
(gdb)
221 load main
break main
&"load main\n"
&"main: No such file or directory.\n"
221^error,msg="main: No such file or directory."
(gdb)
222 continue
load main
main: No such file or directory.
&"continue\n"
continue
Eclipse hangs at: “Launching: (20%)”
I have basic knowledge how to create a Makefile and basic compiler usage but I’m a newbee in debugging.
Anybody has a clue what is wrong?
Debug from flash is working with the flash example.