Olimex ARM USB Tiny / LPC2387

We’re desperately trying to get the JTAG Tiny to work with a LPC2387 based board on Linux. We had given up on OpenOCD 0.1 and just gave it another few hours trying with OpenOCD 0.2. It just doesn’t work… altough this JTAG seems to work for other people.

We are using 32bit Ubuntu Linux with the current kernel (2.6.28-15-generic). OpenOCD has been configured with --enable-ft2232_libftdi --enable-verbose-jtag-io --enable-verbose.

This is what it says:

Open On-Chip Debugger 0.2.0 (2009-08-25-16:51) Release
$URL: http://svn.berlios.de/svnroot/repos/openocd/tags/openocd-0.2.0/src/openocd.c $
For bug reports, read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS
jtag_speed: 3
debug_level: 2
jtag_nsrst_delay: 200
jtag_ntrst_delay: 200
dcc downloads are enabled
Error: couldn't read the requested number of bytes from FT2232 device (19 < 81)
Error: couldn't read from FT2232
Error: number of discovered devices in JTAG chain (0) does not match (enabled) configuration (1), total taps: 1

The number of bytes that could be read varies.

I have veryfied that JTAG is correctly listed using lsusb:

  idVendor           0x15ba Olimex Ltd.
  idProduct          0x0004 OpenOCD JTAG TINY
  bcdDevice            5.00
  iManufacturer           1 Olimex
  iProduct                2 Olimex OpenOCD JTAG TINY

Any hints?