I can't find the place in the ft2232 code where the state is set to TAP_RESET when srst pulls trst under a reset...
How does the attached patch look? rlink.c, bitbang.c, bitq.c and zy1000 all have this code path right. -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer
### Eclipse Workspace Patch 1.0 #P openocd Index: src/jtag/ft2232.c =================================================================== --- src/jtag/ft2232.c (revision 2762) +++ src/jtag/ft2232.c (working copy) @@ -1701,6 +1701,11 @@ first_unsent = cmd; } + if ((cmd->cmd.reset->trst == 1) || (cmd->cmd.reset->srst && (jtag_get_reset_config() & RESET_SRST_PULLS_TRST))) + { + tap_set_state(TAP_RESET); + } + layout->reset(cmd->cmd.reset->trst, cmd->cmd.reset->srst); require_send = 1;
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development