<?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 Change FlexRam size in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Change-FlexRam-size/m-p/614320#M36474</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. I am using the MK22FX512VLH12 and the FLEXRam feature.&lt;/P&gt;&lt;P&gt;I am initialize the size with DEFlashPartition function. EEEDataSizeCode is 0x37 for 64B and 64B and DEPartitionCode is 0x08 for full eeprom. When I am starting the MK22 the first time, I get the Code 0x00 from the DEFlashPartition function.&lt;/P&gt;&lt;P&gt;But after the first start I get an ACCERR from the DEFlashPartition function.&lt;/P&gt;&lt;P&gt;When I am erase the full chip of the MK22 and start the software, I get the Code 0x00 from the function but after the first start always an ACCERR. Why I get this error has anybody an idea? Can I change the size of FlexRam without erase the full chip?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Sep 2016 12:52:31 GMT</pubDate>
    <dc:creator>ralf1694</dc:creator>
    <dc:date>2016-09-13T12:52:31Z</dc:date>
    <item>
      <title>Change FlexRam size</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Change-FlexRam-size/m-p/614320#M36474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. I am using the MK22FX512VLH12 and the FLEXRam feature.&lt;/P&gt;&lt;P&gt;I am initialize the size with DEFlashPartition function. EEEDataSizeCode is 0x37 for 64B and 64B and DEPartitionCode is 0x08 for full eeprom. When I am starting the MK22 the first time, I get the Code 0x00 from the DEFlashPartition function.&lt;/P&gt;&lt;P&gt;But after the first start I get an ACCERR from the DEFlashPartition function.&lt;/P&gt;&lt;P&gt;When I am erase the full chip of the MK22 and start the software, I get the Code 0x00 from the function but after the first start always an ACCERR. Why I get this error has anybody an idea? Can I change the size of FlexRam without erase the full chip?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 12:52:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Change-FlexRam-size/m-p/614320#M36474</guid>
      <dc:creator>ralf1694</dc:creator>
      <dc:date>2016-09-13T12:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Change FlexRam size</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Change-FlexRam-size/m-p/614321#M36475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the FlexNVM configured for EEPROM function, the FlexRAM only could be access for EEPROM memory size. In customer application, the EEPROM size is 128 bytes, so after data Flash partition, the FlexRAM could be accessed size is 128 bytes.&lt;/P&gt;&lt;P&gt;I would recommend customer to refer &lt;A href="http://cache.nxp.com/files/32bit/software/C90TFS_FLASH_DRIVER.exe"&gt; TFS Flash Driver Software for Kinetis and ColdFire+ Microcontrollers &lt;/A&gt;[MK70FN1M0xxx12] &amp;lt;demo_normal&amp;gt; example, which include EEPROM operation related code.&lt;/P&gt;&lt;P&gt;The default demo path is:&lt;/P&gt;&lt;P&gt;C:\Program Files\Freescale\Standard_Software_Driver_v1.03\C90TFS\Demos\build\MK70FN1M0xxx12\IAR\demo_normal&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 07:40:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Change-FlexRam-size/m-p/614321#M36475</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2016-09-14T07:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Change FlexRam size</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Change-FlexRam-size/m-p/614322#M36476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I read that the full chip must be erased when calling deflashpartition command. With the JTAG debugger or with the EraseAllBlocks command. But if I erase the whole flash my p-flash is in an erased state too and I can not start the software. So is there an other solution how to solved this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2016 08:13:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Change-FlexRam-size/m-p/614322#M36476</guid>
      <dc:creator>ralf1694</dc:creator>
      <dc:date>2016-09-15T08:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Change FlexRam size</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Change-FlexRam-size/m-p/614323#M36477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have one more question. If I write to FlexRam, should I disable the interrupts? And I have no checksum for my data in den FlexRam(EEE backup). I read that the MK22 read allways the correct data which are written complet. Is that right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2016 08:36:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Change-FlexRam-size/m-p/614323#M36477</guid>
      <dc:creator>ralf1694</dc:creator>
      <dc:date>2016-09-15T08:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Change FlexRam size</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Change-FlexRam-size/m-p/614324#M36478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer could add below code to detect if the chip was already partitioned or not in FlexNVM initialization code:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; display: inline !important; float: none;"&gt; if ((SIM_FCFG1 &amp;amp; SIM_FCFG1_DEPART(0xF)) != 0x00000F00)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; display: inline !important; float: none;"&gt;More detailed info, please check below link:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; display: inline !important; float: none;"&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/message/546287?commentID=546287#comment-546287" title="https://community.nxp.com/message/546287?commentID=546287#comment-546287"&gt;https://community.nxp.com/message/546287?commentID=546287#comment-546287&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; display: inline !important; float: none;"&gt;After the FlexNVM was partitioned, the chip need be reset to make sure finish the FlexNVM partition.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; display: inline !important; float: none;"&gt;Customer also could using P&amp;amp;E Debugger tool or Segger J-Link tool to program FlexNVM partition at data flash IFR.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; display: inline !important; float: none;"&gt;More detailed info, please check below link:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; display: inline !important; float: none;"&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/message/474165?commentID=474165#comment-474165" title="https://community.nxp.com/message/474165?commentID=474165#comment-474165"&gt;https://community.nxp.com/message/474165?commentID=474165#comment-474165&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; display: inline !important; float: none;"&gt;When the chip was partitioned, customer need to check FTFE_FCNFG[EEERDY] bit before EEPROM operation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; display: inline !important; float: none;"&gt;The FlexRAM operation does not need to disable the interrupt. The FlexNVM has internal firmware to make sure the write EEPROM data be checked. Customer doesn't need manually check the EEPROM byte.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Sep 2016 08:15:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Change-FlexRam-size/m-p/614324#M36478</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2016-09-18T08:15:17Z</dc:date>
    </item>
  </channel>
</rss>

