<?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: IAP Reprogram Sector 0 on LPC15xx in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-Reprogram-Sector-0-on-LPC15xx/m-p/1612034#M51853</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/213836"&gt;@gato&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"&lt;/P&gt;
&lt;P&gt;I'm wondering however, is there a way to erase Sector 0 from within the running software?&lt;/P&gt;
&lt;P&gt;"&lt;/P&gt;
&lt;P&gt;Sorry no, you can enter ISP mode or other program/debug tools to erase.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
    <pubDate>Thu, 09 Mar 2023 02:13:45 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2023-03-09T02:13:45Z</dc:date>
    <item>
      <title>IAP Reprogram Sector 0 on LPC15xx</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-Reprogram-Sector-0-on-LPC15xx/m-p/1611659#M51850</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm currently porting an secondary bootloader to the lpc15xx platform. Part of this bootloader is, that it may update itself remotely. But for the LPC15xx I read in UM10736.pdf on Chapter 34.9.3 (Page 575), that "The boot sector can not be erased by this command.".&lt;/P&gt;&lt;P&gt;A first test showed, that an erase of Sector 0 returned with SUCCESS, but without actually erasing the contents.&lt;/P&gt;&lt;P&gt;I'm wodering however, is there a way to erase Sector 0 from within the running software?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you, sincerely&lt;/P&gt;&lt;P&gt;tom&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 13:21:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-Reprogram-Sector-0-on-LPC15xx/m-p/1611659#M51850</guid>
      <dc:creator>gato</dc:creator>
      <dc:date>2023-03-08T13:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: IAP Reprogram Sector 0 on LPC15xx</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-Reprogram-Sector-0-on-LPC15xx/m-p/1612034#M51853</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/213836"&gt;@gato&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"&lt;/P&gt;
&lt;P&gt;I'm wondering however, is there a way to erase Sector 0 from within the running software?&lt;/P&gt;
&lt;P&gt;"&lt;/P&gt;
&lt;P&gt;Sorry no, you can enter ISP mode or other program/debug tools to erase.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 02:13:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-Reprogram-Sector-0-on-LPC15xx/m-p/1612034#M51853</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2023-03-09T02:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: IAP Reprogram Sector 0 on LPC15xx</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-Reprogram-Sector-0-on-LPC15xx/m-p/1612145#M51854</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt; Part of this bootloader is, that it may update itself remotely&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Why ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The incentive for a (second-stage) bootloader is the capability to update device software in the field. A bootloader update is only necessary for critical bugs. My company uses such bootloaders in about half a dozen different ECU devices in heavy machinery, and none of them is designed to update itself.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This "self-update" very much complicates the design. The bootloader, or crucial parts of it, must be relocated to RAM at runtime, since it cannot erase/program the section it runs from. Most MCUs cannot run any code from Flash while an erase program is ongoing (depending on bank design).&lt;BR /&gt;Rather do proper tests, considering all probable scenarios.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 06:10:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-Reprogram-Sector-0-on-LPC15xx/m-p/1612145#M51854</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2023-03-09T06:10:27Z</dc:date>
    </item>
  </channel>
</rss>

