On Tue, May 26, 2009 at 10:30 AM, Spencer Oliver <s...@spen-soft.co.uk> wrote: >> Is there any particular reason why the JTAG layer uses >> hardware resets (TRST)? >> >> I would assume that the most portable way to go to TLR, the >> one that works even if all reset lines are missing or are not >> yet or incorrectly configured would be to shift out five HIGH >> bits which leads to TLR regardless in which state the TAP is. >> > > If you define your interface with only srst then the software method will be > used. > Well it did last time i checked - see jtag_add_reset for code. >
That code makes a move to TLR. This method is fine when you know in which state you are, but not when OpenOCD is started and the previous TAP state is undefined. Michael _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development