<?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: how to put a variable on S32k eeprom</title>
    <link>https://community.nxp.com/t5/S32K/how-to-put-a-variable-on-S32k-eeprom/m-p/842947#M3412</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use PE Micro partition feature and add your data into FlexRAM section (already partitioned by PE Micro as emulated eeprom) by __attribute__ specifier. You can find partition option in debug configurations -&amp;gt; Advanced Options&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/62602i47474967C7EB5F2F/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;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62647iC84721EAE325CE6B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can find more details about EEESIZE and DEPART in reference manual.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modify your linker file and add flexram section - like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62671i04783A970A73695F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And add your variable in .eeeprom section - for example in your main.c:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62716iCF352EB842201CCD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example related to this topic -&amp;nbsp;&lt;A href="https://community.nxp.com/docs/DOC-340114"&gt;Example: S32K144 EEEPROM usage&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Aug 2018 13:52:56 GMT</pubDate>
    <dc:creator>jiri_kral</dc:creator>
    <dc:date>2018-08-13T13:52:56Z</dc:date>
    <item>
      <title>how to put a variable on S32k eeprom</title>
      <link>https://community.nxp.com/t5/S32K/how-to-put-a-variable-on-S32k-eeprom/m-p/842944#M3409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;how can I put a variable on s32k eeprom?&lt;/P&gt;&lt;P&gt;__eeprom unint32_t MyVariable. doesnt work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2018 09:17:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/how-to-put-a-variable-on-S32k-eeprom/m-p/842944#M3409</guid>
      <dc:creator>momo12</dc:creator>
      <dc:date>2018-08-10T09:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to put a variable on S32k eeprom</title>
      <link>https://community.nxp.com/t5/S32K/how-to-put-a-variable-on-S32k-eeprom/m-p/842945#M3410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;BR /&gt;The EEPROM is accessible in FlexRAM so you can use a pointer on a location in FlexRAM.&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>Mon, 13 Aug 2018 12:33:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/how-to-put-a-variable-on-S32k-eeprom/m-p/842945#M3410</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2018-08-13T12:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to put a variable on S32k eeprom</title>
      <link>https://community.nxp.com/t5/S32K/how-to-put-a-variable-on-S32k-eeprom/m-p/842946#M3411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the compiler directive to put a variable/Array on Flexram then?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2018 12:48:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/how-to-put-a-variable-on-S32k-eeprom/m-p/842946#M3411</guid>
      <dc:creator>momo12</dc:creator>
      <dc:date>2018-08-13T12:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to put a variable on S32k eeprom</title>
      <link>https://community.nxp.com/t5/S32K/how-to-put-a-variable-on-S32k-eeprom/m-p/842947#M3412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use PE Micro partition feature and add your data into FlexRAM section (already partitioned by PE Micro as emulated eeprom) by __attribute__ specifier. You can find partition option in debug configurations -&amp;gt; Advanced Options&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/62602i47474967C7EB5F2F/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;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62647iC84721EAE325CE6B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can find more details about EEESIZE and DEPART in reference manual.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modify your linker file and add flexram section - like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62671i04783A970A73695F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And add your variable in .eeeprom section - for example in your main.c:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62716iCF352EB842201CCD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example related to this topic -&amp;nbsp;&lt;A href="https://community.nxp.com/docs/DOC-340114"&gt;Example: S32K144 EEEPROM usage&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2018 13:52:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/how-to-put-a-variable-on-S32k-eeprom/m-p/842947#M3412</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2018-08-13T13:52:56Z</dc:date>
    </item>
  </channel>
</rss>

