<?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: LPC55S69 : limited ISP comands are allowed ? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-limited-ISP-comands-are-allowed/m-p/1032271#M40173</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;There is no document about "&lt;STRONG&gt;limited ISP&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;comands&lt;/STRONG&gt;&lt;/SPAN&gt;". I have requested it, but haven't feedback so far. If I get it, I will update here.&lt;/P&gt;&lt;P&gt;According to our local test, erase/read/write/&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;receive&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;-sb-file,etc &lt;/SPAN&gt;ISP commands are supported after secure boot enabled. ISP command is called by blhost. please test it on your side, if any different, let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&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 style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&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>Fri, 29 Nov 2019 07:38:11 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2019-11-29T07:38:11Z</dc:date>
    <item>
      <title>LPC55S69 : limited ISP comands are allowed ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-limited-ISP-comands-are-allowed/m-p/1032270#M40172</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;If secure boot option is enabled in&amp;nbsp;&lt;STRONG&gt;Table 268. Lifecycle state descriptions&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;mentioned "then limited ISP comands are allowed"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I can see the next dangerous commands :&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;8.6.6 ReadMemory command&lt;/STRONG&gt;&lt;BR /&gt;The ReadMemory command returns the contents of memory at the given address, for a&lt;BR /&gt;specified number of bytes. T&lt;STRONG&gt;his command can read any region of memory accessible by&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;the CPU and not protected by security.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;8.6.9 Execute command&lt;BR /&gt;&lt;/STRONG&gt;The Execute command results in the bootloader setting the program counter to the code&lt;BR /&gt;at the provided jump address, R0 to the provided argument, and a Stack pointer to the&lt;BR /&gt;provided stack pointer address. Prior to the jump, the system is returned to the reset&lt;BR /&gt;state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;8.6.10 Call command&lt;/STRONG&gt;&lt;BR /&gt;The Call command executes a function that is written in memory at the address sent in the&lt;BR /&gt;command. The address needs to be a valid memory location residing in accessible flash&lt;BR /&gt;(internal or external) or in RAM.&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;And in SB file chapter:&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;7.3.6.4.3 Bootable section&lt;BR /&gt;A section that has the bootable section flag set is called a bootable section. It contains a&lt;BR /&gt;sequence of boot commands that are processed by the loader to perform a firmware&lt;BR /&gt;update.&lt;BR /&gt;The boot commands are described in the elftosb User’s Guide. The LPC55xx ROM loader&lt;BR /&gt;provides the support for the following bootloader commands:&lt;BR /&gt;WriteMemory, FillMemory, ConfigureMemory, FlashEraseAll, FlashEraseRegion,&lt;BR /&gt;The WriteMemory and FillMemory commands can be used to write data to RAMs.&lt;BR /&gt;WriteMemory can be also used to program internal flash, including the PFR CFPA page,&lt;BR /&gt;assuming the flash is erased, for example, by FlashEraseAll or FlashEraseRegion&lt;BR /&gt;commands. ConfigureMemory command can be used to configure LPC55xx PRINCE&lt;BR /&gt;on-the-fly encryption module.&lt;BR /&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;&lt;/P&gt;&lt;P&gt;Do you have exact list of commands what are "&lt;STRONG&gt;limited ISP&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;comands are allowed"&lt;/STRONG&gt; ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And How I undestand limitation in SB file section ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Eugene&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Nov 2019 19:14:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-limited-ISP-comands-are-allowed/m-p/1032270#M40172</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2019-11-23T19:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : limited ISP comands are allowed ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-limited-ISP-comands-are-allowed/m-p/1032271#M40173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;There is no document about "&lt;STRONG&gt;limited ISP&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;comands&lt;/STRONG&gt;&lt;/SPAN&gt;". I have requested it, but haven't feedback so far. If I get it, I will update here.&lt;/P&gt;&lt;P&gt;According to our local test, erase/read/write/&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;receive&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;-sb-file,etc &lt;/SPAN&gt;ISP commands are supported after secure boot enabled. ISP command is called by blhost. please test it on your side, if any different, let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&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 style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&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>Fri, 29 Nov 2019 07:38:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-limited-ISP-comands-are-allowed/m-p/1032271#M40173</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-11-29T07:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : limited ISP comands are allowed ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-limited-ISP-comands-are-allowed/m-p/1032272#M40174</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;Thank you !&lt;/P&gt;&lt;P&gt;Please keep me updated with this issue.&lt;/P&gt;&lt;P&gt;If all ISP commands are available , security of chip is not looks as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think next step is completely disable ISP ( I hope it is possible&amp;nbsp; according UM) and process SB2.1 file by using own custom bootloader.&lt;/P&gt;&lt;P&gt;What can supports limited ISP like command always even main image is corrupted. But it is extra job to write error less code.&lt;/P&gt;&lt;P&gt;Does your romcode like source code or similar ones available ?&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>Fri, 29 Nov 2019 10:10:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-limited-ISP-comands-are-allowed/m-p/1032272#M40174</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2019-11-29T10:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : limited ISP comands are allowed ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-limited-ISP-comands-are-allowed/m-p/1032273#M40175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To disable ISP, you can disable it in CMPA ISP field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2019 06:37:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-limited-ISP-comands-are-allowed/m-p/1032273#M40175</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-12-04T06:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : limited ISP comands are allowed ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-limited-ISP-comands-are-allowed/m-p/1032274#M40176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/ZhangJennie"&gt;ZhangJennie&lt;/A&gt;‌ !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any update about supported ISP command when secure boot is enabled ?&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>Wed, 25 Dec 2019 07:27:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-limited-ISP-comands-are-allowed/m-p/1032274#M40176</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2019-12-25T07:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : limited ISP comands are allowed ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-limited-ISP-comands-are-allowed/m-p/1032275#M40177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I didn't get feedback. seems we don't have such a list address this issue.&lt;/P&gt;&lt;P&gt;I have escalated it as a requirement to design.&lt;/P&gt;&lt;P&gt;But for the moment, we don't have it yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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 style="min- padding: 0px;"&gt;&amp;nbsp;&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>Wed, 25 Dec 2019 10:07:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-limited-ISP-comands-are-allowed/m-p/1032275#M40177</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-12-25T10:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : limited ISP comands are allowed ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-limited-ISP-comands-are-allowed/m-p/1032276#M40178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eugene,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1) ISP Command limitation&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ISP command limitation has different behaviour at 0A and 1B silicon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0A silicon has ISP command limitation after Secure Boot is enabled (this info is in released UM)&lt;/P&gt;&lt;P&gt;1B silicon has ISP command limitation after &lt;STRONG&gt;CMPA HASH&lt;/STRONG&gt; is written - lifecycle change into &lt;STRONG&gt;Tier 2 Dev&lt;/STRONG&gt; or &lt;STRONG&gt;OEM closed&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1B silicon has possibility to check lifecycle status:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;blhost -p COMxx get-property 17&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Limited ISP commands for &lt;STRONG&gt;1B&lt;/STRONG&gt; silicon:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;GetProperty&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Reset&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;KeyProvisioning&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;SetProperty&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;ReceiveSbFile&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you would like to disable all ISP commands then you have the possibility to disable it in CMPA registers &lt;STRONG&gt;CC_SOCU_xx&lt;/STRONG&gt; in &lt;STRONG&gt;ISP_CMD_EN&amp;nbsp;&lt;/STRONG&gt;bits. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2) SB file limitation&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1B&lt;/STRONG&gt; silicon supports &lt;STRONG&gt;Recovery boot&lt;/STRONG&gt; (3 types -&amp;gt; Passive, ISP, Recovery), which will be described in new UM release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;If &lt;STRONG&gt;Secure boot&lt;/STRONG&gt; is enabled recovery boot should load &lt;STRONG&gt;SB2.1&lt;/STRONG&gt; from external SPI flash memory. In this recovery mode are reduced commands for SB file as is mentioned. ( &lt;STRONG&gt;version_check&lt;/STRONG&gt;, &lt;STRONG&gt;load &lt;/STRONG&gt;into internal RAM in a non-reserved region, &lt;STRONG&gt;jump/call&lt;/STRONG&gt;). &lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Command for checking reserved region:&lt;STRONG&gt; blhost -p COMxx get-property 12&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2020 15:40:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-limited-ISP-comands-are-allowed/m-p/1032276#M40178</guid>
      <dc:creator>tomas_voda</dc:creator>
      <dc:date>2020-01-29T15:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : limited ISP comands are allowed ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-limited-ISP-comands-are-allowed/m-p/1032277#M40179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tomas !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;&lt;P&gt;So we will have soon updated UM and Secure Boot AN with more clarifications and details.&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>Wed, 29 Jan 2020 16:34:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-limited-ISP-comands-are-allowed/m-p/1032277#M40179</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2020-01-29T16:34:21Z</dc:date>
    </item>
  </channel>
</rss>

