I use OpenOCD 0.4.0 with Eclipse + yargato + ARM-USB-TINY-H(von Olimex) + AT91SAM7X256 +
ARM-elf-GCC + Zylin embedded debug.
It seems that it is almost working. I invoke in Eclipse under Run->External Tools a tool that I set up and get the following output in the Eclipse console:
Open On-Chip Debugger 0.4.0 (2010-11-23-14:20)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
15000 kHz
jtag_nsrst_delay: 200
jtag_ntrst_delay: 200
srst_only srst_pulls_trst srst_gates_jtag srst_open_drain
Info : max TCK change to: 30000 kHz
Info : clock speed 15000 kHz
Info : JTAG tap: sam7x256.cpu tap/device found: 0x3f0f0f0f (mfg: 0x787, part: 0xf0f0, ver: 0x3)
Info : Embedded ICE version 1
Info : sam7x256.cpu: hardware has 2 breakpoint/watchpoint units
This looks promising to me. I can log into telnet with the command “telnet localhost 4444” and execute a few commands. But am not sure how to associate the output with my source code. How do I have to set up my debugger in Eclipse? What does the following line mean?
Info : JTAG tap: sam7x256.cpu tap/device found: 0x3f0f0f0f (mfg: 0x787, part: 0xf0f0, ver: 0x3)
Thank you very much for any pointers!