<?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 Using the Internal FLASH for store data in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-the-Internal-FLASH-for-store-data/m-p/1581452#M64565</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I want to store any data in my Kinetis MCU's(MKV11Z) flash. I want to read last data value when mcu turn on. There are good pages like &lt;A href="https://mcuoneclipse.com/2014/05/31/configuration-data-using-the-internal-flash-instead-of-an-external-eeprom/" target="_blank" rel="noopener"&gt;Erich Styger's Blog&lt;/A&gt;&amp;nbsp;. I read it but I can't try code. Because&amp;nbsp; I couldnt acces component inspector page at MCUXpresso.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Are there any way to store data in kinetis MCU? or example?&lt;BR /&gt;&lt;BR /&gt;Thanks for the helps.&lt;BR /&gt;&lt;BR /&gt;Ali Bugra Cetin&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jan 2023 07:09:50 GMT</pubDate>
    <dc:creator>alicetin</dc:creator>
    <dc:date>2023-01-12T07:09:50Z</dc:date>
    <item>
      <title>Using the Internal FLASH for store data</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-the-Internal-FLASH-for-store-data/m-p/1581452#M64565</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I want to store any data in my Kinetis MCU's(MKV11Z) flash. I want to read last data value when mcu turn on. There are good pages like &lt;A href="https://mcuoneclipse.com/2014/05/31/configuration-data-using-the-internal-flash-instead-of-an-external-eeprom/" target="_blank" rel="noopener"&gt;Erich Styger's Blog&lt;/A&gt;&amp;nbsp;. I read it but I can't try code. Because&amp;nbsp; I couldnt acces component inspector page at MCUXpresso.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Are there any way to store data in kinetis MCU? or example?&lt;BR /&gt;&lt;BR /&gt;Thanks for the helps.&lt;BR /&gt;&lt;BR /&gt;Ali Bugra Cetin&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 07:09:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-the-Internal-FLASH-for-store-data/m-p/1581452#M64565</guid>
      <dc:creator>alicetin</dc:creator>
      <dc:date>2023-01-12T07:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Internal FLASH for store data</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-the-Internal-FLASH-for-store-data/m-p/1581488#M64566</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/191366"&gt;@alicetin&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;I'm using the same (well, similar) approach with the McuLib which includes basically many of the former Processor Expert component functionality, but now ported to the MCUXpresso SDK.&lt;/P&gt;&lt;P&gt;You might have a read at:&lt;/P&gt;&lt;P&gt;&lt;A href="https://mcuoneclipse.com/2021/12/19/key-value-pairs-in-flash-memory-file-system-less-minini/" target="_blank"&gt;https://mcuoneclipse.com/2021/12/19/key-value-pairs-in-flash-memory-file-system-less-minini/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I'm using it with an LPC55S16 here too:&lt;/P&gt;&lt;P&gt;&lt;A href="https://mcuoneclipse.com/2021/12/30/lorawan-with-nxp-lpc55s16-and-arm-cortex-m33/" target="_blank"&gt;https://mcuoneclipse.com/2021/12/30/lorawan-with-nxp-lpc55s16-and-arm-cortex-m33/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The key part is in the McuFlash.c&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ErichStyger_0-1673509067385.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/207033i9BA7FD5EED03845E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ErichStyger_0-1673509067385.png" alt="ErichStyger_0-1673509067385.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It supports 'Kinetis', but I have used it only with the K22 and K02 family, and I don't have any KV one. So I assume you would have to implement the basic flash programming in McuFlash.c/h/config, but this should not be difficult (I hope).&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 07:39:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-the-Internal-FLASH-for-store-data/m-p/1581488#M64566</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2023-01-12T07:39:35Z</dc:date>
    </item>
  </channel>
</rss>

