SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By RiccardoF
#194799
Hi all!
I'm a newbie of this topic,
I have a bricked jlink clone wit an atmel at91sam7s64 where i have to flash the firmware.
I also have a olimex arm-usb-tiny to connect via jtag to the at91sam7s64.
I've already stetted up the environment, a pc wit linux mint, open ocd installed and a openocd cgf for the olimex.
thecfg is the following:
Code: Select all
interface ftdi
ftdi_device_desc "Olimex OpenOCD JTAG TINY"
ftdi_vid_pid 0x0403 0x6010

ftdi_layout_init 0x0808 0x0a1b
ftdi_layout_signal nSRST -oe 0x0200
ftdi_layout_signal nTRST -data 0x0100 -oe 0x0100
ftdi_layout_signal LED -data 0x0800
adapter_khz 18432
at the moment i can connect to the at91sam7s64 using
Code: Select all
sudo openocd -f /home/riccardo/Desktop/olimex-arm-usb-tiny-h.cfg -f/usr/local/share/openocd/scripts/target/at91sam7sx.cfg
and the response is:
Code: Select all
Open On-Chip Debugger 0.10.0
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
adapter speed: 18432 kHz
srst_only srst_pulls_trst srst_gates_jtag srst_open_drain connect_deassert_srst
Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.
Info : ftdi: if you experience problems at higher adapter clocks, try the command "ftdi_tdo_sample_edge falling"
Info : clock speed 18432 kHz
Info : JTAG tap: at91sam7s.cpu tap/device found: 0x3f0f0f0f (mfg: 0x787 (<unknown>), part: 0xf0f0, ver: 0x3)
Info : Embedded ICE version 0
Error: unknown EmbeddedICE version (comms ctrl: 0x00000000)
Info : at91sam7s.cpu: hardware has 2 breakpoint/watchpoint units
I'm stuck at this point, i have no idea to go ahead can someone help me
thanks in advance
Riccardo
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]