Flash bin on at91sam7s64 using olimex arm usb

Open source ARM Debugger

Moderator: phalanx

Flash bin on at91sam7s64 using olimex arm usb

Postby RiccardoF » Thu May 11, 2017 8:22 am

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
RiccardoF
 
Posts: 1
Joined: Thu May 11, 2017 8:13 am


Return to OpenOCD

Who is online

Users browsing this forum: No registered users and 2 guests