<?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 How can i store some data into flexNVM or flash memory ? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-i-store-some-data-into-flexNVM-or-flash-memory/m-p/442562#M25993</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;settitng :&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;I am using MK64FN1M0VLL12 MCU&amp;nbsp; , KDS 3.0.0,&amp;nbsp; MQX V 1.1.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;BR /&gt;Question :&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;I want to store some data into NVM or flash before Power down.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;and right after Power on again , I want to read the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;but I dont know how edit the ProcessorExpert.pe and etc...&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;the data I want to store is just 12byte. so can i get a manual or advice about processing a components&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="93161_93161.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120743i19FCC97C6008103E/image-size/large?v=v2&amp;amp;px=999" role="button" title="93161_93161.png" alt="93161_93161.png" /&gt;&lt;/span&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/25829iBD4A57B8633E89DC/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 style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Oct 2015 13:32:37 GMT</pubDate>
    <dc:creator>josol</dc:creator>
    <dc:date>2015-10-29T13:32:37Z</dc:date>
    <item>
      <title>How can i store some data into flexNVM or flash memory ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-i-store-some-data-into-flexNVM-or-flash-memory/m-p/442562#M25993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;settitng :&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;I am using MK64FN1M0VLL12 MCU&amp;nbsp; , KDS 3.0.0,&amp;nbsp; MQX V 1.1.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;BR /&gt;Question :&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;I want to store some data into NVM or flash before Power down.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;and right after Power on again , I want to read the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;but I dont know how edit the ProcessorExpert.pe and etc...&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;the data I want to store is just 12byte. so can i get a manual or advice about processing a components&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="93161_93161.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120743i19FCC97C6008103E/image-size/large?v=v2&amp;amp;px=999" role="button" title="93161_93161.png" alt="93161_93161.png" /&gt;&lt;/span&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/25829iBD4A57B8633E89DC/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 style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 13:32:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-i-store-some-data-into-flexNVM-or-flash-memory/m-p/442562#M25993</guid>
      <dc:creator>josol</dc:creator>
      <dc:date>2015-10-29T13:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can i store some data into flexNVM or flash memory ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-i-store-some-data-into-flexNVM-or-flash-memory/m-p/442563#M25994</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;First of all, the &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;MK64FN1M0VLL12 MCU has no FlexNVM as far as I know.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Second, you don't need to edit the ProcessorExpert.pe directly! &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Just add the Flash1 component through Processor Expert interface and configure it according to your needs (define some memory region for data in your MCU memory).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;After that you may use Flash1 Methods and Events (I've used &lt;EM&gt;FLASH1_Write&lt;/EM&gt;, &lt;EM&gt;FLASH1_GetOperationStatus&lt;/EM&gt;,&amp;nbsp; &lt;EM&gt;FLASH1_OnOperationComplete&lt;/EM&gt; and &lt;EM&gt;FLASH1_Main&lt;/EM&gt; for instance) to do what you want - it is pretty straight forward!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;In order to read the data, instead of using the Flash1 Read function,&amp;nbsp; you can simply create a pointer to the flash address and read for it that it will work fine, like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14461288571308363" data-renderedposition="260_8_1232_16" jivemacro_uid="_14461288571308363" modifiedtitle="true"&gt;&lt;P&gt;data = *((flash_data *)DATA_FLASH_START);&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 14:30:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-i-store-some-data-into-flexNVM-or-flash-memory/m-p/442563#M25994</guid>
      <dc:creator>lfschrickte</dc:creator>
      <dc:date>2015-10-29T14:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: How can i store some data into flexNVM or flash memory ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-i-store-some-data-into-flexNVM-or-flash-memory/m-p/442564#M25995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for kind reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to write or read the data. and i added component successfully&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i found a useful post -&amp;gt; &lt;A href="https://community.nxp.com/message/335691"&gt;Re: Erasing Flash sectors in KL25 on the Freedom Board.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i successfully write and read a data at first time. but it didn't work at second time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while debugging, i found that in UnhandledInterrupt, the process stoped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can i get a answer about this problem? it's my code, and debugging window.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;uint8 FromPtr[6] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF};&lt;/P&gt;&lt;P&gt;uint8 ToPtr[6];&lt;/P&gt;&lt;P&gt;int OpStatus;&lt;/P&gt;&lt;P&gt;LDD_TError OpStatus;&lt;/P&gt;&lt;P&gt;LDD_TDeviceData* FLASH1Pointer;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FXAS2100X_calib(I2C_DeviceData);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FLASH1_Erase(FLASH1Pointer, 0xFFFFA, 0x6);&amp;nbsp; //erase&lt;/P&gt;&lt;P&gt;&amp;nbsp; do {&lt;/P&gt;&lt;P&gt;&amp;nbsp; FLASH1_Main(FLASH1Pointer);&lt;/P&gt;&lt;P&gt;&amp;nbsp; OpStatus = FLASH1_GetOperationStatus(FLASH1Pointer);&lt;/P&gt;&lt;P&gt;&amp;nbsp; } while (!((OpStatus == LDD_FLASH_IDLE) | (OpStatus == LDD_FLASH_FAILED)));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; FLASH1_Write(FLASH1Pointer, FromPtr, 0xFFFFA, 0x6);&amp;nbsp; //write&lt;/P&gt;&lt;P&gt;&amp;nbsp; do {&lt;/P&gt;&lt;P&gt;&amp;nbsp; FLASH1_Main(FLASH1Pointer);&lt;/P&gt;&lt;P&gt;&amp;nbsp; OpStatus = FLASH1_GetOperationStatus(FLASH1Pointer);&lt;/P&gt;&lt;P&gt;&amp;nbsp; } while (!((OpStatus == LDD_FLASH_IDLE) | (OpStatus == LDD_FLASH_FAILED)));&lt;/P&gt;&lt;P&gt;&amp;nbsp; FLASH1_Read(FLASH1Pointer,0xFFFFA, ToPtr, 0x6);&amp;nbsp; //read&lt;/P&gt;&lt;P&gt;&amp;nbsp; do {&lt;/P&gt;&lt;P&gt;&amp;nbsp; FLASH1_Main(FLASH1Pointer);&lt;/P&gt;&lt;P&gt;&amp;nbsp; OpStatus = FLASH1_GetOperationStatus(FLASH1Pointer);&lt;/P&gt;&lt;P&gt;&amp;nbsp; } while (!((OpStatus == LDD_FLASH_IDLE) | (OpStatus == LDD_FLASH_FAILED)));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/4924iA17DE3278EF1F212/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 02:45:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-i-store-some-data-into-flexNVM-or-flash-memory/m-p/442564#M25995</guid>
      <dc:creator>josol</dc:creator>
      <dc:date>2015-10-30T02:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: How can i store some data into flexNVM or flash memory ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-i-store-some-data-into-flexNVM-or-flash-memory/m-p/442565#M25996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Jo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have a call like this somewhere?&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="_jivemacro_uid_14462249577023872 jive_macro_code jive_text_macro" data-renderedposition="71_8_1232_16" jivemacro_uid="_14462249577023872" modifiedtitle="true"&gt;&lt;P&gt;FLASH1Pointer = FLASH1_Init(NULL);&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to this before the other FLASH1 calls!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other things I noticed is your condition checking:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14462252452734112 jive_text_macro" data-renderedposition="192_8_1232_16" jivemacro_uid="_14462252452734112"&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;while (!((OpStatus == LDD_FLASH_IDLE) | (OpStatus == LDD_FLASH_FAILED)));&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The '|' operator is the bitwise OR, but what you want in there is the conditional OR, which is represented by two bars: '||'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other tip: put some other pattern in your FromPtr array - 0xFF may get you confused as this is what happens to this flash memory when you erase it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another hint: use 4 bytes multiple array sizes - this may save you from some future alignment trouble.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Luiz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 17:18:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-i-store-some-data-into-flexNVM-or-flash-memory/m-p/442565#M25996</guid>
      <dc:creator>lfschrickte</dc:creator>
      <dc:date>2015-10-30T17:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: How can i store some data into flexNVM or flash memory ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-i-store-some-data-into-flexNVM-or-flash-memory/m-p/442566#M25997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for f&lt;SPAN class="hps"&gt;riendly&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;answer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;i tried all method you suggeted, but Unfortunately it doesn't work to my board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;so I find the post that someone has a same problem with me&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;-&amp;gt; &lt;A href="https://community.nxp.com/thread/304432"&gt;K60N512 Memory&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;and the answer is that this was happening because the sector that i was trying to write to was not erased. the PE generated code does not erase the sector for me prior to writing to it, and i have to erase it myself&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;so i don't know how can i erase the sector.... &lt;SPAN class="hps"&gt;I would appreciate&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;your&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;help... Thank you&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;(perhaps, it may beproblem with MQX, so i will post same content to MQX community) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Oct 2015 05:55:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-i-store-some-data-into-flexNVM-or-flash-memory/m-p/442566#M25997</guid>
      <dc:creator>josol</dc:creator>
      <dc:date>2015-10-31T05:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can i store some data into flexNVM or flash memory ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-i-store-some-data-into-flexNVM-or-flash-memory/m-p/442567#M25998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jo Sol:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry for the troubles you've had so far. I will explain the issues and attached you can find an example project similar to your code but with corrections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- First the hardfault you observed was most probably because of over programming the same phrase (8-bytes) without a previous erase. I think this is a bug in the &lt;STRONG&gt;FLASH_LDD&lt;/STRONG&gt; component which allows over programming, as discussed in the next thread: &lt;A href="https://community.nxp.com/thread/378182"&gt;What are the rules for random writes to Flash? (K64)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Luiz is correct about the conditional &lt;STRONG&gt;OR&lt;/STRONG&gt; operator (&lt;STRONG&gt;| |&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- The information about the parameters in the &lt;STRONG&gt;_Erase()&lt;/STRONG&gt; function is misleading. I noticed that &lt;STRONG&gt;FromAddress&lt;/STRONG&gt; must be aligned to the start of a flash sector and &lt;STRONG&gt;Size&lt;/STRONG&gt; must be a multiple of the sector size. The K64 has a sector size of 4096 Bytes (4 KB). In your example you need to write to address &lt;STRONG&gt;0xFFFFA&lt;/STRONG&gt;, so you have to erase the last flash sector, from &lt;STRONG&gt;0xFF000&lt;/STRONG&gt; to &lt;STRONG&gt;0xFFFFF&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the example project I enabled Auto initialization from the &lt;STRONG&gt;FLASH_LDD&lt;/STRONG&gt; component settings so you don't have to call the &lt;STRONG&gt;_Init()&lt;/STRONG&gt; function. Just notice that the first parameter for the APIs would be &lt;STRONG&gt;FLASH1_DeviceData&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already reported the issues with the component to the Processor Expert team.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;BR /&gt;Jorge Gonzalez&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Nov 2015 04:33:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-i-store-some-data-into-flexNVM-or-flash-memory/m-p/442567#M25998</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-11-01T04:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: How can i store some data into flexNVM or flash memory ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-i-store-some-data-into-flexNVM-or-flash-memory/m-p/442568#M25999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Luiz , Jorge&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to erase 0xFF000~0xFFFFF again and now it work well&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;without your help, i can not figure it out.&lt;/P&gt;&lt;P&gt;Thank you very much , Have a nice day!~!:smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Nov 2015 23:37:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-i-store-some-data-into-flexNVM-or-flash-memory/m-p/442568#M25999</guid>
      <dc:creator>josol</dc:creator>
      <dc:date>2015-11-01T23:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: How can i store some data into flexNVM or flash memory ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-i-store-some-data-into-flexNVM-or-flash-memory/m-p/442569#M26000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge,&lt;/P&gt;&lt;P&gt;I might sound a bit unreasonable here... I have been trying to add the flexNVM feature of reading and writing data between power cycles for some time now with no success what so ever.... Can you please help me with a similar project u created here...?? I'm working on a bare board project on MK10DX128VLH5 and need to save a structure of an unsigned char and 4 unsigned into variables on the flash data which can be read between power cycles... Your help on this would be of great great help for as I'm almost on my submission date here and this flexNVM is about to kill me.... :smileysad:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prafful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2015 11:35:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-i-store-some-data-into-flexNVM-or-flash-memory/m-p/442569#M26000</guid>
      <dc:creator>psjhawer</dc:creator>
      <dc:date>2015-12-09T11:35:39Z</dc:date>
    </item>
  </channel>
</rss>

