Hello,
I'm new in ARM processors and i'm trying to program SAM7-P256 (Olimex board with AT91SAM7S256) using Bus Blaster as a Jtag interface.
I have successfully installed FTDI D2XX drivers as well as OpenOCD on OS X, but when i run OpenOCD i get the following output.
$openocd -f tcl/interface/busblaster.cfg -f tcl/target/at91sam7x256.cfg
Open On-Chip Debugger 0.8.0-dev-00011-g70a2ffa (2013-05-13-12:15)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
DEPRECATED! use 'adapter_khz' not 'jtag_khz'
adapter speed: 2000 kHz
srst_only srst_pulls_trst srst_gates_jtag srst_open_drain connect_deassert_srst
Info : device: 6 "2232H"
Info : deviceID: 67330064
Info : SerialNumber:
Info : Description: Dual RS232-HS A
Info : max TCK change to: 30000 kHz
Info : clock speed 2000 kHz
Info : TAP sam7x256.cpu does not have IDCODE
Warn : JTAG tap: sam7x256.cpu UNEXPECTED: 0x00000000 (mfg: 0x000, part: 0x0000, ver: 0x0)
Error: JTAG tap: sam7x256.cpu expected 1 of 1: 0x3f0f0f0f (mfg: 0x787, part: 0xf0f0, ver: 0x3)
Warn : Unexpected idcode after end of chain: 1 0xfffffffe
Error: double-check your JTAG setup (interface, speed, missing TAPs, ...)
Error: Trying to use configured scan chain anyway...
Error: sam7x256.cpu: IR capture error; saw 0x0f not 0x01
Warn : Bypassing JTAG setup events due to errors
Info : Embedded ICE version 0
Error: unknown EmbeddedICE version (comms ctrl: 0x00000000)
Info : sam7x256.cpu: hardware has 2 breakpoint/watchpoint units
The SAM7-P256 is connected to BusBlaster using a ribbon cable and both boards are powered via USB.
Here is a photo: