<?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 save bytes in flash  in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/save-bytes-in-flash/m-p/807473#M49082</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am using TWRK80F150M BOARD and i want to save data (50 bytes)permanently (if power off than do not lost data) in flash please suggest how to save data in flash as well as any other option&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Aug 2018 12:03:47 GMT</pubDate>
    <dc:creator>nileshravaliya</dc:creator>
    <dc:date>2018-08-21T12:03:47Z</dc:date>
    <item>
      <title>save bytes in flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/save-bytes-in-flash/m-p/807473#M49082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am using TWRK80F150M BOARD and i want to save data (50 bytes)permanently (if power off than do not lost data) in flash please suggest how to save data in flash as well as any other option&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 12:03:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/save-bytes-in-flash/m-p/807473#M49082</guid>
      <dc:creator>nileshravaliya</dc:creator>
      <dc:date>2018-08-21T12:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: save bytes in flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/save-bytes-in-flash/m-p/807474#M49083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nilesh Ravaliya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the following document:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="jive_macro jive_macro_document link-titled" data-orig-content="Relocating Code and Data Using the &amp;lt;g class=&amp;quot;gr_ gr_83 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace&amp;quot; id=&amp;quot;83&amp;quot; data-gr-id=&amp;quot;83&amp;quot;&amp;gt;MCUXpresso&amp;lt;/g&amp;gt; IDE" href="https://community.nxp.com/docs/DOC-335283" title="Relocating Code and Data Using the MCUXpresso IDE"&gt;Relocating Code and Data Using the MCUXpresso IDE&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, you can use the&amp;nbsp;#include &amp;lt;cr_section_macros.h&amp;gt; and save data in a specific flash section. The sector size is 4KB for the K80, and with the management memory, you can reserve some flash space for your data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this information could help you, please don't hesitate to contact me if you have any other question about this.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 23:49:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/save-bytes-in-flash/m-p/807474#M49083</guid>
      <dc:creator>jorge_a_vazquez</dc:creator>
      <dc:date>2018-08-22T23:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: save bytes in flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/save-bytes-in-flash/m-p/807475#M49084</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;Thanks for your valuable reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your reply I can use only temporary when I switch off device data will be lost. Am I right??&lt;/P&gt;&lt;P&gt;But I want permanent data bytes store in flash is it possible every time I can read this byte on startup device?&lt;/P&gt;&lt;P&gt;this is my parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards with&lt;/P&gt;&lt;P&gt;Nilesh Ravaliya&lt;/P&gt;&lt;P&gt;8980035565&lt;/P&gt;&lt;P&gt;Access Computech Pvt. Ltd.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2018 04:35:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/save-bytes-in-flash/m-p/807475#M49084</guid>
      <dc:creator>nileshravaliya</dc:creator>
      <dc:date>2018-08-23T04:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: save bytes in flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/save-bytes-in-flash/m-p/807476#M49085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nilesh Ravaliya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The community document that I share only illustrates the relocation of code and data, but you could use, for example, the __RODATA(bank) define to place rodata into a flash section defined in the linker script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will save data when you download the code into the flash, but if you want to place your data in runtime, you going to need to use the Flash APIs from the SDK, you could check the flash example code, which demonstrates how to program user data into the last section memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, please let me know if you have any question.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 20:27:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/save-bytes-in-flash/m-p/807476#M49085</guid>
      <dc:creator>jorge_a_vazquez</dc:creator>
      <dc:date>2018-08-27T20:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: save bytes in flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/save-bytes-in-flash/m-p/807477#M49086</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;Can you provide me flash api document as well as code because I have tried 4 MB qspi flash but it is not working TWRK80 BOARD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out of this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards with&lt;/P&gt;&lt;P&gt;Nilesh Ravaliya&lt;/P&gt;&lt;P&gt;8980035565&lt;/P&gt;&lt;P&gt;Access Computech Pvt. Ltd.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 04:19:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/save-bytes-in-flash/m-p/807477#M49086</guid>
      <dc:creator>nileshravaliya</dc:creator>
      <dc:date>2018-08-28T04:19:09Z</dc:date>
    </item>
  </channel>
</rss>

