On Fri, Apr 24, 2009 at 12:21 AM, Magnus Lundin <[email protected]> wrote: > Ųyvind Harboe wrote: >>> >>> resetting first >>> the jtag, and this rsets my target also, and then a little later >>> resetting the Cortex core giving two rests in quick succeion. It works >>> but I dont like it. For my old LM2S811 reset does not work well, but I >>> have not had time to really dig in to this, just noticed the dual rsets >>> and used the onboard reset button, works great all the time :) . >>> >> >> Perhaps the target script or cortex should override the default >> ocd_process_reset script.... i.e. by default resetting the entire >> chain was considered a clever idea, but for cortex, it might not >> be such a great thing... >> >> > > I dont think it is a Cortex issue, but as I understand it every reset does > the following > > first calls jtag_reset_init, > generating a sequence of trst/srst on the jtag interface > and then revalidating the scanchain, a VERY good idea. > > But then the target reset code is called, sending the same, almost, > sequence of trst/srst > and not revalidating the scanchain. > > Am I missing something ?
That's about it. But all this can be configured in the target configuration scripts. What *should* be done for Cortex-M3 then? > > Regards, > Magnus > > > -- Øyvind Harboe Embedded software and hardware consulting services http://consulting.zylin.com _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
