<?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 How to Preserve Non-Volatile Memory with GUI Flash Tool in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-to-Preserve-Non-Volatile-Memory-with-GUI-Flash-Tool/m-p/1454840#M8057</link>
    <description>&lt;P&gt;My application saves some configuration data in the last sectors of the internal flash memory of i.MXRT1064 cpu.&lt;/P&gt;&lt;P&gt;With MCUXpresso PEmicro debugger 11.4.1 I preserve that memory range during flash programming.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vagni_0-1652085344846.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179177i56FA48F1F3D296B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vagni_0-1652085344846.png" alt="Vagni_0-1652085344846.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If I only want to flash my custom board and run without debugging, I can use GUI Flash Tool. The flash programming is successful, but GUI Flash Tool always erases the entire module.&lt;/P&gt;&lt;P&gt;I see a field for additional options is available on GUI Flash Tool window, but I do not know which options I can use and their syntax.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GUI_Flash_Tool.PNG" style="width: 827px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179179i91463329564218B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="GUI_Flash_Tool.PNG" alt="GUI_Flash_Tool.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can I preserve flash memory ranges with GUI Flash Tool ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 09 May 2022 08:45:23 GMT</pubDate>
    <dc:creator>Vagni</dc:creator>
    <dc:date>2022-05-09T08:45:23Z</dc:date>
    <item>
      <title>How to Preserve Non-Volatile Memory with GUI Flash Tool</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-to-Preserve-Non-Volatile-Memory-with-GUI-Flash-Tool/m-p/1454840#M8057</link>
      <description>&lt;P&gt;My application saves some configuration data in the last sectors of the internal flash memory of i.MXRT1064 cpu.&lt;/P&gt;&lt;P&gt;With MCUXpresso PEmicro debugger 11.4.1 I preserve that memory range during flash programming.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vagni_0-1652085344846.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179177i56FA48F1F3D296B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vagni_0-1652085344846.png" alt="Vagni_0-1652085344846.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If I only want to flash my custom board and run without debugging, I can use GUI Flash Tool. The flash programming is successful, but GUI Flash Tool always erases the entire module.&lt;/P&gt;&lt;P&gt;I see a field for additional options is available on GUI Flash Tool window, but I do not know which options I can use and their syntax.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GUI_Flash_Tool.PNG" style="width: 827px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179179i91463329564218B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="GUI_Flash_Tool.PNG" alt="GUI_Flash_Tool.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can I preserve flash memory ranges with GUI Flash Tool ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 08:45:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/How-to-Preserve-Non-Volatile-Memory-with-GUI-Flash-Tool/m-p/1454840#M8057</guid>
      <dc:creator>Vagni</dc:creator>
      <dc:date>2022-05-09T08:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to Preserve Non-Volatile Memory with GUI Flash Tool</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-to-Preserve-Non-Volatile-Memory-with-GUI-Flash-Tool/m-p/1456986#M8067</link>
      <description>&lt;P&gt;I have a Kinetis device, and I do have memory areas with flash data on it (file system and NVMC).&lt;/P&gt;&lt;P&gt;When using the PEMICRO interface, I do use the option without erase:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ErichStyger_0-1652335045414.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179593iF37B5914C314856E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ErichStyger_0-1652335045414.png" alt="ErichStyger_0-1652335045414.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;That way my data blocks on the device are reserved and not erased. I confirm that this works for me with the latest PEMICRO drivers in McUXpresso IDE 11.5.1 (latest version as of today, see &lt;A href="https://mcuoneclipse.com/2022/04/19/mcuxpresso-ide-11-5-1/" target="_blank"&gt;https://mcuoneclipse.com/2022/04/19/mcuxpresso-ide-11-5-1/&lt;/A&gt; ).&lt;/P&gt;&lt;P&gt;Other than that, you might try it with the J-Link interface: this one preserves memory blocks by default which are not used/touched.&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 05:59:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/How-to-Preserve-Non-Volatile-Memory-with-GUI-Flash-Tool/m-p/1456986#M8067</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2022-05-12T05:59:43Z</dc:date>
    </item>
  </channel>
</rss>

