<?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 Disable ISP mode for LPC55 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Disable-ISP-mode-for-LPC55/m-p/1952010#M56834</link>
    <description>&lt;P&gt;Hi NXP,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Our customer will disable ISP mode before booting, below is the code to modify the CMPA register.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;But after running the code, LPC55 will disable ISP and SWD (debug) function.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Question:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;gt; Why the code will affect the debug funtion ?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&amp;gt;How to recover the debug function ?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&amp;gt;How to disable ISP mode only ?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Thanks very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jimmyli_0-1726051223724.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/298549i797C2A439BC0FA56/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jimmyli_0-1726051223724.png" alt="jimmyli_0-1726051223724.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Sep 2024 10:41:00 GMT</pubDate>
    <dc:creator>jimmyli</dc:creator>
    <dc:date>2024-09-11T10:41:00Z</dc:date>
    <item>
      <title>Disable ISP mode for LPC55</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Disable-ISP-mode-for-LPC55/m-p/1952010#M56834</link>
      <description>&lt;P&gt;Hi NXP,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Our customer will disable ISP mode before booting, below is the code to modify the CMPA register.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;But after running the code, LPC55 will disable ISP and SWD (debug) function.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Question:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;gt; Why the code will affect the debug funtion ?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&amp;gt;How to recover the debug function ?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&amp;gt;How to disable ISP mode only ?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Thanks very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jimmyli_0-1726051223724.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/298549i797C2A439BC0FA56/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jimmyli_0-1726051223724.png" alt="jimmyli_0-1726051223724.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 10:41:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Disable-ISP-mode-for-LPC55/m-p/1952010#M56834</guid>
      <dc:creator>jimmyli</dc:creator>
      <dc:date>2024-09-11T10:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Disable ISP mode for LPC55</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Disable-ISP-mode-for-LPC55/m-p/1952771#M56836</link>
      <description>&lt;P&gt;Hello, my name is Pavel, and I will be supporting your case, I reviewed your case see questions below,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;gt; Why the code will affect the debug function?&lt;BR /&gt;Maybe the register was not written correct, what was the hex number you use to write?&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&amp;gt;How to recover the debug function?&lt;BR /&gt;For that need to do a mass erase, could use the SPT tool or the BLHOST tool.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&amp;gt;How to disable ISP mode only?&lt;BR /&gt;Let me research more information about this.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 00:32:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Disable-ISP-mode-for-LPC55/m-p/1952771#M56836</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2024-09-12T00:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Disable ISP mode for LPC55</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Disable-ISP-mode-for-LPC55/m-p/1952911#M56837</link>
      <description>&lt;P&gt;Hi Pavel，&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Thanks very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I will loop in our customer to check with you.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 02:45:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Disable-ISP-mode-for-LPC55/m-p/1952911#M56837</guid>
      <dc:creator>jimmyli</dc:creator>
      <dc:date>2024-09-12T02:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Disable ISP mode for LPC55</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Disable-ISP-mode-for-LPC55/m-p/1953056#M56840</link>
      <description>&lt;P&gt;Hi, Pavel,&lt;BR /&gt;1&amp;gt;from the code, you can see that I have read the orignal data via the function FFR_GetCustomerData, then change the first byte to 0x70, and then write it back to the flash via FFR_CustFactoryPageWrite. And I&lt;BR /&gt;have took a quick look at the original data when debug, there were all 0x00.&lt;BR /&gt;2&amp;gt;Is the SPT tool or the BLHOST tool could work without debug port? and where can I get those tools?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 05:44:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Disable-ISP-mode-for-LPC55/m-p/1953056#M56840</guid>
      <dc:creator>Johnson_Ho</dc:creator>
      <dc:date>2024-09-12T05:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Disable ISP mode for LPC55</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Disable-ISP-mode-for-LPC55/m-p/1953814#M56850</link>
      <description>&lt;P&gt;Hello, my apologize I never use it before that function&amp;nbsp;&lt;SPAN&gt;FFR_CustFactoryPageWrite.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I saw the CMPA information, and the disabled ISP is on address 0x9E400 and need to put 0x70 to active the 6:4 bits. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So, I reviewed your function&amp;nbsp;FFR_CustFactoryPageWrite your data configuration seems to be well, offset 0 and len 512, and the same with the&amp;nbsp;FFR_CustFactoryPageWrite.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pavel_Hernandez_0-1726186149858.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/298930iC6AF8AD679EE1D5A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pavel_Hernandez_0-1726186149858.png" alt="Pavel_Hernandez_0-1726186149858.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Could you please share me this part of your code to get more details?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;-To use the BLHOST I recommend install the SPSDK, this has a bunch of tools in same places.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I make on the past a similar document with other LPC maybe could help you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;attached below, only change the LPC for the LPC55s69, and the address that you need to modify.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;BR /&gt;Pavel&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 00:52:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Disable-ISP-mode-for-LPC55/m-p/1953814#M56850</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2024-09-13T00:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Disable ISP mode for LPC55</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Disable-ISP-mode-for-LPC55/m-p/1956028#M56873</link>
      <description>&lt;P&gt;1&amp;gt;the original data is as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Johnson_Ho_0-1726620655739.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299535iFAE5E6F3E3B95325/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Johnson_Ho_0-1726620655739.png" alt="Johnson_Ho_0-1726620655739.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have modified the 0x2000186c to 0x70, and then write it back.&lt;/P&gt;&lt;P&gt;2&amp;gt;I have installed the spsdk, and connect the board via cmsis-dap，but I got a different result from the manual when I use the "nxpdevscan" command：&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Johnson_Ho_1-1726621192269.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299536iB3C132F084CCD8B1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Johnson_Ho_1-1726621192269.png" alt="Johnson_Ho_1-1726621192269.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 01:00:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Disable-ISP-mode-for-LPC55/m-p/1956028#M56873</guid>
      <dc:creator>Johnson_Ho</dc:creator>
      <dc:date>2024-09-18T01:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Disable ISP mode for LPC55</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Disable-ISP-mode-for-LPC55/m-p/1956886#M56879</link>
      <description>&lt;P&gt;Hello, about the communication with the Blhost you need to use a UART and USB to Serial. I mean connect your board to the PC push the bottom ISP and then Reset to enter in ISP mode.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pavel_Hernandez_0-1726682568934.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299779iFB6968D95F9DD447/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pavel_Hernandez_0-1726682568934.png" alt="Pavel_Hernandez_0-1726682568934.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;On the board the debugger has UART interface you can use the same debug link port P6.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 18:20:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Disable-ISP-mode-for-LPC55/m-p/1956886#M56879</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2024-09-18T18:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Disable ISP mode for LPC55</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Disable-ISP-mode-for-LPC55/m-p/1957052#M56880</link>
      <description>&lt;P&gt;I have modified the first byte(offset 0)to 0x70，which means disabling the ISP pin according to the TRM. Could I use the ISP pin to enter the ISP mode?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 01:46:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Disable-ISP-mode-for-LPC55/m-p/1957052#M56880</guid>
      <dc:creator>Johnson_Ho</dc:creator>
      <dc:date>2024-09-19T01:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Disable ISP mode for LPC55</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Disable-ISP-mode-for-LPC55/m-p/1957135#M56881</link>
      <description>&lt;P&gt;Hello, if the ISP is disable and the SWD is active, you could use the flash IAP to restore that.&lt;/P&gt;
&lt;P&gt;Here is a thread that could help you about that&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/LPC55-Disable-ISP-and-SWD-to-utilize-code-protection/ta-p/1654157" target="_blank"&gt;[LPC55]: Disable ISP and SWD to utilize code protection - NXP Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 03:47:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Disable-ISP-mode-for-LPC55/m-p/1957135#M56881</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2024-09-19T03:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Disable ISP mode for LPC55</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Disable-ISP-mode-for-LPC55/m-p/1959443#M56897</link>
      <description>&lt;P&gt;My problem is When I disabled the ISP(modified the first byte to 0x70), the SWD also been disabled. So the chip is unable to recover.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 04:01:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Disable-ISP-mode-for-LPC55/m-p/1959443#M56897</guid>
      <dc:creator>Johnson_Ho</dc:creator>
      <dc:date>2024-09-23T04:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Disable ISP mode for LPC55</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Disable-ISP-mode-for-LPC55/m-p/1961104#M56906</link>
      <description>&lt;P&gt;Hello, my apologize for the delayed response, how the SWD was locked too? Did you write other number instead of 0x70? to recovery need to do a mas erase but, in this case, maybe could use the mailbox.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/Updated-Debug-Mailbox-commands-for-LPC55S69/m-p/1082002" target="_blank"&gt;Updated Debug Mailbox commands for LPC55S69 - NXP Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 22:06:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Disable-ISP-mode-for-LPC55/m-p/1961104#M56906</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2024-09-24T22:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Disable ISP mode for LPC55</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Disable-ISP-mode-for-LPC55/m-p/2145060#M58595</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/196430"&gt;@Pavel_Hernandez&lt;/a&gt;&amp;nbsp;, that document was helpful.&amp;nbsp; Your&amp;nbsp;document contains the information absent from both the reference manual and the BLHOST manual, but which ought to be included in those manuals.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Aug 2025 09:26:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Disable-ISP-mode-for-LPC55/m-p/2145060#M58595</guid>
      <dc:creator>danielholala</dc:creator>
      <dc:date>2025-08-01T09:26:10Z</dc:date>
    </item>
  </channel>
</rss>

