<?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: TWR-KW21D256 NvModuleInit() is failing in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/TWR-KW21D256-NvModuleInit-is-failing/m-p/424751#M536</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much , really waiting for some help as this issue is blocking my end product development. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jul 2015 01:29:30 GMT</pubDate>
    <dc:creator>kedarikrishna</dc:creator>
    <dc:date>2015-07-01T01:29:30Z</dc:date>
    <item>
      <title>TWR-KW21D256 NvModuleInit() is failing</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/TWR-KW21D256-NvModuleInit-is-failing/m-p/424749#M534</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;&lt;/P&gt;&lt;P&gt;I am working with "TWR-KW21D256" development Board and using Beekit I created the Ha_OnOffSwitch IAR Project. When I am debugging the same , in main() code initialization:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (&lt;SPAN style="color: #e23d39;"&gt;NvModuleInit()&lt;/SPAN&gt; != gNVM_OK_c)&lt;/P&gt;&lt;P&gt;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* NV Module has failed initialization. Lock up node */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TurnOnLeds();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(1);&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;NvModuleInit() &lt;SPAN style="color: #303030;"&gt;is failing.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="WP_20150624_09_16_23_Pro.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56762i25432DE5F50C5249/image-size/large?v=v2&amp;amp;px=999" role="button" title="WP_20150624_09_16_23_Pro.jpg" alt="WP_20150624_09_16_23_Pro.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030;"&gt;Can Somebody help me fixing these issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 03:49:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/TWR-KW21D256-NvModuleInit-is-failing/m-p/424749#M534</guid>
      <dc:creator>kedarikrishna</dc:creator>
      <dc:date>2015-06-24T03:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-KW21D256 NvModuleInit() is failing</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/TWR-KW21D256-NvModuleInit-is-failing/m-p/424750#M535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; &lt;SPAN style="color: #1f497d;"&gt;Hello Kedari,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;I replicated the issue you described. It seems the BeeStack applications created form BeeKit seems not consider the changes in memory model of MKW21D256. We will have a closer look at this and provide you a workaround. We will come back to you shortly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;AngelC&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 16:25:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/TWR-KW21D256-NvModuleInit-is-failing/m-p/424750#M535</guid>
      <dc:creator>AngelC</dc:creator>
      <dc:date>2015-06-30T16:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-KW21D256 NvModuleInit() is failing</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/TWR-KW21D256-NvModuleInit-is-failing/m-p/424751#M536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much , really waiting for some help as this issue is blocking my end product development. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 01:29:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/TWR-KW21D256-NvModuleInit-is-failing/m-p/424751#M536</guid>
      <dc:creator>kedarikrishna</dc:creator>
      <dc:date>2015-07-01T01:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-KW21D256 NvModuleInit() is failing</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/TWR-KW21D256-NvModuleInit-is-failing/m-p/424752#M537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Hello Kedari,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Apparently, when the BeeKit HA OnOffSwitch project is generated for TWR-KW21D256, the NVM module is enabled (default setting), but for this type of board the NVM that is used is FlexNVM (due to the fact that the part has FlexMemory). If you check the AppToPlatformConfig.h header file, you will find the macro gNvUseFlexNVM_d set to TRUE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;The NVM initialization fails because the part is not configured to use the FlexMemory. Moreover, after each mass-erase of the device the bits that configures the FlexNVM are cleared and the default setting is DEPART=0b1111, EEESIZE=0b1111. According to RM this simply means “no EEPROM”. The entire DFLASH block is used as regular data/instruction flash memory.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Anyway, to be sure you have the same value, please try using a breakpoint in NV_FlashHAL.c file at line illustrated and send us the values of EEEDataSetSize and DEPartitionCode variables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Moreover, If you do not want to use the FlexMemory feature, you can disable the feature (set gNvUseFlexNVM = FALSE in the project options or even in&amp;nbsp; AppToPlatformConfig.h) and then modify the linker file to use DFLASH block. This is however application specific. You could generate a TWR-KW24D512 project and check its linker file to get an idea. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;AngelC&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 21:18:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/TWR-KW21D256-NvModuleInit-is-failing/m-p/424752#M537</guid>
      <dc:creator>AngelC</dc:creator>
      <dc:date>2015-07-01T21:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-KW21D256 NvModuleInit() is failing</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/TWR-KW21D256-NvModuleInit-is-failing/m-p/424753#M538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi AngelIC,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are facing the same problem, and submit a more detailed one as:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/587815"&gt;KW21 256KB with FlexNVM module&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have spent days work on this issue, but still cannot make NVM function work on TWR-KW21.&lt;/P&gt;&lt;P&gt;Please check and help?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Benjamin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 08:19:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/TWR-KW21D256-NvModuleInit-is-failing/m-p/424753#M538</guid>
      <dc:creator>benjaminchang</dc:creator>
      <dc:date>2015-11-17T08:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-KW21D256 NvModuleInit() is failing</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/TWR-KW21D256-NvModuleInit-is-failing/m-p/424754#M539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kedari,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are facing the same problem, and submit a more detailed one as:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="2019" data-containertype="14" data-content-finding="Community" data-objectid="587815" data-objecttype="2" href="https://community.nxp.com/message/587815#587815" onclick=""&gt;KW21 256KB with FlexNVM module&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have spent days work on this issue, but still cannot make NVM function work on TWR-KW21.&lt;/P&gt;&lt;P&gt;Can you share your last find out?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Benjamin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 08:33:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/TWR-KW21D256-NvModuleInit-is-failing/m-p/424754#M539</guid>
      <dc:creator>benjaminchang</dc:creator>
      <dc:date>2015-11-17T08:33:55Z</dc:date>
    </item>
  </channel>
</rss>

