<?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 LPC55S69 : protect flash memory from erase while ISP in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-protect-flash-memory-from-erase-while-ISP/m-p/1032320#M40180</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see in UM that CPMA can be sealed and not possible to update it any more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what about other flash memory areas ?&lt;/P&gt;&lt;P&gt;Can some areas be written once only and protected from erase some how ?&lt;/P&gt;&lt;P&gt;Or application can set some protection to flash memory and next updated is not able to remove it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this possible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Nov 2019 19:52:53 GMT</pubDate>
    <dc:creator>EugeneHiihtaja</dc:creator>
    <dc:date>2019-11-23T19:52:53Z</dc:date>
    <item>
      <title>LPC55S69 : protect flash memory from erase while ISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-protect-flash-memory-from-erase-while-ISP/m-p/1032320#M40180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see in UM that CPMA can be sealed and not possible to update it any more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what about other flash memory areas ?&lt;/P&gt;&lt;P&gt;Can some areas be written once only and protected from erase some how ?&lt;/P&gt;&lt;P&gt;Or application can set some protection to flash memory and next updated is not able to remove it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this possible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Nov 2019 19:52:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-protect-flash-memory-from-erase-while-ISP/m-p/1032320#M40180</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2019-11-23T19:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : protect flash memory from erase while ISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-protect-flash-memory-from-erase-while-ISP/m-p/1032321#M40181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="320103" data-username="yevgen.gyl@solita.fi" href="https://community.nxp.com/people/yevgen.gyl@solita.fi" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;Eugene Hiihtaja&lt;/A&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Once CMPA SECURE_BOOT_EN is set, secure boot is enabled.&lt;/P&gt;&lt;P&gt;If the&amp;nbsp;secure boot is turned on, we can't&amp;nbsp;program a new image to flash anymore. All flash memory is unaccessible.&lt;BR /&gt;The only way to update flash is by using sb file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2019 08:44:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-protect-flash-memory-from-erase-while-ISP/m-p/1032321#M40181</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-11-25T08:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : protect flash memory from erase while ISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-protect-flash-memory-from-erase-while-ISP/m-p/1032322#M40182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jun Zhang !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So 1B revision supports SB2.1 file format only and if secure boot is enabled only one command to transfer SB file to ROM remains to be supported ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How I should understand chapter&amp;nbsp;&lt;STRONG&gt;7.3.6.4.3 Bootable section&amp;nbsp;&lt;/STRONG&gt;in UM ?&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;SB 2.1 introduces two new commands that can be used to prevent firmware roll-back:&lt;BR /&gt;SecureFirmwareVersion&lt;BR /&gt;NonsecureFirmwareVersion&lt;BR /&gt;The recovery boot mode on the 1B version of the LPC55S6xx that is using SB 2.1, only&lt;BR /&gt;supports two commands:&lt;BR /&gt;WriteMemory (RAM only) and Execute.&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;Could it be possible to specify what exact ISP commands are supported if SecureBoot is enabled ?&lt;/P&gt;&lt;P&gt;I assume all commands what is able to read any memory areas and execute should be disabled.&lt;/P&gt;&lt;P&gt;We would like to keep some SRAM area over reboot/update and it shouldn't be any way to read it by ISP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to enable/disable recovery boot mode ? Or how it works ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is not clear in case of SB2.1 type of update. If ROM decrypt it on fly and use PRINCE after that to encrypt it on fly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2019 09:10:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-protect-flash-memory-from-erase-while-ISP/m-p/1032322#M40182</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2019-11-25T09:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : protect flash memory from erase while ISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-protect-flash-memory-from-erase-while-ISP/m-p/1032323#M40183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As the UM doesn't say which ISP command is allowed after secure boot is enabled, I need check it internally.&lt;/P&gt;&lt;P&gt;I will keep you informed.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jun Zhang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2019 08:38:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-protect-flash-memory-from-erase-while-ISP/m-p/1032323#M40183</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-11-27T08:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : protect flash memory from erase while ISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-protect-flash-memory-from-erase-while-ISP/m-p/1032324#M40184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jun Zhang !&lt;/P&gt;&lt;P&gt;Yes , we need this info.&lt;/P&gt;&lt;P&gt;We really would like to use SB2.1 container for secure firmware update and need to understand all risks and etc.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;CPMA page is also not so well specified.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Eugene&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2019 08:52:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-protect-flash-memory-from-erase-while-ISP/m-p/1032324#M40184</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2019-11-27T08:52:10Z</dc:date>
    </item>
  </channel>
</rss>

