<?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: LPCXpresso54S018 - Debugger Cannot Halt Processor in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54S018-Debugger-Cannot-Halt-Processor/m-p/1511926#M49961</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You can mass erase flash using either J-Link SW or MCUxpresso included mass erase tool. This is explained briefly in MCUxpresso User Guide Chapter 11.3.1 Debug Quickstart Shortcuts (rev 11.6.0, 13/JUL/2022). You can found this user guide in the installation directory for MCUxpresso.&lt;/P&gt;
&lt;P&gt;Let us know if there is something else we can help you with.&lt;/P&gt;</description>
    <pubDate>Thu, 25 Aug 2022 20:17:49 GMT</pubDate>
    <dc:creator>Daniel-Aguirre</dc:creator>
    <dc:date>2022-08-25T20:17:49Z</dc:date>
    <item>
      <title>LPCXpresso54S018 - Debugger Cannot Halt Processor</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54S018-Debugger-Cannot-Halt-Processor/m-p/1511772#M49956</link>
      <description>&lt;P&gt;I am using either the JLINK SEGGER Debugger or the Link Server debugger to upload some test code on to my LPCXpresso54S018 card. If the previously loaded code had a severe error that caused the CPU to not stop in a graceful way, then I get a message from the debugger saying that it cannot halt the processor when I try to upload new code.&lt;/P&gt;&lt;P&gt;The bad code is in flash and runs each time that the board is reset.&lt;/P&gt;&lt;P&gt;How do I force the CPU to halt or how do I clear out the code in flash so that it will not run on the next board reset? Is there a way to force the debugger to stop the CPU no matter what is going on?&lt;/P&gt;&lt;P&gt;Sometimes I can reflash the Link Server debugger and get it to upload a benign&amp;nbsp; Hello World program to overwrite the bad code in flash. However, this doesn't always work.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 13:04:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54S018-Debugger-Cannot-Halt-Processor/m-p/1511772#M49956</guid>
      <dc:creator>brian_ungar</dc:creator>
      <dc:date>2022-08-25T13:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso54S018 - Debugger Cannot Halt Processor</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54S018-Debugger-Cannot-Halt-Processor/m-p/1511926#M49961</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You can mass erase flash using either J-Link SW or MCUxpresso included mass erase tool. This is explained briefly in MCUxpresso User Guide Chapter 11.3.1 Debug Quickstart Shortcuts (rev 11.6.0, 13/JUL/2022). You can found this user guide in the installation directory for MCUxpresso.&lt;/P&gt;
&lt;P&gt;Let us know if there is something else we can help you with.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 20:17:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso54S018-Debugger-Cannot-Halt-Processor/m-p/1511926#M49961</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2022-08-25T20:17:49Z</dc:date>
    </item>
  </channel>
</rss>

