<?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のトピックChecking of EEPROM Data</title>
    <link>https://community.nxp.com/t5/S32K/Checking-of-EEPROM-Data/m-p/680966#M944</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question of EEPROM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on S32K14x safety manual, below explanation is written for&amp;nbsp;checking&amp;nbsp;EEPROM Data .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Implementation hint: The check could be implemented based on the SETRAM&lt;BR /&gt;command. This command will copy the active records from the FlexNVM to the&lt;BR /&gt;EEEPROM emulation, and the EEPROM emulation can have a CRC check done before&lt;BR /&gt;and after command execution to ensure that the correct data was backed up in DFLASH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On above explnation, eeprom data backup to FlexNVM. and CRC checking is possible.&lt;/P&gt;&lt;P&gt;How can I get example code&amp;nbsp;for above EEPROM&amp;nbsp;Data&amp;nbsp;checking method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Jun 2017 09:42:02 GMT</pubDate>
    <dc:creator>jaewoosong</dc:creator>
    <dc:date>2017-06-09T09:42:02Z</dc:date>
    <item>
      <title>Checking of EEPROM Data</title>
      <link>https://community.nxp.com/t5/S32K/Checking-of-EEPROM-Data/m-p/680966#M944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question of EEPROM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on S32K14x safety manual, below explanation is written for&amp;nbsp;checking&amp;nbsp;EEPROM Data .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Implementation hint: The check could be implemented based on the SETRAM&lt;BR /&gt;command. This command will copy the active records from the FlexNVM to the&lt;BR /&gt;EEEPROM emulation, and the EEPROM emulation can have a CRC check done before&lt;BR /&gt;and after command execution to ensure that the correct data was backed up in DFLASH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On above explnation, eeprom data backup to FlexNVM. and CRC checking is possible.&lt;/P&gt;&lt;P&gt;How can I get example code&amp;nbsp;for above EEPROM&amp;nbsp;Data&amp;nbsp;checking method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 09:42:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Checking-of-EEPROM-Data/m-p/680966#M944</guid>
      <dc:creator>jaewoosong</dc:creator>
      <dc:date>2017-06-09T09:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Checking of EEPROM Data</title>
      <link>https://community.nxp.com/t5/S32K/Checking-of-EEPROM-Data/m-p/680967#M945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it looks like there's no example for this but it should be relatively simple.&lt;/P&gt;&lt;P&gt;There's a little bit better explanation in application note AN11983:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://cache.nxp.com/assets/documents/data/en/application-notes/AN11983.pdf?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1" title="http://cache.nxp.com/assets/documents/data/en/application-notes/AN11983.pdf?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1"&gt;http://www.nxp.com/assets/documents/data/en/application-notes/AN11983.pdf&lt;/A&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/22268i16752E1C5E679350/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;In other words:&lt;/P&gt;&lt;P&gt;- write data to EEE (example can be found here: c:\NXP\S32DS_ARM_v1.3\S32DS\S32_SDK_Beta_0.9.0\examples\S32K144\driver_examples\flash\FLASH_Example\GCC\Sources\main.c).&lt;/P&gt;&lt;P&gt;- do a CRC of the data - you can use CRC module for this&lt;/P&gt;&lt;P&gt;- then switch the EEERAM to system RAM using command SETRAM and then use the same command to switch back to EEERAM - this sequence will ensure that all the EEE data are loaded from flash back to RAM, so you can do the CRC again to see if correct data have been loaded from flash to EEERAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 10:01:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Checking-of-EEPROM-Data/m-p/680967#M945</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2017-06-12T10:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Checking of EEPROM Data</title>
      <link>https://community.nxp.com/t5/S32K/Checking-of-EEPROM-Data/m-p/680968#M946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check my understanding by your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Reading of EEE Data&amp;nbsp;&amp;gt;&lt;/P&gt;&lt;P&gt;1. Power On&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;Wait the EEERDY flag is set.&lt;/P&gt;&lt;P&gt;3. Read EEE Data&amp;nbsp;from FlexRAM&lt;/P&gt;&lt;P&gt;4. Calculate first CRC&amp;nbsp;by&amp;nbsp;EEE Data&amp;nbsp;&lt;/P&gt;&lt;P&gt;5. Perform SETRAM command (for switching to System RAM)&lt;/P&gt;&lt;P&gt;6. Wait the RAMRDY flah is set.&lt;/P&gt;&lt;P&gt;7. Perform SETRAM command (for switching to EEE RAM)&lt;/P&gt;&lt;P&gt;8.&amp;nbsp;Wait the EEERDY flag is set.&lt;/P&gt;&lt;P&gt;9. Calculate second CRC of&amp;nbsp;EEE Data read on FlexRAM&lt;/P&gt;&lt;P&gt;10. Check whether first CRC and second CRC are same.&lt;/P&gt;&lt;P&gt;11. Same is OK, different is not OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Writting of EEE Data&amp;nbsp;&amp;gt;&lt;/P&gt;&lt;P&gt;1. Power On&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;Wait the EEERDY flag is set.&lt;/P&gt;&lt;P&gt;3. Write EEE Data on FlexRAM&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. Calculate first CRC&amp;nbsp;by&amp;nbsp;EEE Data&lt;/P&gt;&lt;P&gt;5. Perform SETRAM command (for switching to System RAM)&lt;/P&gt;&lt;P&gt;6. Wait the RAMRDY flah is set.&lt;/P&gt;&lt;P&gt;7. Perform SETRAM command (for switching to EEE RAM)&lt;/P&gt;&lt;P&gt;8.&amp;nbsp;Wait the EEERDY flag is set.&lt;/P&gt;&lt;P&gt;9. Calculate second CRC of&amp;nbsp;EEE Data read on FlexRAM&lt;/P&gt;&lt;P&gt;10. Check whether first CRC and second CRC are same&lt;/P&gt;&lt;P&gt;11. Same is OK, different is not OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 02:06:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Checking-of-EEPROM-Data/m-p/680968#M946</guid>
      <dc:creator>jaewoosong</dc:creator>
      <dc:date>2017-06-14T02:06:20Z</dc:date>
    </item>
  </channel>
</rss>

