Peter Denison wrote:
> Some (all?) V6 firmware on the J-Link adapter fails to step the TAP 
> unless the first EMU_CMD_HW_JTAG3 command has 8 bits rather than 7, 
> immediately after adapter power-up. Add a hack to pad out to 8 bits, 
> the first time only.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Openocd-development mailing list
> Openocd-development@lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/openocd-development
>   
Yeah,  ugly

Another possible way to do this is: at the end of jlink_init(void)  do

for (i=0; i<8; i++)    jlink_tap_append_step(1, 0);
jlink_tap_execute();

This is then executed before any other scan command and effectively does 
a tlr reset , and should have no other unknown side effects.

Regards
Magnus

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

Reply via email to