On Tue, Sep 22, 2009 at 12:03 AM, David Brownell <davi...@pacbell.net> wrote: > On Monday 21 September 2009, Rolf Meeser wrote: >> I've added a call to jtag_add_tlr(), and that solved it for me. >> All relevant EmbeddedICE registers are now reprogrammed. > > Did you try for example just adding a bunch of TCK cycles, > via runtest? Or maybe just reading a register? (There's > code elsewhere which uses register reads to work around > things not getting set as expected.) > > We have too many add_tlr() calls already, and on systems > with an ICEpick they will take the ARMs out of the scan > chain. It's bad enough that happens four (!) times during > a reset -- I want to get rid of most of them -- but let's > not add them elsewhere except possibly as variant-specific > behaviors.
Could he be repairing a bug in the driver where the driver does not track the JTAG state correctly after a srst that pulls trst? -- Øyvind Harboe ZY1000 JTAG Debugger http://www.zylin.com/zy1000.html Embedded software and hardware consulting services http://www.zylin.com _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development