On Sat, Jun 28, 2008 at 9:28 AM, Michael Fischer <[EMAIL PROTECTED]> wrote:
> Hello Øyvind,
>
> here is the log from a ft2232 device and the LPC.
> It was made with r728.

It's a mess. The problem is that jtag_add_reset() aliases onto
TMS when TRST is not available.

Does anyone know *precisely* what this sequence mans?

When is a tms issued?

jtag_add_trst(1,0);
jtag_add_trst(1,1);


- srst_only
- srst_only srst_pulls_trst
- srst_and_trst

?

I think it is best to leave this alone, or take some drastic measures
to clean this up:

- remove the jtag_add_reset() trst / trst aliasing
- forbid invocation of jtag_add_reset() for srst/trst when srst/trst is
not available
- require drivers to set their internal tracked tap state to tap_tlr
when srst_pulls_trst and they pulled trst(already done I think).
- add scriptable reset procedures scripts





-- 
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to