<?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 Program Partition and IFR address in S32 SDK</title>
    <link>https://community.nxp.com/t5/S32-SDK/Program-Partition-and-IFR-address/m-p/1133640#M1831</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to partition FlexNVM.&lt;/P&gt;&lt;P&gt;in order to partition, I read S32k-RM and AN11983 first. and i got question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in s32k-rm page 835.&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;3. FlexNVM EEPROM partition — The amount of FlexNVM memory used for&lt;BR /&gt;emulated EEPROM backup (see Figure 36-9). In order to achieve specified w/e cycle&lt;BR /&gt;endurance, the emulated EEPROM backup size must be at least 16 times the&lt;BR /&gt;emulated EEPROM partition size in FlexRAM. For parts other than the 2MB&lt;BR /&gt;configuration (with interleaved DFlash), the FlexNVM may be split according to the&lt;BR /&gt;Program Partition command, allowing for part EFlash and part DFlash. For example&lt;BR /&gt;a 64kB FlexNVM could be partitioned for 32kB emulated EEPROM and 32kB&lt;BR /&gt;DFlash. To maintain the full specified w/e endurance in the emulated EEPROM&lt;BR /&gt;system, the number of records stored in FlexRAM should be limited to maintain the&lt;BR /&gt;1:16 ratio of RAM to NVM. The management of total number of records is left to the&lt;BR /&gt;user.&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;I think 'program partition command' includes how I split the flexNVM.&lt;/P&gt;&lt;P&gt;as i'm using s32k144, my EEE size can be only 4KB&amp;nbsp;&lt;/P&gt;&lt;P&gt;(the choice is just two : 0 or 4)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"the emulated EEPROM backup size must be at least 16 times the&lt;BR /&gt;emulated EEPROM partition size in FlexRAM."&lt;/P&gt;&lt;P&gt;so that paragraph means that do i have to set the E-Flash size as 64KB???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but somewhere i read it could be 32kb or more...&lt;/P&gt;&lt;P&gt;I think that paragraph is telling another things..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;plus&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kmh48301_0-1599021182698.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/123945iA4C4E747312659AC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kmh48301_0-1599021182698.png" alt="kmh48301_0-1599021182698.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what's address mean in this table?&lt;/P&gt;&lt;P&gt;I think IFR is not mapped memory.&lt;/P&gt;&lt;P&gt;So we can't access this memory like mapped memory.&lt;/P&gt;&lt;P&gt;Can I access IFR through that address?&lt;/P&gt;&lt;P&gt;But according to memory map, that address belongs to P-Flash..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;could you please help me??&lt;/P&gt;</description>
    <pubDate>Wed, 02 Sep 2020 04:40:30 GMT</pubDate>
    <dc:creator>kmh48301</dc:creator>
    <dc:date>2020-09-02T04:40:30Z</dc:date>
    <item>
      <title>Program Partition and IFR address</title>
      <link>https://community.nxp.com/t5/S32-SDK/Program-Partition-and-IFR-address/m-p/1133640#M1831</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to partition FlexNVM.&lt;/P&gt;&lt;P&gt;in order to partition, I read S32k-RM and AN11983 first. and i got question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in s32k-rm page 835.&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;3. FlexNVM EEPROM partition — The amount of FlexNVM memory used for&lt;BR /&gt;emulated EEPROM backup (see Figure 36-9). In order to achieve specified w/e cycle&lt;BR /&gt;endurance, the emulated EEPROM backup size must be at least 16 times the&lt;BR /&gt;emulated EEPROM partition size in FlexRAM. For parts other than the 2MB&lt;BR /&gt;configuration (with interleaved DFlash), the FlexNVM may be split according to the&lt;BR /&gt;Program Partition command, allowing for part EFlash and part DFlash. For example&lt;BR /&gt;a 64kB FlexNVM could be partitioned for 32kB emulated EEPROM and 32kB&lt;BR /&gt;DFlash. To maintain the full specified w/e endurance in the emulated EEPROM&lt;BR /&gt;system, the number of records stored in FlexRAM should be limited to maintain the&lt;BR /&gt;1:16 ratio of RAM to NVM. The management of total number of records is left to the&lt;BR /&gt;user.&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;I think 'program partition command' includes how I split the flexNVM.&lt;/P&gt;&lt;P&gt;as i'm using s32k144, my EEE size can be only 4KB&amp;nbsp;&lt;/P&gt;&lt;P&gt;(the choice is just two : 0 or 4)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"the emulated EEPROM backup size must be at least 16 times the&lt;BR /&gt;emulated EEPROM partition size in FlexRAM."&lt;/P&gt;&lt;P&gt;so that paragraph means that do i have to set the E-Flash size as 64KB???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but somewhere i read it could be 32kb or more...&lt;/P&gt;&lt;P&gt;I think that paragraph is telling another things..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;plus&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kmh48301_0-1599021182698.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/123945iA4C4E747312659AC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kmh48301_0-1599021182698.png" alt="kmh48301_0-1599021182698.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what's address mean in this table?&lt;/P&gt;&lt;P&gt;I think IFR is not mapped memory.&lt;/P&gt;&lt;P&gt;So we can't access this memory like mapped memory.&lt;/P&gt;&lt;P&gt;Can I access IFR through that address?&lt;/P&gt;&lt;P&gt;But according to memory map, that address belongs to P-Flash..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;could you please help me??&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 04:40:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Program-Partition-and-IFR-address/m-p/1133640#M1831</guid>
      <dc:creator>kmh48301</dc:creator>
      <dc:date>2020-09-02T04:40:30Z</dc:date>
    </item>
    <item>
      <title>Program Partition and IFR address</title>
      <link>https://community.nxp.com/t5/S32-SDK/Program-Partition-and-IFR-address/m-p/1134123#M1837</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Just to be clear, there are two programmable options that are used to define the exact memory use for a system:&lt;/P&gt;
&lt;P&gt;1. EEE size (&lt;SPAN&gt;emulated EEPROM partition size in FlexRAM&lt;/SPAN&gt;) which can be set to 0 or 4 KB for the S32K14x&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp;FlexNVM partition (&lt;SPAN&gt;EEPROM backup size&lt;/SPAN&gt;) can be set to 64 KB or 48 KB or 32 KB for the S32K14x&lt;/P&gt;
&lt;DIV id="tinyMceEditor_1378e4679b5e51dianabatrlova_2" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;I would like to mention an important note in the AN11983:&lt;/P&gt;
&lt;P&gt;"The way to increase the ratio of RAM to NVM beyond 16 is to use less RAM addresses in the application. &lt;STRONG&gt;If the user only writes to 2 kB&lt;/STRONG&gt; of the total 4 kB of FlexRAM for S32K14x devices, then ratio effectively changes from 1:16 to 1:32, doubling the w/e cycle endurance."&lt;/P&gt;
&lt;P&gt;So, you do not need to write/erase the whole 4 KB.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;About IFR:&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;what's address mean in this table?&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;The data flash 0 IFR is located within the data flash 0 memory block and includes partition information as you can see in the field description in the table. Also, see description "36.4.3.1 EEPROM data set size" and "36.4.3.2 FlexNVM partition code" in the RM rev 12.1&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;I think IFR is not mapped memory.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;So we can't access this memory like mapped memory.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;As you said the IFR is not accessible or mapped, so it cannot be read.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Can I access IFR through that address?&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;The partition information is programmed in the Flash IFR by the program partition command.&lt;/P&gt;
&lt;P&gt;"After launching program partition code, EEPROM backup memory size and EEESIZE values are saved on data flash IFR region"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope ti helps.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Diana&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 10:38:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Program-Partition-and-IFR-address/m-p/1134123#M1837</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2020-09-02T10:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Program Partition and IFR address</title>
      <link>https://community.nxp.com/t5/S32-SDK/Program-Partition-and-IFR-address/m-p/1134708#M1839</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Thank you for kind explanation.&lt;/P&gt;&lt;P&gt;I understood question 1 !! I should have read AN11983 more.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But question 2 : IFR address : We can't read the value of data flash 0 IFR map as developer intended.&lt;/P&gt;&lt;P&gt;So, in that table, what Address Range mean?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know this address is not in memory map.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and terminology question in RM : "0"&lt;/P&gt;&lt;P&gt;Data flash "0" IFR map&lt;/P&gt;&lt;P&gt;Program flash "0" IFR map&lt;/P&gt;&lt;P&gt;"0" memory block&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what's "0" mean?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess it is about flash memory hardware feature. but i'm not sure...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please give me a hand little more!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Phillip&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 23:24:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Program-Partition-and-IFR-address/m-p/1134708#M1839</guid>
      <dc:creator>kmh48301</dc:creator>
      <dc:date>2020-09-02T23:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Program Partition and IFR address</title>
      <link>https://community.nxp.com/t5/S32-SDK/Program-Partition-and-IFR-address/m-p/1134709#M1840</link>
      <description>&lt;P&gt;p.s S32K community has still problem. We can't post to S32K community.&lt;/P&gt;&lt;P&gt;The label doesn't pop up when I post.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 23:26:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Program-Partition-and-IFR-address/m-p/1134709#M1840</guid>
      <dc:creator>kmh48301</dc:creator>
      <dc:date>2020-09-02T23:26:06Z</dc:date>
    </item>
  </channel>
</rss>

