<?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 LPC55S06 : How to disable all debug/program port exept ISP mode in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S06-How-to-disable-all-debug-program-port-exept-ISP-mode/m-p/1421119#M48083</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I am looking for a way to secure my binary on my LPC55S06 (I use the LPC55S06-evk Kit).&lt;/P&gt;&lt;P&gt;I follow AN12283 and i can successfully limit firmware update to signed image (with our set of keys).&lt;/P&gt;&lt;P&gt;Our future product will not have ISP pin accessible, but I can go to ISP mode through software.&lt;/P&gt;&lt;P&gt;I want to find a way to disable all debug/program port expect ISP.&lt;/P&gt;&lt;P&gt;Following AN12283 it is possible for a user to delete the firmware and this is not acceptable for my use. So I try to use AN13037 but I’ve got the following issue:&lt;/P&gt;&lt;P&gt;1) Using MCUXpresso Secure Provisioning, I can't modify CC_SOCU_PIN/DFLT (in CMPA and/or CFPA) because I've got this error:" Ths CMPA.CC_SOCU_PIN[0:9] must be either all 0 or all1!"&lt;BR /&gt;I put the same value for both SOCU_PIN and SOCU_DFLT (0xFFBF0040). Even If I put all bit in disable State, I've got this error =&amp;gt; How can i use this tool to disable all expect ISP mode?&lt;/P&gt;&lt;P&gt;2) I create handwritten CMPA and CFPA bin (by reading the one inside dev kit and modify SOCU but without writing at the end to not seals the dev kit). I wrote both CMPA and CFPA bin inside the LPC55S06 and since I can't detect the UC to debug or reprogram it (using integrated SWD, PE MICRO TOOL, ISP mode). Does someone have an idea to recover access?&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Can someone give me practical example to use DAP for the LPC55S06? (as I can use MCUXpresso and I brick the LPC55S06 handwritten CMPA/CFPA binary)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;Have good days.&lt;/P&gt;&lt;P&gt;Aurélien&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="Aurelien_Grange_1-1646126434777.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/172090iB0753283A7C6F818/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Aurelien_Grange_1-1646126434777.png" alt="Aurelien_Grange_1-1646126434777.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Mar 2022 09:21:11 GMT</pubDate>
    <dc:creator>Aurelien_Grange</dc:creator>
    <dc:date>2022-03-01T09:21:11Z</dc:date>
    <item>
      <title>LPC55S06 : How to disable all debug/program port exept ISP mode</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S06-How-to-disable-all-debug-program-port-exept-ISP-mode/m-p/1421119#M48083</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I am looking for a way to secure my binary on my LPC55S06 (I use the LPC55S06-evk Kit).&lt;/P&gt;&lt;P&gt;I follow AN12283 and i can successfully limit firmware update to signed image (with our set of keys).&lt;/P&gt;&lt;P&gt;Our future product will not have ISP pin accessible, but I can go to ISP mode through software.&lt;/P&gt;&lt;P&gt;I want to find a way to disable all debug/program port expect ISP.&lt;/P&gt;&lt;P&gt;Following AN12283 it is possible for a user to delete the firmware and this is not acceptable for my use. So I try to use AN13037 but I’ve got the following issue:&lt;/P&gt;&lt;P&gt;1) Using MCUXpresso Secure Provisioning, I can't modify CC_SOCU_PIN/DFLT (in CMPA and/or CFPA) because I've got this error:" Ths CMPA.CC_SOCU_PIN[0:9] must be either all 0 or all1!"&lt;BR /&gt;I put the same value for both SOCU_PIN and SOCU_DFLT (0xFFBF0040). Even If I put all bit in disable State, I've got this error =&amp;gt; How can i use this tool to disable all expect ISP mode?&lt;/P&gt;&lt;P&gt;2) I create handwritten CMPA and CFPA bin (by reading the one inside dev kit and modify SOCU but without writing at the end to not seals the dev kit). I wrote both CMPA and CFPA bin inside the LPC55S06 and since I can't detect the UC to debug or reprogram it (using integrated SWD, PE MICRO TOOL, ISP mode). Does someone have an idea to recover access?&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Can someone give me practical example to use DAP for the LPC55S06? (as I can use MCUXpresso and I brick the LPC55S06 handwritten CMPA/CFPA binary)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;Have good days.&lt;/P&gt;&lt;P&gt;Aurélien&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="Aurelien_Grange_1-1646126434777.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/172090iB0753283A7C6F818/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Aurelien_Grange_1-1646126434777.png" alt="Aurelien_Grange_1-1646126434777.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 09:21:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S06-How-to-disable-all-debug-program-port-exept-ISP-mode/m-p/1421119#M48083</guid>
      <dc:creator>Aurelien_Grange</dc:creator>
      <dc:date>2022-03-01T09:21:11Z</dc:date>
    </item>
  </channel>
</rss>

