<?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のトピックS32K144: FlexRAM as Emulated EEPROM Initial Values?</title>
    <link>https://community.nxp.com/t5/S32K/S32K144-FlexRAM-as-Emulated-EEPROM-Initial-Values/m-p/808582#M2893</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I succeeded in configuring FlexRAM as emulated EEPROM and it is working as expected. I only wanted to know how to set initial values in this EEPROM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to do the following (struct initialization):&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;typedef struct&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;uint8_t u8;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;uin16_t u16;&lt;BR /&gt;} eeerom_data_t;&lt;/P&gt;&lt;P&gt;__attribute__ ((section(".eeeprom"))) eeerom_data_t eeerom_data = {.u8 = 12, .u16 = 3456};&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;But unfortunately didn't work, I think because the FlexRAM area is set to 1's on flashing the software to S32K144.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to achieve initial values of FlexRAM as emulated EEPROM? Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jun 2018 22:25:28 GMT</pubDate>
    <dc:creator>mahmoudsherrah</dc:creator>
    <dc:date>2018-06-21T22:25:28Z</dc:date>
    <item>
      <title>S32K144: FlexRAM as Emulated EEPROM Initial Values?</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-FlexRAM-as-Emulated-EEPROM-Initial-Values/m-p/808582#M2893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I succeeded in configuring FlexRAM as emulated EEPROM and it is working as expected. I only wanted to know how to set initial values in this EEPROM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to do the following (struct initialization):&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;typedef struct&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;uint8_t u8;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;uin16_t u16;&lt;BR /&gt;} eeerom_data_t;&lt;/P&gt;&lt;P&gt;__attribute__ ((section(".eeeprom"))) eeerom_data_t eeerom_data = {.u8 = 12, .u16 = 3456};&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;But unfortunately didn't work, I think because the FlexRAM area is set to 1's on flashing the software to S32K144.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to achieve initial values of FlexRAM as emulated EEPROM? Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 22:25:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-FlexRAM-as-Emulated-EEPROM-Initial-Values/m-p/808582#M2893</guid>
      <dc:creator>mahmoudsherrah</dc:creator>
      <dc:date>2018-06-21T22:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144: FlexRAM as Emulated EEPROM Initial Values?</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-FlexRAM-as-Emulated-EEPROM-Initial-Values/m-p/808583#M2894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;BR /&gt;The system should not access the data in FlexRAM until the flash controller completes the initialization indicated by the FCNFG[EEERDY] flag.&lt;BR /&gt;If you need to have the EEPROM initialized, copy the data from Flash once the EEPROM is ready.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 15:46:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-FlexRAM-as-Emulated-EEPROM-Initial-Values/m-p/808583#M2894</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2018-06-26T15:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144: FlexRAM as Emulated EEPROM Initial Values?</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-FlexRAM-as-Emulated-EEPROM-Initial-Values/m-p/808584#M2895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, this wastes program memory but I assume it's not that big of an issue. I also think this is the only way to do it. Thanks anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 12:06:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-FlexRAM-as-Emulated-EEPROM-Initial-Values/m-p/808584#M2895</guid>
      <dc:creator>mahmoudsherrah</dc:creator>
      <dc:date>2018-06-27T12:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144: FlexRAM as Emulated EEPROM Initial Values?</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-FlexRAM-as-Emulated-EEPROM-Initial-Values/m-p/808585#M2896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In &lt;A href="https://www.nxp.com/docs/en/application-note/AN12130.pdf"&gt;AN12130&lt;/A&gt;, there is:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/64566i6A669206414277D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If your programmer/debugger supports scripting, you can use a script to check the EEERDY flag and to write the data.&lt;BR /&gt;But this is not a question on the MCU but rather on the programmer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2018 10:29:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-FlexRAM-as-Emulated-EEPROM-Initial-Values/m-p/808585#M2896</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2018-06-28T10:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144: FlexRAM as Emulated EEPROM Initial Values?</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-FlexRAM-as-Emulated-EEPROM-Initial-Values/m-p/808586#M2897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the link. It's interesting but as you said it is programmer work not SW. I think copying from flash to FlexRAM after EEERDY does the trick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2018 16:03:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-FlexRAM-as-Emulated-EEPROM-Initial-Values/m-p/808586#M2897</guid>
      <dc:creator>mahmoudsherrah</dc:creator>
      <dc:date>2018-06-28T16:03:55Z</dc:date>
    </item>
  </channel>
</rss>

