<?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>Kinetis MicrocontrollersのトピックRe: Store data on internal non Volatile Memory</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Store-data-on-internal-non-Volatile-Memory/m-p/244907#M6342</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One more time, thank you for your reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm experiencing some troubles with this. For example, it only "works" if I run it as DEBUG. If I do it in RELEASE, it gets stuck inside EraseAllBlock (I can't tell where, because it's the release version and it doesn't accept breakpoints or halt).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And when in DEBUG, it only works (writes the flash) if I put a breakpoint after the ProgramLongword routine and then reset the MCU. At that point is where I can see the data written (in Memory windows). If I do not do so, then it does not write. I can tell this not only because I can't see it on the Memory Windows, but also I print it out via UART and there are all 0xFF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you can help me here!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;SebaS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 May 2013 12:11:22 GMT</pubDate>
    <dc:creator>sebasira</dc:creator>
    <dc:date>2013-05-21T12:11:22Z</dc:date>
    <item>
      <title>Store data on internal non Volatile Memory</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Store-data-on-internal-non-Volatile-Memory/m-p/244900#M6335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello to you all!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new at Kinetis MCUs... Rigth now, we're no using any RTOS, just bare-metal projects. I have a PC application that communicate with the TWRK60 using the uart.&lt;/P&gt;&lt;P&gt;The idea of the PC app is to program some parameters of the firmware. Before Kinetis, on HCS12 and CFv1 MCUs I stored this data into internal FLASH or EEPROM. Rigth now, I'm confused about this and the FlexMem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know about a simple way to store data (non-volatile data) in the K60 internal memory? I've downloaded C90TFS driver but it seem way too complex. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using IAR IDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!! Best Regards!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SebaS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 14:55:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Store-data-on-internal-non-Volatile-Memory/m-p/244900#M6335</guid>
      <dc:creator>sebasira</dc:creator>
      <dc:date>2013-05-17T14:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Store data on internal non Volatile Memory</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Store-data-on-internal-non-Volatile-Memory/m-p/244901#M6336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi, Sebas&lt;/P&gt;&lt;P&gt;Attached is a sample code of Kinetis flex memory operation. It is from C90TS but not so complex. It is for your reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope my reply can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 15:35:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Store-data-on-internal-non-Volatile-Memory/m-p/244901#M6336</guid>
      <dc:creator>Paul_Tian</dc:creator>
      <dc:date>2013-05-17T15:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Store data on internal non Volatile Memory</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Store-data-on-internal-non-Volatile-Memory/m-p/244902#M6337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick reply!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just replace your file for the "main.c" inside my project. It compiles fine but when I run it, it get stuck inside &lt;STRONG&gt;EEEWrite&lt;/STRONG&gt;, waiting for the EEERDY bit to be set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a portion of the code where it gets stuck:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void EEEWrite(unsigned long destination,unsigned long size,unsigned long source)&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Check if EEE is enabled */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(REG_READ(FTFL_FCNFG &amp;amp; 0x01))&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(size &amp;gt; 0)&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(0 == (FTFL_FCNFG &amp;amp; 0x01))&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;HERE IS WHERE IT GETS STUCK&lt;/STRONG&gt; /* wait till EEERDY bit is set */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WRITE8(destination,READ8(source));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you can help me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SebaS&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 15:46:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Store-data-on-internal-non-Volatile-Memory/m-p/244902#M6337</guid>
      <dc:creator>sebasira</dc:creator>
      <dc:date>2013-05-17T15:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Store data on internal non Volatile Memory</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Store-data-on-internal-non-Volatile-Memory/m-p/244903#M6338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've read in another post that: "&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;EM&gt;The K60 MCU on the TWR-K60N512 doesn't have any NVM. It's a flash only part. The N in the K60 part number signifies a flash only part. You would need an X in that position to signify a part with NVM&lt;/EM&gt;.&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that's true, does it mean I can not write non volatile data on that chip?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 16:44:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Store-data-on-internal-non-Volatile-Memory/m-p/244903#M6338</guid>
      <dc:creator>sebasira</dc:creator>
      <dc:date>2013-05-17T16:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Store data on internal non Volatile Memory</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Store-data-on-internal-non-Volatile-Memory/m-p/244904#M6339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Sebasria&lt;/P&gt;&lt;P&gt;You can use function FlashProgramLongword in my sample code to write data to flash.&lt;/P&gt;&lt;P&gt;Hope my reply can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 22:48:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Store-data-on-internal-non-Volatile-Memory/m-p/244904#M6339</guid>
      <dc:creator>Paul_Tian</dc:creator>
      <dc:date>2013-05-17T22:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Store data on internal non Volatile Memory</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Store-data-on-internal-non-Volatile-Memory/m-p/244905#M6340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, sorry I miss that routine!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to ask you some more question. I'm used to work with .LCF and .PRM files, where the segments are defined. Now I can't find the equivalent for the Kinetis. I'm using IAR Workbench.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- How can I tell where does the FLASH begins/ends? Where can I modify that?&lt;/P&gt;&lt;P&gt;- What's the samallest partion that I can erase(1kb?) and How can I do that? I mean, I've seen the "FlashEraseAllBlock" rotuine but I guess that erase ALL the flash&lt;/P&gt;&lt;P&gt;- And the last question is about the "flow". Why I need to init flash and then re-init it? What about the unsecure_key? and can you explain me what's DEFlashPartition for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much. You're helping me a lot!&lt;/P&gt;&lt;P&gt;Best Regards!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SebaS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 12:25:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Store-data-on-internal-non-Volatile-Memory/m-p/244905#M6340</guid>
      <dc:creator>sebasira</dc:creator>
      <dc:date>2013-05-20T12:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Store data on internal non Volatile Memory</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Store-data-on-internal-non-Volatile-Memory/m-p/244906#M6341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Sebasria&lt;/P&gt;&lt;P&gt;1. For flash memory, you can reference this picture.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="memory map.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119359iDE306675192D091D/image-size/large?v=v2&amp;amp;px=999" role="button" title="memory map.bmp" alt="memory map.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. Yes, it is 1K. I will provide a simple sector erase function "FlashEraseSector" for your reference as attached.&lt;/P&gt;&lt;P&gt;3. If you did flexNVM partition operation, you need to re-init flash. If you do not do this operation, of course, you need not.&lt;/P&gt;&lt;P&gt;4. If you are interest in FlexNVM operation, you can reference an application note &lt;A href="http://cache.freescale.com/files/32bit/doc/app_note/AN4282.pdf?fsrch=1&amp;amp;sr=24"&gt;http://cache.freescale.com/files/32bit/doc/app_note/AN4282.pdf?fsrch=1&amp;amp;sr=24&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope my reply can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 03:20:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Store-data-on-internal-non-Volatile-Memory/m-p/244906#M6341</guid>
      <dc:creator>Paul_Tian</dc:creator>
      <dc:date>2013-05-21T03:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Store data on internal non Volatile Memory</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Store-data-on-internal-non-Volatile-Memory/m-p/244907#M6342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One more time, thank you for your reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm experiencing some troubles with this. For example, it only "works" if I run it as DEBUG. If I do it in RELEASE, it gets stuck inside EraseAllBlock (I can't tell where, because it's the release version and it doesn't accept breakpoints or halt).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And when in DEBUG, it only works (writes the flash) if I put a breakpoint after the ProgramLongword routine and then reset the MCU. At that point is where I can see the data written (in Memory windows). If I do not do so, then it does not write. I can tell this not only because I can't see it on the Memory Windows, but also I print it out via UART and there are all 0xFF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you can help me here!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;SebaS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 12:11:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Store-data-on-internal-non-Volatile-Memory/m-p/244907#M6342</guid>
      <dc:creator>sebasira</dc:creator>
      <dc:date>2013-05-21T12:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Store data on internal non Volatile Memory</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Store-data-on-internal-non-Volatile-Memory/m-p/244908#M6343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paul!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've solve the problem!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was due to the fact that ("I guess") I was trying to re-program an address where the firmware reside. And that's why it hangs in the release version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I've change that address to be 0x7F800 ( the last 2KB of PFLASH) and I have no problem with it and works like a charm!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I've got a final question.&lt;/P&gt;&lt;P&gt;Where and How can I defined the code sections and nonVolatileData section?&lt;/P&gt;&lt;P&gt;For example I want the code to reside from 0x00000000 to 0x0007F7FF and also NVMdata from 0x0007F800 to 0x0007FFFF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANK YOU!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SebaS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 13:43:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Store-data-on-internal-non-Volatile-Memory/m-p/244908#M6343</guid>
      <dc:creator>sebasira</dc:creator>
      <dc:date>2013-05-21T13:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Store data on internal non Volatile Memory</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Store-data-on-internal-non-Volatile-Memory/m-p/244909#M6344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Am I missing something?&amp;nbsp; But in your flexmem_demo.c snippet it includes flexmem_demo.h.&amp;nbsp; I can't seem to find that file (and I've downloaded the C90 driver and the app note code referenced above)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a K10&amp;nbsp; MK10DX256ZVLQ10 micro.&amp;nbsp; I just want to set up a small area to save the state of 10 bytes of data.&amp;nbsp; I realize that I have to erase / write by sectors which is fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help here?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 03:24:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Store-data-on-internal-non-Volatile-Memory/m-p/244909#M6344</guid>
      <dc:creator>keithkolmos</dc:creator>
      <dc:date>2014-01-07T03:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Store data on internal non Volatile Memory</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Store-data-on-internal-non-Volatile-Memory/m-p/244910#M6345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Keith,&lt;/P&gt;&lt;P&gt;Do you have your project working?&amp;nbsp; I am using the MK10DX128, and I'm having a heck of a time storing to NVM and then reading it back.&amp;nbsp; I have EEPROM defined from 0x14000000 to 0x140003FF and from 0x14000400 to 0x140007FF.&amp;nbsp; Ultimately, I'm just trying to read a word back from 0x14000040. I'm in debug mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Writing like this seems to work:&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;#define &lt;SPAN style="font-size: 10pt;"&gt;WORD_VALUE_ADDR 0x14000040&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;EEEWrite(address, 0x02, value);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;But everything I've tried to read data back seems to give me a hard fault:&lt;/SPAN&gt;&lt;STRONG&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P align="left"&gt;value = READ8(0x14000040); --&amp;gt; FAULT&lt;/P&gt;&lt;P&gt;value = *((unsigned char *)0x14000040); --&amp;gt; FAULT&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;value = *((unsigned char *)&lt;SPAN style="font-size: 10pt;"&gt;WORD_VALUE_ADDR &lt;/SPAN&gt;); --&amp;gt; FAULT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;value = *((uint16 *)&lt;SPAN style="font-size: 10pt;"&gt;WORD_VALUE_ADDR &lt;/SPAN&gt;); --&amp;gt; FAULT&lt;/SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left"&gt;Where can I find a simple EEERead(address, size)???&lt;/P&gt;&lt;P align="left"&gt;&lt;BR /&gt;Let me know if you've figured this out.&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left"&gt;Thanks,&lt;/P&gt;&lt;P align="left"&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 16:48:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Store-data-on-internal-non-Volatile-Memory/m-p/244910#M6345</guid>
      <dc:creator>jonathanscott</dc:creator>
      <dc:date>2014-01-30T16:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Store data on internal non Volatile Memory</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Store-data-on-internal-non-Volatile-Memory/m-p/244911#M6346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a Freescale K60DN512 and MQX4.1 .&lt;/P&gt;&lt;P&gt;Also I need to store some data on NVM memory. I followed the example flash_demo.c and it works fine. My problem is that if I re-flash the program (for example for an update of FW) I lose my previous data stored into NVM memory.&lt;/P&gt;&lt;P&gt;Is there a way to preserve my NVM data after a reload of FLASH memory&amp;nbsp;? What is my mystake? Thanks all,&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 07:05:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Store-data-on-internal-non-Volatile-Memory/m-p/244911#M6346</guid>
      <dc:creator>stefano_conegia</dc:creator>
      <dc:date>2017-05-04T07:05:54Z</dc:date>
    </item>
  </channel>
</rss>

