<?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>Wireless MCUのトピックRe: Read/Write flash in FRDM KW41Z</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/Read-Write-flash-in-FRDM-KW41Z/m-p/851233#M5761</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By any chance, have you checked the &lt;EM style="color: #0000ff; "&gt;pflash&amp;nbsp;&lt;/EM&gt;example in the SDK ?&amp;nbsp;Wasn't it helpful for you? If that was not what you were looking for, just let me know.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;BR /&gt;Estephania&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Mar 2019 18:43:26 GMT</pubDate>
    <dc:creator>stephanie_m</dc:creator>
    <dc:date>2019-03-12T18:43:26Z</dc:date>
    <item>
      <title>Read/Write flash in FRDM KW41Z</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Read-Write-flash-in-FRDM-KW41Z/m-p/851232#M5760</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;I am using BLE + thread hybrid application for FRDM KW41Z board. I want to store some details into permanent storage and read them&amp;nbsp;on every reboot. I explored into the SDK but I didn't find any example code demonstrating some read/write operations in permanent storage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me on how to read and write data in flash? Also, Are there any filesystem&amp;nbsp;API available like fopen, fwrite, etc. ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FRDM version:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;a) BLE HOST v1.2.6&lt;BR /&gt;b) IEEE 802.15.4 MAC v5.3.6&lt;BR /&gt;c) NXP Thread v1.1.1.20&lt;BR /&gt;d) CONNECTIVITY FRAMEWORK v5.3.6&lt;/P&gt;&lt;P&gt;e) Thread SDK: SDK_2.2.0_FRDM-KW41Z_LINUX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kunal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2019 14:40:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Read-Write-flash-in-FRDM-KW41Z/m-p/851232#M5760</guid>
      <dc:creator>kunalkotecha1</dc:creator>
      <dc:date>2019-03-12T14:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Read/Write flash in FRDM KW41Z</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Read-Write-flash-in-FRDM-KW41Z/m-p/851233#M5761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By any chance, have you checked the &lt;EM style="color: #0000ff; "&gt;pflash&amp;nbsp;&lt;/EM&gt;example in the SDK ?&amp;nbsp;Wasn't it helpful for you? If that was not what you were looking for, just let me know.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;BR /&gt;Estephania&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2019 18:43:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Read-Write-flash-in-FRDM-KW41Z/m-p/851233#M5761</guid>
      <dc:creator>stephanie_m</dc:creator>
      <dc:date>2019-03-12T18:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Read/Write flash in FRDM KW41Z</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Read-Write-flash-in-FRDM-KW41Z/m-p/851234#M5762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/estephania_martinez"&gt;estephania_martinez&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;I flashed the default &lt;STRONG&gt;"pflash"&lt;/STRONG&gt; example but its not even able to boot. I read the &lt;STRONG&gt;"MCUXpresso SDK API Reference Manual_MKW41Z4.pdf"&amp;nbsp;&lt;/STRONG&gt;which says flash driver api's are meant for C90TFS. I added the below lines from pdf.&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;STRONG&gt;"The flash provides the C90TFS Flash driver of MCUXpresso SDK devices with the C90TFS Flash&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;mod&lt;/STRONG&gt;&lt;STRONG&gt;ule inside. The flash driver provides general APIs to handle specific operations on C90TFS/FTFx Flash&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;module."&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;Can you please help me with storing some data in flash and reading them back?Also, What is pflash, dflash and are there are documents explaining them?&amp;nbsp;At what address should I store the data?&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;Below are the flash properties read from my hybrid application.&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;STRONG&gt;kFLASH_PropertyPflashSectorSize: 0x800&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;kFLASH_PropertyPflashTotalSize: 0x80000&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;kFLASH_PropertyPflashBlockSize: 0x40000&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;kFLASH_PropertyPflashBlockCount: 0x2&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;kFLASH_PropertyPflashBlockBaseAddr: 0x0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;kFLASH_PropertyPflashFacSupport: 0x1&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;kFLASH_PropertyPflashAccessSegmentSize: 0x2000&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;kFLASH_PropertyPflashAccessSegmentCount: 0x40&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;kFLASH_PropertyFlexRamBlockBaseAddr: 0x0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;kFLASH_PropertyFlexRamTotalSize: 0x0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;kFLASH_PropertyDflashSectorSize: 0x0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;kFLASH_PropertyDflashTotalSize: 0x0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;kFLASH_PropertyDflashBlockSize: 0x0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;kFLASH_PropertyDflashBlockCount: 0x0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;kFLASH_PropertyDflashBlockBaseAddr: 0x0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;kFLASH_PropertyEepromTotalSize: 0x0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;kFLASH_PropertyFlashMemoryIndex: 0x0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;kFLASH_PropertyFlashCacheControllerIndex: 0x0&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;Regards,&lt;/P&gt;&lt;P style="text-align: justify;"&gt;Kunal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2019 08:48:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Read-Write-flash-in-FRDM-KW41Z/m-p/851234#M5762</guid>
      <dc:creator>kunalkotecha1</dc:creator>
      <dc:date>2019-03-13T08:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Read/Write flash in FRDM KW41Z</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Read-Write-flash-in-FRDM-KW41Z/m-p/851235#M5763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P-Flash is program flash, which is where you store program code.&lt;/P&gt;&lt;P&gt;D-Flash is data flash, where you store non-volatile data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to run the example correctly from my side, you might want to check the&amp;nbsp;App_NvmWrite function and to understand more about this topic, please check the&amp;nbsp;BLE Application Developer's Guide putting special attention to the chapter&amp;nbsp;2.3 Non-Volatile Memory (NVM) access, I believe that might work for your purposes especially as there are already APIs and usage in the connectivity framework.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Estephania&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2019 18:32:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Read-Write-flash-in-FRDM-KW41Z/m-p/851235#M5763</guid>
      <dc:creator>stephanie_m</dc:creator>
      <dc:date>2019-03-14T18:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Read/Write flash in FRDM KW41Z</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Read-Write-flash-in-FRDM-KW41Z/m-p/851236#M5764</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;Thank you for your suggestions. I have tried with NVM API and able to do read/write operations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kunal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Mar 2019 14:52:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Read-Write-flash-in-FRDM-KW41Z/m-p/851236#M5764</guid>
      <dc:creator>kunalkotecha1</dc:creator>
      <dc:date>2019-03-15T14:52:01Z</dc:date>
    </item>
  </channel>
</rss>

