Hello Magnus,

>I have just started to test a JLink interface, and looking through the 
>code it seems that the JLINK_OUT_BUFFER_SIZE is wrong. It must be able 
>to hold tms and tdi out + 4 command bytes.
>
>#define JLINK_OUT_BUFFER_SIZE            2*2048+4

If you take a look at the EMU_CMD_HW_JTAG3 command, and with the
info from 1.3.2 of the manual, you are right. The tms_buffer and
the size of the tdi_buffer are both 2048. And we need the 4 byte 
header information too.

Best regards,

Michael

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to