Hi,
got some strange problems using a signalyzer H2 JTAG-adapter with
Openocd to programm a STM32-Target. We are using the same adapter on
different machines -- one is working like a charm since weeks. But the
second machine throws the following error after a normal "do some
flashing"-command with Openocd:
> Error: couldn't read enough bytes from FT2232 device (0 < 81)
> Error: couldn't read from FT2232
> Error: couldn't read enough bytes from FT2232 device (79 < 81)
> Error: couldn't read from FT2232
This seems to be a similar error to this one mentioned earlier:
http://www.mail-archive.com/openocd-development@xxxxxxxxxxxxxxxx/msg12531.html
-- but we got the same codebase, same OS (ubuntu 10.04) and tried even the same
binaries build from the same git -- still the same strange error.
So, if I understand this problem correctly this has something to do with
our hardware-USB-subsystems, libftdi itself (both are using 0.17) or
libusb itself (both are using 0.1)?
What additional tests can I perform to track the problem down?
Here some additional data:
lsusb -v from the first, working machine: http://pastie.org/981771
(note: Signalyzer H2 connected!)
lsusb -v from the second, error'ing machine: http://pastie.org/981768
(note: no Signalyzer H2 connected...)
The linked libraries:
ldd /opt/openocd/bin/openocd
linux-gate.so.1 => (0x00e8f000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00183000)
libftdi.so.1 => /usr/lib/libftdi.so.1 (0x00ab2000)
libusb-0.1.so.4 => /lib/libusb-0.1.so.4 (0x00f44000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00250000)
/lib/ld-linux.so.2 (0x00704000)
Greetings
Martin
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|