<?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: How to skip programming NVM_region on flash in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-to-skip-programming-NVM-region-on-flash/m-p/1162181#M6177</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Do you have any update for me?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Federico&lt;/P&gt;</description>
    <pubDate>Fri, 02 Oct 2020 08:12:53 GMT</pubDate>
    <dc:creator>FedericoWegher</dc:creator>
    <dc:date>2020-10-02T08:12:53Z</dc:date>
    <item>
      <title>How to skip programming NVM_region on flash</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-to-skip-programming-NVM-region-on-flash/m-p/1158733#M6154</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I am using MCUXpresso 11.2.0 for KW38 with SDK 2.6.6.&lt;/P&gt;&lt;P&gt;I am using TMC and TMS ble demo applications. I enabled bonding, and all works fine.&lt;/P&gt;&lt;P&gt;The problem I am facing is that when I re-flash one device, let's say TMC, bonding fails because flashing erased NVM region.&lt;/P&gt;&lt;P&gt;So I tried to edit "Debug configuration" and add a skip memory area in "Debugger-&amp;gt;Advanced options-&amp;gt;Preserve this range". However, the NVM region is always re-flashed with 0xFF.&lt;/P&gt;&lt;P&gt;How can I skip re-flashing of NVM_region, to keep its content?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 14:31:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/How-to-skip-programming-NVM-region-on-flash/m-p/1158733#M6154</guid>
      <dc:creator>FedericoWegher</dc:creator>
      <dc:date>2020-09-24T14:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to skip programming NVM_region on flash</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-to-skip-programming-NVM-region-on-flash/m-p/1159280#M6157</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;FedericoWegher,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;Do you mean these two projects?&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditorkerryzhou_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;Now, the newest SDK version is&amp;nbsp;SDK_2.6.7_FRDM-KW38, you can download the newest SDK, and test it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;When you debug the code again, can you download the code to the flash?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Do you just run the SDK project and meet the NVM erased issues?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;What's the board you are using? FRDM-KW38? What's the debugger you are using now?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I will test it on my side.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Waiting for your more information.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Kerry&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 10:28:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/How-to-skip-programming-NVM-region-on-flash/m-p/1159280#M6157</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-09-25T10:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to skip programming NVM_region on flash</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-to-skip-programming-NVM-region-on-flash/m-p/1159419#M6158</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Please find below my replies.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you mean these two projects? &amp;gt;&amp;gt;&amp;gt; Temperature Sensor and Temperature Collector&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now, the newest SDK version is&amp;nbsp;SDK_2.6.7_FRDM-KW38, you can download the newest SDK, and test it. &amp;gt;&amp;gt;&amp;gt; No, now I cannot switch to new SDK. Can you use previous one?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When you debug the code again, can you download the code to the flash? &amp;gt;&amp;gt;&amp;gt; Yes, I can download code to flash with no problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you just run the SDK project and meet the NVM erased issues? &amp;gt;&amp;gt;&amp;gt; I only added a skip memory region in debugger page from 0x7b800 to 0x7f7ff.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What's the board you are using? FRDM-KW38? What's the debugger you are using now? &amp;gt;&amp;gt;&amp;gt; I am using FRDM-KW38, using MCUXpresso and its toolchain.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I will test it on my side.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Waiting for your more information.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 15:16:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/How-to-skip-programming-NVM-region-on-flash/m-p/1159419#M6158</guid>
      <dc:creator>FedericoWegher</dc:creator>
      <dc:date>2020-09-25T15:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to skip programming NVM_region on flash</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-to-skip-programming-NVM-region-on-flash/m-p/1159728#M6162</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;FedericoWegher&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Please tell me what the FRDM on board debugger you are using? CMSIS DAP or the JLINK or others?&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Please also give me an screen shot about"&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;I only added a skip memory region in debugger page from 0x7b800 to 0x7f7ff." You means, you want these area don't be erased, and reserve the previous data when downloading the new app, right? But the MCUXPresso also erase this area, right?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Kerry&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Sep 2020 10:25:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/How-to-skip-programming-NVM-region-on-flash/m-p/1159728#M6162</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-09-27T10:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to skip programming NVM_region on flash</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-to-skip-programming-NVM-region-on-flash/m-p/1160099#M6167</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Please find my replies below.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please tell me what the FRDM on board debugger you are using? CMSIS DAP or the JLINK or others? &amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/SPAN&gt;I am using JLink on FRDM. I also managed to reproduce the problem on my hardware, which is using P&amp;amp;E Micro debugger probe.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You means, you want these area don't be erased, and reserve the previous data when downloading the new app, right? But the MCUXPresso also erase this area, right? &amp;gt;&amp;gt;&amp;gt; I want to preserve the content of this area, so it must be neither erased nor programmed. See the picture below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2020-09-28 14-51-25.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/126332i59371C5141F91566/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot from 2020-09-28 14-51-25.png" alt="Screenshot from 2020-09-28 14-51-25.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:54:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/How-to-skip-programming-NVM-region-on-flash/m-p/1160099#M6167</guid>
      <dc:creator>FedericoWegher</dc:creator>
      <dc:date>2020-09-28T12:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to skip programming NVM_region on flash</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-to-skip-programming-NVM-region-on-flash/m-p/1162181#M6177</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Do you have any update for me?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Federico&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2020 08:12:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/How-to-skip-programming-NVM-region-on-flash/m-p/1162181#M6177</guid>
      <dc:creator>FedericoWegher</dc:creator>
      <dc:date>2020-10-02T08:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to skip programming NVM_region on flash</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-to-skip-programming-NVM-region-on-flash/m-p/1163188#M6185</link>
      <description>&lt;P&gt;So sorry for my later reply, we are in the Chinese National day(10.1 to 10.8) now, and will be back to work in 10.9.&lt;/P&gt;
&lt;P&gt;Please keep the patient, I will reply to you in 10.9, thanks a lot for your understanding.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 02:47:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/How-to-skip-programming-NVM-region-on-flash/m-p/1163188#M6185</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-10-06T02:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to skip programming NVM_region on flash</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-to-skip-programming-NVM-region-on-flash/m-p/1163320#M6186</link>
      <description>&lt;P&gt;Hi. I wish you good holidays.&lt;/P&gt;&lt;P&gt;Waiting for your feedback,&lt;/P&gt;&lt;P&gt;Federico&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 09:25:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/How-to-skip-programming-NVM-region-on-flash/m-p/1163320#M6186</guid>
      <dc:creator>FedericoWegher</dc:creator>
      <dc:date>2020-10-06T09:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to skip programming NVM_region on flash</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-to-skip-programming-NVM-region-on-flash/m-p/1165568#M6199</link>
      <description>&lt;P&gt;&lt;BR /&gt;Hi&amp;nbsp;FedericoWegher,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Really thanks so much for your patient and understanding.&lt;BR /&gt;&amp;nbsp; Today, I checked your issues again, and test the temperature_collector and the temperature_sensor.&lt;BR /&gt;&amp;nbsp; &amp;nbsp;1. About the FlexNVM&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Your attached picture should just from the P&amp;amp;E debugger, P&amp;amp;E debugger associate with MCUXPresso IDE has it, the other debugger, eg, JLINK don't have it.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;And to kw38 chip, FlexNVM is not the Pflash, I am afraid the debugger interface can't realize the preserve&amp;nbsp;function to the FlexNVM as Dflash.&lt;BR /&gt;Please check the KW38 memory map with FlexNVM as Dflash.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="14.jpg" style="width: 677px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/127137iA3A6E9F92CA9F13D/image-size/large?v=v2&amp;amp;px=999" role="button" title="14.jpg" alt="14.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But, I think, if you really want to perserve the FlexNVM data, you also can use the flash driver, use the Flash commander to write it in the app code.&lt;BR /&gt;Take an example, after boot, check the related FlexNVM area, if it is all 0XFF, then you can write the flash commander to write that area to your orginal data.&lt;BR /&gt;I also debug my temperature_collector, in your mentioned FlexNVM also don't have the data, it all are 0XFF&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="15.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/127138iC040D914A87F4A8A/image-size/large?v=v2&amp;amp;px=999" role="button" title="15.jpg" alt="15.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2 About code function&lt;BR /&gt;Could you tell me why you need that flexnvm area, as when I test it directly, even I don't have that area, I still can bond, two boards works OK, one as collector, another as sensor.&lt;BR /&gt;This is my test result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="16.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/127139i701C32226B1F5C7F/image-size/large?v=v2&amp;amp;px=999" role="button" title="16.jpg" alt="16.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you test the SDK two project directly? As I check your mentioned NVM region, no data, I still can make it works. &lt;BR /&gt;I think maybe your issue is not caused by this area.&lt;BR /&gt;Do you have two NXP FRDM-KW38 board, can you test it again whether it works?&lt;BR /&gt;If you already use the FRDM-KW38 board, can you tell me how to reproduce your issues, as I still can realize bond.&lt;/P&gt;
&lt;P&gt;Any updated information from your side, just kindly let me know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;</description>
      <pubDate>Sat, 10 Oct 2020 08:50:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/How-to-skip-programming-NVM-region-on-flash/m-p/1165568#M6199</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-10-10T08:50:35Z</dc:date>
    </item>
  </channel>
</rss>

