<?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: S32k Flash Partition not staying partitioned in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32k-Flash-Partition-not-staying-partitioned/m-p/1981282#M42492</link>
    <description>&lt;P&gt;It is a blank device.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I checked the other form and still don't understand why the partition info in FCFG doesn't remain, mainly of the DEPART field, when i try to run another program.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the future, if I wanted to perform a mass erase, is there a function for that in the flash driver? or a project example?&lt;/P&gt;</description>
    <pubDate>Thu, 24 Oct 2024 13:17:15 GMT</pubDate>
    <dc:creator>aipers</dc:creator>
    <dc:date>2024-10-24T13:17:15Z</dc:date>
    <item>
      <title>S32k Flash Partition not staying partitioned</title>
      <link>https://community.nxp.com/t5/S32K/S32k-Flash-Partition-not-staying-partitioned/m-p/1978552#M42338</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am currently working with the Flash_Partitioning_s32k144 example project in S32 Design Studio. I have configured the code to partition the flexNVM as 32KB D-Flash and 32KB EEPROM by setting the DEPartitionCode to 0x03u in the&amp;nbsp;FLASH_DRV_DEFlashPartition based on the refernece manual below.&lt;/P&gt;&lt;P&gt;#INSERT IMAGE&lt;/P&gt;&lt;P&gt;After running debugger and completing the project (DEBUG_RAM), I will run it again with a breakpoint at main to check the DEPART field value of the FCFG register to confirm that it has saved a value of 0011 to represent the 32 KB split.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aipers_2-1729548475658.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305961i14A822464CFB925A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aipers_2-1729548475658.png" alt="aipers_2-1729548475658.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;It will show 0011 the first time, however if I switch to debug another project, for instance the hello world example project, the DEPART value will be 1111 which is the default value and unconfigured. &lt;STRONG&gt;1. Does this mean that the partition was unsuccessful?&lt;/STRONG&gt; Notably, the EEERAMSIZE field will always be 0010b to represent 4KB of EEERAM.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aipers_1-1729548397658.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305960i8FA6E60C17346EA5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aipers_1-1729548397658.png" alt="aipers_1-1729548397658.png" /&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;Also, a couple smaller questions I had about the flash partition example project:&lt;BR /&gt;2a. Further in main.c, the project begins erasing and writing a sector of P-Flash and D-Flash. If I had partitioned all of FlexNVM to EEPROM (all 64 KB) so there is no D-Flash, what sector of D-flash would that be referring to?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;2b. If I plan to setup a firmware updating bootloader on S32k144 as mentioned in the Firmware Update Application Note, as shown below, do i need to keep the bootloader section as D-Flash?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aipers_0-1729548350906.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305959iE98A63D9E60519DC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aipers_0-1729548350906.png" alt="aipers_0-1729548350906.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 22:08:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k-Flash-Partition-not-staying-partitioned/m-p/1978552#M42338</guid>
      <dc:creator>aipers</dc:creator>
      <dc:date>2024-10-21T22:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: S32k Flash Partition not staying partitioned</title>
      <link>https://community.nxp.com/t5/S32K/S32k-Flash-Partition-not-staying-partitioned/m-p/1980914#M42469</link>
      <description>&lt;P&gt;Pay attention to following thread:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/S32K148-flash-partitioning-without-deleting-data-flash/td-p/1254300" target="_blank"&gt;https://community.nxp.com/t5/S32K/S32K148-flash-partitioning-without-deleting-data-flash/td-p/1254300&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Is this blank new device or have you performed mass erase operation before programming the example code?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 06:52:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k-Flash-Partition-not-staying-partitioned/m-p/1980914#M42469</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2024-10-24T06:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: S32k Flash Partition not staying partitioned</title>
      <link>https://community.nxp.com/t5/S32K/S32k-Flash-Partition-not-staying-partitioned/m-p/1981282#M42492</link>
      <description>&lt;P&gt;It is a blank device.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I checked the other form and still don't understand why the partition info in FCFG doesn't remain, mainly of the DEPART field, when i try to run another program.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the future, if I wanted to perform a mass erase, is there a function for that in the flash driver? or a project example?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 13:17:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k-Flash-Partition-not-staying-partitioned/m-p/1981282#M42492</guid>
      <dc:creator>aipers</dc:creator>
      <dc:date>2024-10-24T13:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: S32k Flash Partition not staying partitioned</title>
      <link>https://community.nxp.com/t5/S32K/S32k-Flash-Partition-not-staying-partitioned/m-p/1981752#M42518</link>
      <description>&lt;P&gt;Pay attention to following thread:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/S32K144EVB-Flash-programming-error-occurring/td-p/693753" target="_blank"&gt;https://community.nxp.com/t5/S32K/S32K144EVB-Flash-programming-error-occurring/td-p/693753&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 06:31:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k-Flash-Partition-not-staying-partitioned/m-p/1981752#M42518</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2024-10-25T06:31:25Z</dc:date>
    </item>
  </channel>
</rss>

