<?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 partition flash to EEPROM configuration K40x256 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/partition-flash-to-EEPROM-configuration-K40x256/m-p/304265#M12871</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; people,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I am developing an application using&amp;nbsp; Kinetis K40x256cmd100 development board. I am trying to configure EEPROM from the flex memory available in the controller.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have read the app note AN4282. But&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt; when I tried Program Partition, send me a error (ACCERR&amp;nbsp;&amp;nbsp; bits[&amp;nbsp; 5:5&amp;nbsp; ] = 1 No access error detected)... &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;someone &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;can&lt;/SPAN&gt; explain me?, if I need doing something before the partition?&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;This is my code, only partition comand&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P&gt;/* Write the FCCOB registers */&lt;/P&gt;&lt;P&gt;&amp;nbsp; FTFL_FCCOB0 = FTFL_FCCOB0_CCOBn(0x80); // Selects the PGMPART command&lt;/P&gt;&lt;P&gt;&amp;nbsp; FTFL_FCCOB1 = 0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; FTFL_FCCOB2 = 0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; FTFL_FCCOB3 = 0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; FTFL_FCCOB4 = 0x39; /*subsytem A(16bytes) + B(16bytes)EEPROM Data Set Size (Bytes)*/&lt;/P&gt;&lt;P&gt;&amp;nbsp; FTFL_FCCOB5 = 0x05; /*Data flash 128Kbytes &amp;amp; 128 Kbytes to EEPROM backup size*/&lt;/P&gt;&lt;P&gt;&amp;nbsp; FTFL_FCCOB6 = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp; FTFL_FCCOB7 = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp; FTFL_FCCOB8 = 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; asm("CPSID i");&lt;/P&gt;&lt;P&gt;&amp;nbsp; NVM_ExecuteCommand();&lt;/P&gt;&lt;P&gt;&amp;nbsp; asm("CPSIE i");&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Apr 2014 16:13:11 GMT</pubDate>
    <dc:creator>Mar_adelos_ngel</dc:creator>
    <dc:date>2014-04-25T16:13:11Z</dc:date>
    <item>
      <title>partition flash to EEPROM configuration K40x256</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/partition-flash-to-EEPROM-configuration-K40x256/m-p/304265#M12871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; people,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I am developing an application using&amp;nbsp; Kinetis K40x256cmd100 development board. I am trying to configure EEPROM from the flex memory available in the controller.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have read the app note AN4282. But&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt; when I tried Program Partition, send me a error (ACCERR&amp;nbsp;&amp;nbsp; bits[&amp;nbsp; 5:5&amp;nbsp; ] = 1 No access error detected)... &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;someone &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;can&lt;/SPAN&gt; explain me?, if I need doing something before the partition?&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;This is my code, only partition comand&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P&gt;/* Write the FCCOB registers */&lt;/P&gt;&lt;P&gt;&amp;nbsp; FTFL_FCCOB0 = FTFL_FCCOB0_CCOBn(0x80); // Selects the PGMPART command&lt;/P&gt;&lt;P&gt;&amp;nbsp; FTFL_FCCOB1 = 0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; FTFL_FCCOB2 = 0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; FTFL_FCCOB3 = 0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; FTFL_FCCOB4 = 0x39; /*subsytem A(16bytes) + B(16bytes)EEPROM Data Set Size (Bytes)*/&lt;/P&gt;&lt;P&gt;&amp;nbsp; FTFL_FCCOB5 = 0x05; /*Data flash 128Kbytes &amp;amp; 128 Kbytes to EEPROM backup size*/&lt;/P&gt;&lt;P&gt;&amp;nbsp; FTFL_FCCOB6 = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp; FTFL_FCCOB7 = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp; FTFL_FCCOB8 = 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; asm("CPSID i");&lt;/P&gt;&lt;P&gt;&amp;nbsp; NVM_ExecuteCommand();&lt;/P&gt;&lt;P&gt;&amp;nbsp; asm("CPSIE i");&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 16:13:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/partition-flash-to-EEPROM-configuration-K40x256/m-p/304265#M12871</guid>
      <dc:creator>Mar_adelos_ngel</dc:creator>
      <dc:date>2014-04-25T16:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: partition flash to EEPROM configuration K40x256</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/partition-flash-to-EEPROM-configuration-K40x256/m-p/304266#M12872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maria de los Angeles,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check the Kinetis examples for the MK40X256VMD100. You can find them here: &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-K40X256&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab" title="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-K40X256&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;TWR-K40X256: Kinetis K40 Tower System Module&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to:&amp;nbsp; CodeWarrior Samples\CW_MCU_v10_1_Examples\rev_1_4\build\cw10\k40\flexmem. There you will find the flexmem project which includes the configuration for the EEPROM use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this information can help you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can refer to this thread: &lt;A href="https://community.nxp.com/message/379909"&gt;Re: Demo code for using EEPROM feature on K20, 50 Mhz device&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 23:26:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/partition-flash-to-EEPROM-configuration-K40x256/m-p/304266#M12872</guid>
      <dc:creator>adriancano</dc:creator>
      <dc:date>2014-04-25T23:26:12Z</dc:date>
    </item>
  </channel>
</rss>

