<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to reset LPC43xx from application in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-reset-LPC43xx-from-application/m-p/1024712#M39979</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and&lt;BR /&gt;for the opportunity to serve you.&lt;BR /&gt;I've inserted the NVIC_SystemReset(); in the demo of the LPCOpen library, After running the demo project, I find that the MCU is available to be reset periodically&lt;BR /&gt;Below demonstrates I inserted the NVIC_SystemReset(); in the watchdog demo project.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/101401i1E1918E3F638EAFF/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jan 2020 02:57:12 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2020-01-02T02:57:12Z</dc:date>
    <item>
      <title>How to reset LPC43xx from application</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-reset-LPC43xx-from-application/m-p/1024711#M39978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to reset LPC43xx&amp;nbsp;from application&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my project ,I need to reset cpu&amp;nbsp;from application.&lt;/P&gt;&lt;P&gt;First&amp;nbsp; I start a Project&amp;nbsp; in&amp;nbsp;&amp;nbsp;MDK5 IDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void Reset_Handler(){&lt;BR /&gt; SystemInit(); &lt;BR /&gt; __main(); &lt;BR /&gt;}&lt;BR /&gt;void main(){&lt;BR /&gt; NVIC_SystemReset(); &lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;In this Program,&amp;nbsp; CPU can be reset ,but cpu will crash in systemInit fuction.&lt;/P&gt;&lt;P&gt;LPC_CGU-&amp;gt;BASE_M4_CLK = (0x01 &amp;lt;&amp;lt; 11) | /* Autoblock En */&lt;BR /&gt; (CLK_SRC_IRC &amp;lt;&amp;lt; 24) ; /* Set clock source */&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; LPC_CGU-&amp;gt;XTAL_OSC_CTRL = (0 &amp;lt;&amp;lt; 0) | /* Enable oscillator-pad */&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(0 &amp;lt;&amp;lt; 1) | /* Operation with crystal connected */&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(0 &amp;lt;&amp;lt; 2) ; /* Low-frequency mode */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then ,I modify Program like below,&amp;nbsp;&lt;/P&gt;&lt;P&gt;#define RESET_CTRL0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *&amp;nbsp; (int*) 0x40053100&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;void main(){&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;RESET_CTRL0 =1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;RESET_CTRL0 =0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;this time,&amp;nbsp;the prog failed to restart again ,and the cpu can not&amp;nbsp;be proram anymore.&lt;/P&gt;&lt;P&gt;I need your help..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Dec 2019 01:41:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-reset-LPC43xx-from-application/m-p/1024711#M39978</guid>
      <dc:creator>hperic</dc:creator>
      <dc:date>2019-12-29T01:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to reset LPC43xx from application</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-reset-LPC43xx-from-application/m-p/1024712#M39979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and&lt;BR /&gt;for the opportunity to serve you.&lt;BR /&gt;I've inserted the NVIC_SystemReset(); in the demo of the LPCOpen library, After running the demo project, I find that the MCU is available to be reset periodically&lt;BR /&gt;Below demonstrates I inserted the NVIC_SystemReset(); in the watchdog demo project.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/101401i1E1918E3F638EAFF/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jan 2020 02:57:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-reset-LPC43xx-from-application/m-p/1024712#M39979</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2020-01-02T02:57:12Z</dc:date>
    </item>
  </channel>
</rss>

