<?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のトピックRe: LPC55S16 lost in secure section (0x130166b2 / 0x4002840)</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-lost-in-secure-section-0x130166b2-0x4002840/m-p/1363466#M46901</link>
    <description>&lt;P&gt;Hi Corsin,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Please follow the steps below:&lt;/P&gt;
&lt;UL type="disc"&gt;
&lt;LI&gt;Click on the "Clean Up debug" button on the main IDE toolbar - this kills any stale low level debug operations.&lt;/LI&gt;
&lt;LI&gt;Disconnect the USB cable from your board to remove power&lt;/LI&gt;
&lt;LI&gt;Place a jumper on the ISP header (JS3) - this will prevent the board booting the image in flash by forcing the MCU to enter ISP mode.&lt;/LI&gt;
&lt;LI&gt;Now reconnect the USB cable to Debug Link connector (J1).&lt;/LI&gt;
&lt;LI&gt;Now select a project in the Project Explorer view, and then click on&amp;nbsp;the GUI Flash Tool on the main IDE toolbar - and use this to mass erase the flash.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Have a great day,&lt;/P&gt;
&lt;P&gt;Felipe&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;Note:&lt;/P&gt;
&lt;P&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored. Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;------------------------------------------------------------------------------&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Oct 2021 18:44:51 GMT</pubDate>
    <dc:creator>FelipeGarcia</dc:creator>
    <dc:date>2021-10-28T18:44:51Z</dc:date>
    <item>
      <title>LPC55S16 lost in secure section (0x130166b2 / 0x4002840)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-lost-in-secure-section-0x130166b2-0x4002840/m-p/1361686#M46889</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I was able to access/debug the LPC55S16 EVAL Kit.&amp;nbsp;I'm was implementing some second stage bootloader as shown in&amp;nbsp;AN12327.&lt;/P&gt;&lt;P&gt;After implementing and some testing, I was flashing a image to the section 0x30000 via the MCUXpesso IDE and the onboard debug prob. After that I was not able to access the LPC55S16 again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I changed to a external debug prob (j-link EDU) and was able to deepdive a little in the problem.&lt;/P&gt;&lt;P&gt;What happens is, that the program is trying to boot from the secure area at 0x130166b2&amp;nbsp; and then stays in an endless loop at 0x4002840&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxpobrist_1-1635252816912.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160219i50481F0B4D2C5ADD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxpobrist_1-1635252816912.png" alt="nxpobrist_1-1635252816912.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;nxpobrist_1-1635252816912.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxpobrist_2-1635252867866.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160220i5D91102DB48C2C6E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxpobrist_2-1635252867866.png" alt="nxpobrist_2-1635252867866.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;nxpobrist_2-1635252867866.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxpobrist_3-1635252936106.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160221i780272A2003BD657/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxpobrist_3-1635252936106.png" alt="nxpobrist_3-1635252936106.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;nxpobrist_3-1635252936106.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is there a way to clear the whole device and start again in the non secure area of the LPC55S16??&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Corsin Obrist&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 12:58:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-lost-in-secure-section-0x130166b2-0x4002840/m-p/1361686#M46889</guid>
      <dc:creator>nxp-obrist</dc:creator>
      <dc:date>2021-10-26T12:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S16 lost in secure section (0x130166b2 / 0x4002840)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-lost-in-secure-section-0x130166b2-0x4002840/m-p/1363466#M46901</link>
      <description>&lt;P&gt;Hi Corsin,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Please follow the steps below:&lt;/P&gt;
&lt;UL type="disc"&gt;
&lt;LI&gt;Click on the "Clean Up debug" button on the main IDE toolbar - this kills any stale low level debug operations.&lt;/LI&gt;
&lt;LI&gt;Disconnect the USB cable from your board to remove power&lt;/LI&gt;
&lt;LI&gt;Place a jumper on the ISP header (JS3) - this will prevent the board booting the image in flash by forcing the MCU to enter ISP mode.&lt;/LI&gt;
&lt;LI&gt;Now reconnect the USB cable to Debug Link connector (J1).&lt;/LI&gt;
&lt;LI&gt;Now select a project in the Project Explorer view, and then click on&amp;nbsp;the GUI Flash Tool on the main IDE toolbar - and use this to mass erase the flash.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Have a great day,&lt;/P&gt;
&lt;P&gt;Felipe&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;Note:&lt;/P&gt;
&lt;P&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored. Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;------------------------------------------------------------------------------&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 18:44:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-lost-in-secure-section-0x130166b2-0x4002840/m-p/1363466#M46901</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2021-10-28T18:44:51Z</dc:date>
    </item>
  </channel>
</rss>

