|
From: Magnus L. <lu...@ml...> - 2009-04-24 00:22:20
|
Ø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 ? Regards, Magnus |