<?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のトピックRe: How to make Mcuxpresso erase and program only necessary &amp;quot;Pages&amp;quot; and not &amp;quot;Sectors&amp;amp;</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-make-Mcuxpresso-erase-and-program-only-necessary-quot/m-p/1650103#M52507</link>
    <description>&lt;P&gt;&lt;EM&gt;&amp;gt; I have written a custom bootloader and app that share a sector.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;I think this is not a good idea.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Flash can only be erased sector-wise, and I believe the LPC55S is not different.&lt;BR /&gt;I suppose you have only tried your bootloader so far with an otherwise empty sector (except for the BL code). Programming works down to minimal cell size usually 16 or 32 bit. Easing does not.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Check if the bootloader can erase an existing application without killing itself.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 15 May 2023 08:13:29 GMT</pubDate>
    <dc:creator>frank_m</dc:creator>
    <dc:date>2023-05-15T08:13:29Z</dc:date>
    <item>
      <title>How to make Mcuxpresso erase and program only necessary "Pages" and not "Sectors"?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-make-Mcuxpresso-erase-and-program-only-necessary-quot/m-p/1649516#M52479</link>
      <description>&lt;P&gt;I have written a custom bootloader and app that share a sector. Thus I don't want the programmer to erase the whole sector while programming either of them.&lt;BR /&gt;&lt;BR /&gt;If I align my bootloader and app based on sector size, it works fine.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I understand erasing page reduces the life of the flash but I'm tight on memory.&lt;BR /&gt;&lt;BR /&gt;My device is LPCxpresso55S36 and I'm using MCUXpresso 11.7.&lt;/P&gt;&lt;P&gt;I guess I need to do something like what mentioned here but I can't find the setting.&lt;BR /&gt;Link:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/MCUXpresso-IDE/Preventing-stored-variables-in-flash-from-being-erased-when/td-p/811511" target="_blank"&gt;Solved: Preventing stored variables in flash from being er... - NXP Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 14:29:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-make-Mcuxpresso-erase-and-program-only-necessary-quot/m-p/1649516#M52479</guid>
      <dc:creator>AKdy</dc:creator>
      <dc:date>2023-05-12T14:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Mcuxpresso erase and program only necessary "Pages" and not "Sectors&amp;</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-make-Mcuxpresso-erase-and-program-only-necessary-quot/m-p/1649970#M52498</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217204"&gt;@AKdy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which debug probe do you use? The configuration you mentioned is based on PEmicro debugger,&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1684130815621.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/223079i5C96E98F9A0F3442/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1684130815621.png" alt="Alice_Yang_0-1684130815621.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Alice_Yang_0-1684130815621.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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>Mon, 15 May 2023 06:07:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-make-Mcuxpresso-erase-and-program-only-necessary-quot/m-p/1649970#M52498</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2023-05-15T06:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Mcuxpresso erase and program only necessary "Pages" and not "Sectors&amp;</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-make-Mcuxpresso-erase-and-program-only-necessary-quot/m-p/1650103#M52507</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt; I have written a custom bootloader and app that share a sector.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;I think this is not a good idea.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Flash can only be erased sector-wise, and I believe the LPC55S is not different.&lt;BR /&gt;I suppose you have only tried your bootloader so far with an otherwise empty sector (except for the BL code). Programming works down to minimal cell size usually 16 or 32 bit. Easing does not.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Check if the bootloader can erase an existing application without killing itself.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 08:13:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-make-Mcuxpresso-erase-and-program-only-necessary-quot/m-p/1650103#M52507</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2023-05-15T08:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Mcuxpresso erase and program only necessary "Pages" and not "Sectors&amp;</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-make-Mcuxpresso-erase-and-program-only-necessary-quot/m-p/1650115#M52508</link>
      <description>&lt;P&gt;Hi Alice,&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply.&lt;BR /&gt;&lt;BR /&gt;I'm using the on-board debugger on the LPCXpresso55S36. I have flashed the debugger with MCU Link firmware version 3 and my MCUXpresso IDE is version 11.7&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 08:21:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-make-Mcuxpresso-erase-and-program-only-necessary-quot/m-p/1650115#M52508</guid>
      <dc:creator>AKdy</dc:creator>
      <dc:date>2023-05-15T08:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Mcuxpresso erase and program only necessary "Pages" and not "Sectors&amp;</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-make-Mcuxpresso-erase-and-program-only-necessary-quot/m-p/1651744#M52553</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217204"&gt;@AKdy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry MCU-link debug configuration on MCUXpresso IDE doesn't support page 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>Wed, 17 May 2023 06:20:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-make-Mcuxpresso-erase-and-program-only-necessary-quot/m-p/1651744#M52553</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2023-05-17T06:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Mcuxpresso erase and program only necessary "Pages" and not "Sectors&amp;</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-make-Mcuxpresso-erase-and-program-only-necessary-quot/m-p/1654503#M52634</link>
      <description>Thank you.</description>
      <pubDate>Mon, 22 May 2023 07:17:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-make-Mcuxpresso-erase-and-program-only-necessary-quot/m-p/1654503#M52634</guid>
      <dc:creator>AKdy</dc:creator>
      <dc:date>2023-05-22T07:17:35Z</dc:date>
    </item>
  </channel>
</rss>

