<?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: D-Flash (aka FlexNVM Flash) Behavior from POR or SW reset in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/D-Flash-aka-FlexNVM-Flash-Behavior-from-POR-or-SW-reset/m-p/969153#M55199</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="289555" data-username="carltonblow" href="https://community.nxp.com/people/carltonblow"&gt;carltonblow&lt;/A&gt; &lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;How did you do the partition of the flash? Please make sure that the EEPROM Data Set Size is 0.&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;The other flash locations behaves the same way?&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Let me know if this is helpful.&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Omar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Nov 2019 21:40:54 GMT</pubDate>
    <dc:creator>Omar_Anguiano</dc:creator>
    <dc:date>2019-11-01T21:40:54Z</dc:date>
    <item>
      <title>D-Flash (aka FlexNVM Flash) Behavior from POR or SW reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/D-Flash-aka-FlexNVM-Flash-Behavior-from-POR-or-SW-reset/m-p/969152#M55198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Part is an MK20DX128VLF5 on my own board. I have rolled a USB bootloader which depending upon conditions permits updating of application space (the P-FLASH minus the protected bootloader area) or data space (the D-FLASH). The D-Flash is not set up or being used as part of any Flex-EEPROM functionality. The general flow is erase the desired target FLASH block, update it, followed by a SW reset after a small delay to restart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Updates to the application work absolutely fine. However updates to the data space D-Flash behave oddly. For example I have a simple application that IF there is a non-ones value in a particular location of the D-Flash, it utilizes that D-Flash value instead of some default value for setting an LED blinkie rate. Toggles of the external reset pin switch between using the default rate, or the D-Flash based rate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I update the D-Flash with a value, when the SW reset occurs, the application uses only the default value and never the value stored in D-Flash. HOWEVER, if I unplug/replug the USB power source (essentially a POR), all is fine and LED blinkie rate toggles between the value in D-Flash and the default value (using the external pin reset as the toggle trigger).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked for any information regarding the D-Flash behavior w.r.t. POR or SW reset and did not see anything to suggest it behaves differently between either type of reset. Again, P-FLASH updates behave the same regardless of the reset being POR or SW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I'm wondering if someone may know of some information out there that I may have overlooked w.r.t. special considerations when it comes to reset type after D-Flash is updated....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2019 17:51:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/D-Flash-aka-FlexNVM-Flash-Behavior-from-POR-or-SW-reset/m-p/969152#M55198</guid>
      <dc:creator>carltonblow</dc:creator>
      <dc:date>2019-10-25T17:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: D-Flash (aka FlexNVM Flash) Behavior from POR or SW reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/D-Flash-aka-FlexNVM-Flash-Behavior-from-POR-or-SW-reset/m-p/969153#M55199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="289555" data-username="carltonblow" href="https://community.nxp.com/people/carltonblow"&gt;carltonblow&lt;/A&gt; &lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;How did you do the partition of the flash? Please make sure that the EEPROM Data Set Size is 0.&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;The other flash locations behaves the same way?&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Let me know if this is helpful.&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Omar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Nov 2019 21:40:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/D-Flash-aka-FlexNVM-Flash-Behavior-from-POR-or-SW-reset/m-p/969153#M55199</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2019-11-01T21:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: D-Flash (aka FlexNVM Flash) Behavior from POR or SW reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/D-Flash-aka-FlexNVM-Flash-Behavior-from-POR-or-SW-reset/m-p/969154#M55200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Omar, thanks for your reply!&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;The partition is unchanged from a blank part. That is the FlexNVM is all D-Flash by default (I believe?), none is being partitioned/used for the EEPROM emulation functionality. So if my understanding is correct, no partitioning is necessary in this particular case because I am not changing the partition from the default blank part case, it already is partitioned to what is desired for my particular case.&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;My understanding is the EEPROM data set size is by blank part default 0 (ala '1111'b) and that is what I've kept it to (otherwise I believe I would not get correct D-Flash access behavior after a POR).&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;By other Flash locations I'm not sure if you are referring to the P-Flash, or other actual locations of the D-Flash. But no the P-Flash behaves entirely correct. As to other D-Flash locations, no I have not made attempts to move the non-ones test value to another location within D-Flash.&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Carlton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2019 17:32:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/D-Flash-aka-FlexNVM-Flash-Behavior-from-POR-or-SW-reset/m-p/969154#M55200</guid>
      <dc:creator>carltonblow</dc:creator>
      <dc:date>2019-11-05T17:32:22Z</dc:date>
    </item>
  </channel>
</rss>

