<?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>S32KのトピックRe: Flash partitioning EEPROM</title>
    <link>https://community.nxp.com/t5/S32K/Flash-partitioning-EEPROM/m-p/1206139#M9464</link>
    <description>&lt;P&gt;Hello Zhengyu,&lt;/P&gt;
&lt;P&gt;A1.&lt;/P&gt;
&lt;P&gt;Please see the description below&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1609764036063.png" style="width: 560px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133848i660CCA59215955B9/image-dimensions/560x242?v=v2" width="560" height="242" role="button" title="danielmartynek_0-1609764036063.png" alt="danielmartynek_0-1609764036063.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In other words, If the MCU has not been partitioned yet, the flash IFR is erased by default and FlexNVM is erased by the Program partition command anyway.&lt;/P&gt;
&lt;P&gt;But if it has been already partitioned, you need to Mass erase the MCU before it can be partitioned again.&lt;/P&gt;
&lt;P&gt;A2.&lt;/P&gt;
&lt;P&gt;There is no such restriction. The application code can partition the MCU.&lt;/P&gt;
&lt;P&gt;A3.&lt;/P&gt;
&lt;P&gt;PFlash does not have to be erased before the FTFC Program Partition command is launched.&lt;/P&gt;
&lt;P&gt;A4.&lt;/P&gt;
&lt;P&gt;Hard to say what could be wrong.&lt;/P&gt;
&lt;P&gt;A5.&lt;/P&gt;
&lt;P&gt;The FTFC Program Partition command must be launched from flash memory.&lt;/P&gt;
&lt;P&gt;The function that launches the command can be in SRAM or it can be done by the programmer.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_1-1609764499651.png" style="width: 542px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133850i298A9961C0FB507C/image-dimensions/542x130?v=v2" width="542" height="130" role="button" title="danielmartynek_1-1609764499651.png" alt="danielmartynek_1-1609764499651.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jan 2021 12:50:29 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2021-01-04T12:50:29Z</dc:date>
    <item>
      <title>Flash partitioning EEPROM</title>
      <link>https://community.nxp.com/t5/S32K/Flash-partitioning-EEPROM/m-p/1205465#M9437</link>
      <description>&lt;P class="tgt"&gt;&lt;SPAN class="tgt"&gt;Dear team,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="tgt"&gt;&lt;SPAN class="tgt"&gt;When using S32K116&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt"&gt;&lt;SPAN class="tgt"&gt;I have a few questions about Flash partitioning and using analog EEPROM.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt"&gt;&lt;SPAN class="tgt"&gt;1. Do you have to erase all Flash areas before using the Flash _DRv_deflashpartition interface in the SDK?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt"&gt;&lt;SPAN class="tgt"&gt;2. Do I need to burn code that mimics EEPROM and my normal code in two executions?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt"&gt;&lt;SPAN class="tgt"&gt;3. If I write the partition with simulated EEPROM code and my functional code together, after erasing all Flash, will the code in P-Flash be lost and won't work properly after repowering?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt"&gt;&lt;SPAN class="tgt"&gt;4. After I tried to erase the entire Flash using the JFlash tool, the debugger was unable to connect to the MCU.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt"&gt;&lt;SPAN class="tgt"&gt;5. I once tried to execute the partition in the full-speed running mode, but the partition failed. The single-step execution in the debugging mode could make the partition successful, what is the problem?&lt;/SPAN&gt;&lt;SPAN class="tgt"&gt;What do I need to focus on?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="tgt"&gt;&lt;SPAN class="tgt"&gt;Hope to get detailed explanation, thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt"&gt;&lt;SPAN class="tgt"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt"&gt;&lt;SPAN class="tgt"&gt;Zhengyu&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 09:34:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flash-partitioning-EEPROM/m-p/1205465#M9437</guid>
      <dc:creator>972276616</dc:creator>
      <dc:date>2020-12-31T09:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Flash partitioning EEPROM</title>
      <link>https://community.nxp.com/t5/S32K/Flash-partitioning-EEPROM/m-p/1206139#M9464</link>
      <description>&lt;P&gt;Hello Zhengyu,&lt;/P&gt;
&lt;P&gt;A1.&lt;/P&gt;
&lt;P&gt;Please see the description below&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1609764036063.png" style="width: 560px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133848i660CCA59215955B9/image-dimensions/560x242?v=v2" width="560" height="242" role="button" title="danielmartynek_0-1609764036063.png" alt="danielmartynek_0-1609764036063.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In other words, If the MCU has not been partitioned yet, the flash IFR is erased by default and FlexNVM is erased by the Program partition command anyway.&lt;/P&gt;
&lt;P&gt;But if it has been already partitioned, you need to Mass erase the MCU before it can be partitioned again.&lt;/P&gt;
&lt;P&gt;A2.&lt;/P&gt;
&lt;P&gt;There is no such restriction. The application code can partition the MCU.&lt;/P&gt;
&lt;P&gt;A3.&lt;/P&gt;
&lt;P&gt;PFlash does not have to be erased before the FTFC Program Partition command is launched.&lt;/P&gt;
&lt;P&gt;A4.&lt;/P&gt;
&lt;P&gt;Hard to say what could be wrong.&lt;/P&gt;
&lt;P&gt;A5.&lt;/P&gt;
&lt;P&gt;The FTFC Program Partition command must be launched from flash memory.&lt;/P&gt;
&lt;P&gt;The function that launches the command can be in SRAM or it can be done by the programmer.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_1-1609764499651.png" style="width: 542px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133850i298A9961C0FB507C/image-dimensions/542x130?v=v2" width="542" height="130" role="button" title="danielmartynek_1-1609764499651.png" alt="danielmartynek_1-1609764499651.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 12:50:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flash-partitioning-EEPROM/m-p/1206139#M9464</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-01-04T12:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Flash partitioning EEPROM</title>
      <link>https://community.nxp.com/t5/S32K/Flash-partitioning-EEPROM/m-p/1447553#M15068</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;I want to know, is there any way to partition the FlexNVM but not reset or erase?&lt;/P&gt;&lt;P&gt;Because I put the bootloader to FlexNVM, and I also want to save data to EEPROM backup. But the partition operation in bootloader or app makes the FlexNVM be erased, so as to my bootloader could not work.&lt;/P&gt;&lt;P&gt;Or is there any way to partition the FlexNvm before the bootloader running?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 02:58:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flash-partitioning-EEPROM/m-p/1447553#M15068</guid>
      <dc:creator>KILLERzheng</dc:creator>
      <dc:date>2022-04-22T02:58:25Z</dc:date>
    </item>
  </channel>
</rss>

