<?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 Kinetis (K20) EEPROM Partition Question. in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20-EEPROM-Partition-Question/m-p/197975#M2750</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone.&lt;/P&gt;&lt;P&gt;I'm trying to use K20 FlexMEM / FlexRAM to implement a EEPROM and experiensing some EEPROM partition issue. The EEPROM partition routine can only be executed in debug mode and after first running, it automatic stops running. Then after reset procedure, it runs well. After EEPROM partition in debug mode, the board runs very well after power-on. If it is just burned in all code and then directly power-on again, it will not work. Looks like it will always in EEPROM partition routine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed that the EEPROM partition routine must be executed in RAM. The issue is how I can let this routine is copied into RAM after power-on and is executed from RAM. I tried some #pragma and modified link file. But this issue is still there: The routine is always in P flash.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any one here who have solved the EEPROM partition ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Apr 2011 10:49:34 GMT</pubDate>
    <dc:creator>ZQSu</dc:creator>
    <dc:date>2011-04-13T10:49:34Z</dc:date>
    <item>
      <title>Kinetis (K20) EEPROM Partition Question.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20-EEPROM-Partition-Question/m-p/197975#M2750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone.&lt;/P&gt;&lt;P&gt;I'm trying to use K20 FlexMEM / FlexRAM to implement a EEPROM and experiensing some EEPROM partition issue. The EEPROM partition routine can only be executed in debug mode and after first running, it automatic stops running. Then after reset procedure, it runs well. After EEPROM partition in debug mode, the board runs very well after power-on. If it is just burned in all code and then directly power-on again, it will not work. Looks like it will always in EEPROM partition routine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed that the EEPROM partition routine must be executed in RAM. The issue is how I can let this routine is copied into RAM after power-on and is executed from RAM. I tried some #pragma and modified link file. But this issue is still there: The routine is always in P flash.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any one here who have solved the EEPROM partition ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 10:49:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20-EEPROM-Partition-Question/m-p/197975#M2750</guid>
      <dc:creator>ZQSu</dc:creator>
      <dc:date>2011-04-13T10:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis (K20) EEPROM Partition Question.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20-EEPROM-Partition-Question/m-p/197976#M2751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using IAR then use the __ramfunc ojecct attribute. Then IAR will copy the function to RAM for you. The problem is that it will always take up RAM space but my flash function is quite small ~100 bytes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="Prog"&gt;&lt;A target="_blank"&gt;_&lt;/A&gt; _ramfunc int FlashPage(char * data, char * page);&lt;/DIV&gt;&lt;DIV class="Prog"&gt;I was allocating RAM, copying the code and calling it manually, then freeing the RAM but the __ramfunc attribute is a lot easier.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 00:15:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20-EEPROM-Partition-Question/m-p/197976#M2751</guid>
      <dc:creator>Briwal</dc:creator>
      <dc:date>2011-04-15T00:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis (K20) EEPROM Partition Question.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20-EEPROM-Partition-Question/m-p/197977#M2752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you figure out your problem?&amp;nbsp; If so, please let me know how! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Liz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 19:52:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K20-EEPROM-Partition-Question/m-p/197977#M2752</guid>
      <dc:creator>lander</dc:creator>
      <dc:date>2013-02-15T19:52:42Z</dc:date>
    </item>
  </channel>
</rss>

