<?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 How to store flexNVM data on KDS/KSDK/PEx in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-store-flexNVM-data-on-KDS-KSDK-PEx/m-p/407923#M1756</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am pretty new to this concept. Hopefully someone can help me,.&lt;/P&gt;&lt;P&gt;1. The chip i am using MK20DX256VLL10&lt;/P&gt;&lt;P&gt;2. The tool i am using is KDS3.0 with KSDK1.2 and PEx&lt;/P&gt;&lt;P&gt;3. I try to take a look at demo code but it is about program flash, not abou dataFlash/FlexNVM or EEEPROM.&lt;/P&gt;&lt;P&gt;I also looked at K20RM and AM4282. I think i understand the concept but the code that i made is still not working.&lt;/P&gt;&lt;P&gt;4. I tried to write this single feature on KDS2.0 + PEx to make sure i understand the concept. It works well.&lt;/P&gt;&lt;P&gt;Below are steps that I did:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="100483_100483.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120812i676F6C987AB65F41/image-size/large?v=v2&amp;amp;px=999" role="button" title="100483_100483.JPG" alt="100483_100483.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29741i4FDCBA2D185A8411/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.JPG" alt="1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Change the flash configuration of CPU&lt;/P&gt;&lt;P&gt;Add fsl_flash component from PEx&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="100496_100496.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120813iFBB911409D54EC0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="100496_100496.JPG" alt="100496_100496.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29805iB8533B25F35BA943/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.JPG" alt="2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The C90TFS base address is 0x40020000 Program flash address: 0x00000000.&lt;/P&gt;&lt;P&gt;I found out at generated flash file, EEPROM and Dflash size is 0. I coudnt modify it.&lt;/P&gt;&lt;P&gt;I used the code below to try to write four bytes data into Dflash whose address is 0x10000000&lt;/P&gt;&lt;P&gt;It doesnt throw me error but i just couldnt read it back. &lt;/P&gt;&lt;P&gt;Could anyone spot anything wrong?&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yaran &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338936"&gt;main.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338936"&gt;flash_mk20.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Nov 2015 20:10:04 GMT</pubDate>
    <dc:creator>yarannan</dc:creator>
    <dc:date>2015-11-12T20:10:04Z</dc:date>
    <item>
      <title>How to store flexNVM data on KDS/KSDK/PEx</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-store-flexNVM-data-on-KDS-KSDK-PEx/m-p/407923#M1756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am pretty new to this concept. Hopefully someone can help me,.&lt;/P&gt;&lt;P&gt;1. The chip i am using MK20DX256VLL10&lt;/P&gt;&lt;P&gt;2. The tool i am using is KDS3.0 with KSDK1.2 and PEx&lt;/P&gt;&lt;P&gt;3. I try to take a look at demo code but it is about program flash, not abou dataFlash/FlexNVM or EEEPROM.&lt;/P&gt;&lt;P&gt;I also looked at K20RM and AM4282. I think i understand the concept but the code that i made is still not working.&lt;/P&gt;&lt;P&gt;4. I tried to write this single feature on KDS2.0 + PEx to make sure i understand the concept. It works well.&lt;/P&gt;&lt;P&gt;Below are steps that I did:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="100483_100483.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120812i676F6C987AB65F41/image-size/large?v=v2&amp;amp;px=999" role="button" title="100483_100483.JPG" alt="100483_100483.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29741i4FDCBA2D185A8411/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.JPG" alt="1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Change the flash configuration of CPU&lt;/P&gt;&lt;P&gt;Add fsl_flash component from PEx&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="100496_100496.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120813iFBB911409D54EC0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="100496_100496.JPG" alt="100496_100496.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29805iB8533B25F35BA943/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.JPG" alt="2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The C90TFS base address is 0x40020000 Program flash address: 0x00000000.&lt;/P&gt;&lt;P&gt;I found out at generated flash file, EEPROM and Dflash size is 0. I coudnt modify it.&lt;/P&gt;&lt;P&gt;I used the code below to try to write four bytes data into Dflash whose address is 0x10000000&lt;/P&gt;&lt;P&gt;It doesnt throw me error but i just couldnt read it back. &lt;/P&gt;&lt;P&gt;Could anyone spot anything wrong?&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yaran &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338936"&gt;main.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338936"&gt;flash_mk20.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 20:10:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-store-flexNVM-data-on-KDS-KSDK-PEx/m-p/407923#M1756</guid>
      <dc:creator>yarannan</dc:creator>
      <dc:date>2015-11-12T20:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to store flexNVM data on KDS/KSDK/PEx</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-store-flexNVM-data-on-KDS-KSDK-PEx/m-p/407924#M1757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nan,&lt;/P&gt;&lt;P&gt;1. By default , the linker file do not include the FlexNVM memory define, so we need configure it by hand.&lt;/P&gt;&lt;P&gt;I see you have add it in the PE , please enable it :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52049i31B3558D5ECE5E16/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Before program flash memory , please first erase it .&lt;/P&gt;&lt;P&gt;3. Please configure the 23 bit of&amp;nbsp; flexNVM address you wan to operate to 1, you can see the information on the Reference manual :&lt;/P&gt;&lt;P&gt;page 649 -&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52091i13F13D6201BF8C43/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 07:34:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-store-flexNVM-data-on-KDS-KSDK-PEx/m-p/407924#M1757</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-01-07T07:34:27Z</dc:date>
    </item>
  </channel>
</rss>

