Hi Mathias K.,

You have this command buffer

4b 02 01 39 02 00 00 c0 04 3b 06 80 6b 01 81 4b 02 03

4b 02 01 / TMS shift no read
39 02 00 00 c0 04 / IN OUT 3 bytes read
3b 06 80 / IN OUT 1 byte read
6b 01 81 / TMS shift 1 byte read
4b 02 03 / TMS shift no read

This command buffer should return 5 bytes data.

There are no reason here the Amontec JTAGkey-2 do not send back the 5 bytes, 
except if you have RTCK return clock enabled !!!

But a bad previous command buffer could corrupt the JTAGkey-2 ft2232 mpsse 
interface.

Please send me the complet debug file .

Also, could you please try the same with Amontec JTAGkey D22X WHQL certified driver you found at http://www.amontec.com/download/amontec-jtagkey-driver-d2xx-20091124.zip


Regards,
Laurent Gauch
http://www.amontec.com Amontec JTAGkey-3 coming soon ! Generic USB JTAG CJTAG SWD SWO serial wire debug interface 1.5V 1.8V 2.5V 3.3V 5V auto-sense protected IOs With RTCK support



wrote:
Hello,

the send buffer looks okay. Maybe this is a timeout problem. Do you use the 
d2xx or ftdi library?


Regards,

Mathias


Am 17.03.2011 13:14, schrieb Drasko DRASKOVIC:
 3174056 Debug: 3174389 188209 ft2232.c:809 ft2232_send_and_recv():
write buffer (size 18):
 3174057 Debug: 3174390 188209 ft2232.c:784
ft2232_debug_dump_buffer(): 4b 02 01 39 02 00 00 c0 04 3b 06 80 6b 01
81 4b
 3174058 Debug: 3174391 188209 ft2232.c:790 ft2232_debug_dump_buffer(): 02 03
 3174059 Error: 3174392 192209 ft2232.c:584 ft2232_read(): couldn't
read enough bytes from FT2232 device (0 < 5)
 3174060 Error: 3174393 192209 ft2232.c:839 ft2232_send_and_recv():
couldn't read from FT2232
 3174061 Error: 3174394 192209 mips_ejtag.c:115

Errors repeat later :

 5759736 Debug: 5760353 334312 ft2232.c:809 ft2232_send_and_recv():
write buffer (size 27):
 5759737 Debug: 5760354 334312 ft2232.c:784
ft2232_debug_dump_buffer(): 4b 03 03 1b 03 0a 4b 02 03 4b 02 01 39 02
00 00
 5759738 Debug: 5760355 334312 ft2232.c:790
ft2232_debug_dump_buffer(): c0 00 3b 06 80 6b 01 81 4b 02 03
 5759739 Error: 5760356 338311 ft2232.c:584 ft2232_read(): couldn't
read enough bytes from FT2232 device (0 < 5)
 5759740 Error: 5760357 338311 ft2232.c:839 ft2232_send_and_recv():
couldn't read from FT2232
 5759741 Error: 5760358 338311 mips_ejtag.c:115
mips_ejtag_drscan_32(): register read failed

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to