<?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>LPC Microcontrollers中的主题 LPC1857-NVIC_SystemReset() causes processor hanging</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1857-NVIC-SystemReset-causes-processor-hanging/m-p/2005101#M57331</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using LPC1857 with Keil RTX and observe that randomly a rare hard fault is generated. To overcome the issue, I'm planning on performing a system reset in the hard fault handler. But when&amp;nbsp;NVIC_SystemReset() is used, I can observe that the processor gets stuck after system init and reaching the clock setting code:&lt;/P&gt;&lt;P&gt;LPC_CGU-&amp;gt;XTAL_OSC_CTRL = (0 &amp;lt;&amp;lt; 0) | /* Enable oscillator-pad */&lt;BR /&gt;(0 &amp;lt;&amp;lt; 1) | /* Operation with crystal connected */&lt;BR /&gt;(0 &amp;lt;&amp;lt; 2) ; /* Low-frequency mode&lt;/P&gt;&lt;P&gt;I can step through in debug and can see the same code is called when a reset is issued from the debug window button. During this, the execution passes this section successfully and reaches main. If the&amp;nbsp;NVIC_SystemReset() is called, the debugger loses connection on reaching the above section. Anyone can guide me on how to resolve this?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Dec 2024 10:57:46 GMT</pubDate>
    <dc:creator>mrl20g</dc:creator>
    <dc:date>2024-12-02T10:57:46Z</dc:date>
    <item>
      <title>LPC1857-NVIC_SystemReset() causes processor hanging</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1857-NVIC-SystemReset-causes-processor-hanging/m-p/2005101#M57331</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using LPC1857 with Keil RTX and observe that randomly a rare hard fault is generated. To overcome the issue, I'm planning on performing a system reset in the hard fault handler. But when&amp;nbsp;NVIC_SystemReset() is used, I can observe that the processor gets stuck after system init and reaching the clock setting code:&lt;/P&gt;&lt;P&gt;LPC_CGU-&amp;gt;XTAL_OSC_CTRL = (0 &amp;lt;&amp;lt; 0) | /* Enable oscillator-pad */&lt;BR /&gt;(0 &amp;lt;&amp;lt; 1) | /* Operation with crystal connected */&lt;BR /&gt;(0 &amp;lt;&amp;lt; 2) ; /* Low-frequency mode&lt;/P&gt;&lt;P&gt;I can step through in debug and can see the same code is called when a reset is issued from the debug window button. During this, the execution passes this section successfully and reaches main. If the&amp;nbsp;NVIC_SystemReset() is called, the debugger loses connection on reaching the above section. Anyone can guide me on how to resolve this?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 10:57:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1857-NVIC-SystemReset-causes-processor-hanging/m-p/2005101#M57331</guid>
      <dc:creator>mrl20g</dc:creator>
      <dc:date>2024-12-02T10:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1857-NVIC_SystemReset() causes processor hanging</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1857-NVIC-SystemReset-causes-processor-hanging/m-p/2005528#M57335</link>
      <description>&lt;P&gt;Hello, my name is Pavel, and I will be supporting our case, I will review your case, when I have more information, I will contact you.&lt;/P&gt;
&lt;P&gt;I will follow one case, only I will close this.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 00:52:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1857-NVIC-SystemReset-causes-processor-hanging/m-p/2005528#M57335</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2024-12-03T00:52:59Z</dc:date>
    </item>
  </channel>
</rss>

