AnsweredAssumed Answered

What is the best way to do a software restart of a Kinetis running MQX Lite and connected to an I-jet?

Question asked by James Vasil on Aug 26, 2014
Latest reply on Aug 27, 2014 by Carlos_Musich

I'd like to reset the Kinetis processor under software control.  Ideally, I'd like to do this in a way that would allow execution to continue whether or not we had an I-jet debugger connected.


We are using MQX Lite but I don't see any system calls for doing this.


I have also tried calling CPU_SystemReset() (in CPU_Init.c) and although this seems to stop the processor, I haven't--in general--seen it restart after this call.  This is true whether I am connected to IAR EWARM via the I-jet or running with the I-jet disconnected.


Any thoughts/suggestions/ideas would be appreciated.





p.s. I had to say "in general" above because during ONE test run, the processor did seem to restart.  But I haven't been able to repeat this and am not sure what I did differently that time!