Debug Board JTAG Programming with openocd

Kyle Bassett kylebassett at
Tue Aug 14 06:48:42 CEST 2007

I have been unable to coerce my Neo to charge batteries, so I have a feeling
it has to do with the uboot image I flashed.  Should I manually charge the
batteries some other way? or continue trying to reflash the original uboot
revision?  (Can you even use the debug board if the battery is dead?)

My current uboot revision:

What I am trying to do right now is get up and running with openocd, but I
cannot get around this one error:

# openocd -f /etc/openocd/openocd.cfg
Info:    openocd.c:84 main(): Open On-Chip Debugger (2007-01-31 12:00 CET)
Error:   jtag.c:1181 jtag_examine_chain(): JTAG communication failure, check
connection, JTAG interface, target power etc.

I know this means that it has found the debug board, but I am unsure what I
should do to initialize the phone.  (Simple as power?)

I have my Neo wired up to the debug board, (2.7v) dead battery inside.

Here are the steps I used to get where I am on Debian Etch:
moved 099_neo1973_debugboard.rules to /etc/udev/rules.d

compiled/installed libusb-0.1.12
compiled/installed libftdi-0.10

add file usr-lib.conf to /etc/
insert line /usr/local/lib
run ldconfig

compiled/installed openocd from svn:
svn co -r 137 openocd_137
./configure --enable-parport_ppdev --enable-ft2232_libftdi
make; su; make install

made /etc/openocd/openocd.cfg with:
telnet_port 4444
gdb_port 3333
interface ft2232
jtag_speed 0
ft2232_vid_pid 0x1457 0x5118
ft2232_layout "jtagkey"
reset_config trst_and_srst
jtag_device 4 0x1 0xf 0xe
daemon_startup attach
target arm920t little reset_run 0 arm920t
working_area 0 0x200000 0x4000 backup
run_and_halt_time 0 5000
ft2232_device_desc "Debug Board for Neo1973"


Some information I grabbed from here:


-------------- next part --------------
An HTML attachment was scrubbed...

More information about the community mailing list