<?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 Re: saving data on KL43Z in ROM or FLASH during runtime in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/saving-data-on-KL43Z-in-ROM-or-FLASH-during-runtime/m-p/411276#M23263</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just one last question, how do I read back the data stored ?? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I use FlashReadResource ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jun 2015 18:45:53 GMT</pubDate>
    <dc:creator>thiagopalmieri</dc:creator>
    <dc:date>2015-06-02T18:45:53Z</dc:date>
    <item>
      <title>saving data on KL43Z in ROM or FLASH during runtime</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/saving-data-on-KL43Z-in-ROM-or-FLASH-during-runtime/m-p/411272#M23259</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 project that need to persist some data (1 or 2 bytes) during restarts/reboots/resets. It is a configuration information that can be changed during runtime by the user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to share the booitloader ROM space for that or use the flash?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, is there any application note or example code that I can look at?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 16:37:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/saving-data-on-KL43Z-in-ROM-or-FLASH-during-runtime/m-p/411272#M23259</guid>
      <dc:creator>thiagopalmieri</dc:creator>
      <dc:date>2015-05-29T16:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: saving data on KL43Z in ROM or FLASH during runtime</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/saving-data-on-KL43Z-in-ROM-or-FLASH-during-runtime/m-p/411273#M23260</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;Any Flash sector can be used to save updateable parameters to (as long as the same sector is not used for code).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See &lt;A href="http://www.utasker.com/docs/uTasker/uTaskerFileSystem_3.PDF" title="http://www.utasker.com/docs/uTasker/uTaskerFileSystem_3.PDF"&gt;http://www.utasker.com/docs/uTasker/uTaskerFileSystem_3.PDF&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also &lt;A href="http://www.utasker.com/kinetis/FRDM-KL43Z.html" title="http://www.utasker.com/kinetis/FRDM-KL43Z.html"&gt;µTasker FRDM-KL43Z support&lt;/A&gt; - parameters can be modified and saved to Flash using the command line menu.In the "I/O menu" flash reads, writes and deletes can be experimented with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kinetis: &lt;A href="http://www.utasker.com/kinetis.html" title="http://www.utasker.com/kinetis.html"&gt;µTasker Kinetis support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;KL43: &lt;A href="http://www.utasker.com/kinetis/FRDM-KL43Z.html" title="http://www.utasker.com/kinetis/FRDM-KL43Z.html"&gt;µTasker FRDM-KL43Z support&lt;/A&gt;&amp;nbsp; / &lt;A href="http://www.utasker.com/kinetis/TWR-KL43Z48M.html" title="http://www.utasker.com/kinetis/TWR-KL43Z48M.html"&gt;µTasker TWR-KL43Z48M support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 21:10:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/saving-data-on-KL43Z-in-ROM-or-FLASH-during-runtime/m-p/411273#M23260</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-05-29T21:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: saving data on KL43Z in ROM or FLASH during runtime</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/saving-data-on-KL43Z-in-ROM-or-FLASH-during-runtime/m-p/411274#M23261</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;Please download C90TFS_FLASH_DRIVER(TFS Flash Driver Software for Kinetis and ColdFire+ MicroControllers) from &lt;A href="http://cache.freescale.com/files/32bit/software/C90TFS_FLASH_DRIVER.exe"&gt;here,&lt;/A&gt; which includes the KL46 product Flash erase/program operation (customer could refer to storage some data to Flash memory).&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 03:36:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/saving-data-on-KL43Z-in-ROM-or-FLASH-during-runtime/m-p/411274#M23261</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2015-06-02T03:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: saving data on KL43Z in ROM or FLASH during runtime</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/saving-data-on-KL43Z-in-ROM-or-FLASH-during-runtime/m-p/411275#M23262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Hui_Ma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.... I have tried your driver and it works great !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Thiago&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 17:39:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/saving-data-on-KL43Z-in-ROM-or-FLASH-during-runtime/m-p/411275#M23262</guid>
      <dc:creator>thiagopalmieri</dc:creator>
      <dc:date>2015-06-02T17:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: saving data on KL43Z in ROM or FLASH during runtime</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/saving-data-on-KL43Z-in-ROM-or-FLASH-during-runtime/m-p/411276#M23263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just one last question, how do I read back the data stored ?? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I use FlashReadResource ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 18:45:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/saving-data-on-KL43Z-in-ROM-or-FLASH-during-runtime/m-p/411276#M23263</guid>
      <dc:creator>thiagopalmieri</dc:creator>
      <dc:date>2015-06-02T18:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: saving data on KL43Z in ROM or FLASH during runtime</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/saving-data-on-KL43Z-in-ROM-or-FLASH-during-runtime/m-p/411277#M23264</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;Read data from Flash memory just like read a data from a dedicated address, please refer below code as an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//from flash address 0x1000, read 16 bytes back&lt;/P&gt;&lt;P&gt;destination = 0x1000;&amp;nbsp; // flash address 0x1000&lt;/P&gt;&lt;P style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;#define BUFFER_SIZE_BYTE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x10&lt;/P&gt;&lt;P style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;UINT32 programvalue[BUFFER_SIZE_BYTE];&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&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; for (i = 0; i&amp;lt;BUFFER_SIZE_BYTE; i=i+4)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&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 style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&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;&amp;nbsp; programvalue[i] = *((UINT32 *)(destination+i)) ;&lt;/P&gt;&lt;P style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&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;&amp;nbsp; printf("\n programvalue[%d] = 0x%4x \n", i, programvalue[i]);&lt;/P&gt;&lt;P style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;&lt;/P&gt;&lt;DIV style="background-color: inherit;"&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;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 01:02:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/saving-data-on-KL43Z-in-ROM-or-FLASH-during-runtime/m-p/411277#M23264</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2015-06-03T01:02:54Z</dc:date>
    </item>
  </channel>
</rss>

