<?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: KE15Z unable to write to FlexNVM using bootloader flash API in MCU Bootloader</title>
    <link>https://community.nxp.com/t5/MCU-Bootloader/KE15Z-unable-to-write-to-FlexNVM-using-bootloader-flash-API/m-p/960764#M1033</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is the core code I'm using. Most of the code lives as the structure, as given in the reference manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I forgot to add, the interrupt macros are defined below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define EnableInterrupts __asm(" CPSIE i");&lt;BR /&gt;#define DisableInterrupts __asm(" CPSID i");&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Oct 2019 14:50:05 GMT</pubDate>
    <dc:creator>eric_schwartz</dc:creator>
    <dc:date>2019-10-18T14:50:05Z</dc:date>
    <item>
      <title>KE15Z unable to write to FlexNVM using bootloader flash API</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/KE15Z-unable-to-write-to-FlexNVM-using-bootloader-flash-API/m-p/960760#M1029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the bootloader's flash API, my application code on my KE15Z (FRDM board) is able to erase/write to the program flash partition (0x0-0x2 0000) with no problems. When I tried to write to the FlexNVM partition (0x1000 0000), I got an invalid address error returned from flash_erase(). My config struct (screenshot attached) shows 0's for the FlexRAM/DFLASH/EEPROM fields. Is there extra configuration I need to do to write to those areas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2019 17:28:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/KE15Z-unable-to-write-to-FlexNVM-using-bootloader-flash-API/m-p/960760#M1029</guid>
      <dc:creator>eric_schwartz</dc:creator>
      <dc:date>2019-09-23T17:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: KE15Z unable to write to FlexNVM using bootloader flash API</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/KE15Z-unable-to-write-to-FlexNVM-using-bootloader-flash-API/m-p/960761#M1030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will depend whether you configure FlexNVM to work as EEPROM or DFLASH. I recommend you to check the following application note that describes how to use FlexMemory as EEPROM and DFLASH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN5338.pdf"&gt;How to use FlexMemory as D-Flash and EEPROM in KE1xF&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition, you can check &lt;STRONG&gt;flexnvm_dflash&lt;/STRONG&gt; and &lt;STRONG&gt;flexnvm_eeprom&lt;/STRONG&gt; examples included in the SDK that describes how to use flash drivers to operate with FlexMemory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2019 17:52:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/KE15Z-unable-to-write-to-FlexNVM-using-bootloader-flash-API/m-p/960761#M1030</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2019-09-24T17:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: KE15Z unable to write to FlexNVM using bootloader flash API</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/KE15Z-unable-to-write-to-FlexNVM-using-bootloader-flash-API/m-p/960762#M1031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The SDK examples do not use the bootloader's ROM-resident flashdriver API's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've partitioned the FlexNVM to be entirely D-flash, and can verify it's been partitioned by checking&amp;nbsp;DEPART (or easier, just running the SDK example which does that for me).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2019 19:36:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/KE15Z-unable-to-write-to-FlexNVM-using-bootloader-flash-API/m-p/960762#M1031</guid>
      <dc:creator>eric_schwartz</dc:creator>
      <dc:date>2019-09-24T19:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: KE15Z unable to write to FlexNVM using bootloader flash API</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/KE15Z-unable-to-write-to-FlexNVM-using-bootloader-flash-API/m-p/960763#M1032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Eric,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe you can share your code with me? So I can take a quick look to it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2019 14:36:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/KE15Z-unable-to-write-to-FlexNVM-using-bootloader-flash-API/m-p/960763#M1032</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2019-09-26T14:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: KE15Z unable to write to FlexNVM using bootloader flash API</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/KE15Z-unable-to-write-to-FlexNVM-using-bootloader-flash-API/m-p/960764#M1033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is the core code I'm using. Most of the code lives as the structure, as given in the reference manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I forgot to add, the interrupt macros are defined below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define EnableInterrupts __asm(" CPSIE i");&lt;BR /&gt;#define DisableInterrupts __asm(" CPSID i");&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2019 14:50:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/KE15Z-unable-to-write-to-FlexNVM-using-bootloader-flash-API/m-p/960764#M1033</guid>
      <dc:creator>eric_schwartz</dc:creator>
      <dc:date>2019-10-18T14:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: KE15Z unable to write to FlexNVM using bootloader flash API</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/KE15Z-unable-to-write-to-FlexNVM-using-bootloader-flash-API/m-p/960765#M1034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for my late reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I confirmed this internally and what you are trying to do is not possible.&amp;nbsp; ROM bootloader commands are capable to write only normal internal flash or RAM, FlexNVM is not supported.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Felipe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2019 20:44:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/KE15Z-unable-to-write-to-FlexNVM-using-bootloader-flash-API/m-p/960765#M1034</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2019-10-22T20:44:03Z</dc:date>
    </item>
  </channel>
</rss>

