<?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中的主题 LPC55S69 : runBootloader API</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-runBootloader-API/m-p/1029579#M40072</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;Do I undestand right and by using this API , application can enter to bootloader without reboot ?&lt;/P&gt;&lt;P&gt;After that update can happens or whatever and it is possible jump back to application start address&amp;nbsp; ( without reboot ) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Becouse not all areas of SRAM in use by bootloader, I can keep own data in SRAM while update is ongoing and there are retain.&lt;/P&gt;&lt;P&gt;is this so ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what is not clear if by ISP command(s) , host can read any data areas what is stored in SRAM ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even in case of Secure boot and&amp;nbsp;"SB file format is encrypted and digitally signed", it is always possible to turn MCU to ISP mode and read SRAM&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or if secure boot is enabled already, some areas of flash/sram can be protected&amp;nbsp; from reading, becouse&lt;/P&gt;&lt;P&gt;initial image is able to apply some protection and any next update ( FOTA like) is not able read all memory areas ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see by default in ISP update is possibel to read/write/erase almost everything. Of couse it dosn't boot after that.&lt;/P&gt;&lt;P&gt;But it is other story.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain in more details how and what memory areas can be completely hidden from ISP type of update ?&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, 22 Nov 2019 20:23:43 GMT</pubDate>
    <dc:creator>EugeneHiihtaja</dc:creator>
    <dc:date>2019-11-22T20:23:43Z</dc:date>
    <item>
      <title>LPC55S69 : runBootloader API</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-runBootloader-API/m-p/1029579#M40072</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;Do I undestand right and by using this API , application can enter to bootloader without reboot ?&lt;/P&gt;&lt;P&gt;After that update can happens or whatever and it is possible jump back to application start address&amp;nbsp; ( without reboot ) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Becouse not all areas of SRAM in use by bootloader, I can keep own data in SRAM while update is ongoing and there are retain.&lt;/P&gt;&lt;P&gt;is this so ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what is not clear if by ISP command(s) , host can read any data areas what is stored in SRAM ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even in case of Secure boot and&amp;nbsp;"SB file format is encrypted and digitally signed", it is always possible to turn MCU to ISP mode and read SRAM&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or if secure boot is enabled already, some areas of flash/sram can be protected&amp;nbsp; from reading, becouse&lt;/P&gt;&lt;P&gt;initial image is able to apply some protection and any next update ( FOTA like) is not able read all memory areas ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see by default in ISP update is possibel to read/write/erase almost everything. Of couse it dosn't boot after that.&lt;/P&gt;&lt;P&gt;But it is other story.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain in more details how and what memory areas can be completely hidden from ISP type of update ?&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, 22 Nov 2019 20:23:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-runBootloader-API/m-p/1029579#M40072</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2019-11-22T20:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : runBootloader API</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-runBootloader-API/m-p/1029580#M40073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in; font-family: arial; font-size: 11.25pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;Hi Eugene:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: arial; font-size: 11.25pt; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: arial; font-size: 11.25pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;Please check my answers bellow:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: arial; font-size: 11.25pt; color: #51626f;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-family: arial; font-size: 11.25pt; color: #1e4e79;"&gt;&lt;SPAN style="background: white;"&gt;Do I undestand right and by using this API , application can enter to bootloader without reboot ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: arial; font-size: 11.25pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;Yes&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: arial; font-size: 11.25pt; color: #51626f;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-family: arial; font-size: 11.25pt; color: #1e4e79;"&gt;&lt;SPAN style="background: white;"&gt;After that update can happens or whatever and it is possible jump back to application start address&amp;nbsp; ( without reboot ) ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: arial; font-size: 11.25pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;You can use some commands for it, the easiest way would be use the reset command but you can also use the execute command to set the program counter.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: arial; font-size: 11.25pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: arial; font-size: 11.25pt; color: #1e4e79;"&gt;&lt;SPAN style="background: white;"&gt;Becouse not all areas of SRAM in use by bootloader, I can keep own data in SRAM while update is ongoing and there are retain.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: arial; font-size: 11.25pt; color: #1e4e79;"&gt;&lt;SPAN style="background: white;"&gt;is this so ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: arial; font-size: 11.25pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;Yes, if you not erase your region using the commands you could keep the SRAM regions&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: arial; font-size: 11.25pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: arial; font-size: 11.25pt; color: #1e4e79;"&gt;&lt;SPAN style="background: white;"&gt;But what is not clear if by ISP command(s) , host can read any data areas what is stored in SRAM ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: arial; font-size: 11.25pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;Any secure region can't be accessed by the ISP.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: arial; font-size: 11.25pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: arial; font-size: 11.25pt; color: #1e4e79;"&gt;&lt;SPAN style="background: white;"&gt;Even in case of Secure boot and&amp;nbsp;"SB file format is encrypted and digitally signed", it is always possible to turn MCU to ISP mode and read SRAM&amp;nbsp; ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: arial; font-size: 11.25pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;This would not be possible in case there's a secure environment configured.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: arial; font-size: 11.25pt; color: #51626f;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-family: arial; font-size: 11.25pt; color: #1e4e79;"&gt;&lt;SPAN style="background: white;"&gt;Can you explain in more details how and what memory areas can be completely hidden from ISP type of update ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: arial; font-size: 11.25pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;If you already set your secure environment, shouldn't be possible for the ISP to read, write this section&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: arial; font-size: 11.25pt; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: arial; font-size: 11.25pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: arial; font-size: 11.25pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;Alexis Andalon&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 22:42:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-runBootloader-API/m-p/1029580#M40073</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2019-12-03T22:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : runBootloader API</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-runBootloader-API/m-p/1029581#M40074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexis !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secure environment is not set yat. We verify all documentation if it have sense and really secure or we should start to design own bootloader and disable ISP mode as nonsecure at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In blhost v5.0 is no any info about ISP command limitation in case of Secure boot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For old bootloaders it was like this:&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;When flash security is enabled, only the get-property, set property, reset, flash-security-disable, and flash-erase-all-unsecure&lt;BR /&gt;commands are supported. The MCU bootloader returns kStatus_SecurityViolation if a command is received that is not supported&lt;BR /&gt;due to flash security settings.&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;May be ReceiveSB file is also should be in this list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it should be clearly mentioned what exact limitation secure Boot have to ISP mode.&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, 04 Dec 2019 06:53:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-runBootloader-API/m-p/1029581#M40074</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2019-12-04T06:53:19Z</dc:date>
    </item>
  </channel>
</rss>

