<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>LCP2292,How to Reset from Software?</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/42808/lcp2292-how-to-reset-from-software</link><description> Greetings: 
 
I&amp;#39;m trying to come up with a proper technique for resetting our LCP2292 from code. If one searches long and hard enough, there are a few existent notes out there that recommend resetting by letting the WatchDog Timer timeout. The inference</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: LCP2292,How to Reset from Software?</title><link>https://community.arm.com/thread/46048?ContentTypeID=1</link><pubDate>Wed, 10 May 2006 10:58:58 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:70784d1b-894a-497b-a339-a755f513630e</guid><dc:creator>Roger Lynx</dc:creator><description>&lt;p&gt;&lt;i&gt;The trouble is once in these interrupts, one is no longer in User/System mode and the WatchDog is not available.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
I am not sure what you mean by this statement, if you are already handling an exception, you are in a privileged mode with the same &amp;quot;privileges&amp;quot; as if in sys_mode. Are you writing the handler in asm or C? Why can&amp;#39;t you access the WD registers from _abt mode?&lt;br /&gt;
&lt;br /&gt;
Yes,&lt;b&gt; mov pc, #0 &lt;/b&gt; will do a &amp;quot;warm boot&amp;quot;. If you have the resources, an external voltage regulator with \RST input would be a way to go, like TI&amp;#39;s TL7733 (also has a programmable delay for V-ramping up).&lt;br /&gt;
Then you could toggle outpin pin on LPC to issue reset for TL7733 from the exception handler. But this reset might bring you back to the exception that originated this reset, and oscillation might be due..is that what you want to do?&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;Of course, good code should never end up at those dead ends, but frankly during development, I have seen instances of data and prefetch aborts.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Good code, hm? :-)&lt;br /&gt;
If there was such a thing, we would not need to worry about exception handlers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>