<?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 speed up Flash execution in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/speed-up-Flash-execution/m-p/175191#M1444</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ve a very perfomance criticle application. So I have to speed up my code. Performance&amp;nbsp; measurements show that there s a big difference if I boot from Flash or from RAM.&amp;nbsp; Unfortunately I can only boot from RAM during debugging. It seems that the difference between &amp;nbsp;RAm and Flashh execution fluctuates very much. I ve code fragments with nearly no difference and some with a 50 percent add on if I boot from flash.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I m very interested why there s such a big&amp;nbsp;fluctuation and&amp;nbsp;how I can reduce the add on for Flash execution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nearly all of my time critical code is part of a big loop. So maybe it&amp;nbsp;might be&amp;nbsp;a solution to copy the time critical code from Flash to RAM. But how?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use CW 10.1 and a K60N512 Tower Module&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jun 2012 14:22:58 GMT</pubDate>
    <dc:creator>UB39</dc:creator>
    <dc:date>2012-06-26T14:22:58Z</dc:date>
    <item>
      <title>speed up Flash execution</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/speed-up-Flash-execution/m-p/175191#M1444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ve a very perfomance criticle application. So I have to speed up my code. Performance&amp;nbsp; measurements show that there s a big difference if I boot from Flash or from RAM.&amp;nbsp; Unfortunately I can only boot from RAM during debugging. It seems that the difference between &amp;nbsp;RAm and Flashh execution fluctuates very much. I ve code fragments with nearly no difference and some with a 50 percent add on if I boot from flash.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I m very interested why there s such a big&amp;nbsp;fluctuation and&amp;nbsp;how I can reduce the add on for Flash execution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nearly all of my time critical code is part of a big loop. So maybe it&amp;nbsp;might be&amp;nbsp;a solution to copy the time critical code from Flash to RAM. But how?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use CW 10.1 and a K60N512 Tower Module&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2012 14:22:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/speed-up-Flash-execution/m-p/175191#M1444</guid>
      <dc:creator>UB39</dc:creator>
      <dc:date>2012-06-26T14:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: speed up Flash execution</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/speed-up-Flash-execution/m-p/175192#M1445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This appnote describes the process for relocating code to RAM using the linker for Coldfire architecture. The theory is the same for Kinetis. Hopefully this will give you a starting point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/app_note/AN4329.pdf" rel="nofollow" target="_blank"&gt;http://cache.freescale.com/files/soft_dev_tools/doc/app_note/AN4329.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2012 19:37:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/speed-up-Flash-execution/m-p/175192#M1445</guid>
      <dc:creator>BenGartner</dc:creator>
      <dc:date>2012-06-26T19:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: speed up Flash execution</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/speed-up-Flash-execution/m-p/175193#M1446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for the application note. It helps to reduce the overhead for my most time criticle section&amp;nbsp;from 50 percent to around 30 percent. But there s still an overhead between FLASH and RAM booting although I can see in the *.xMAP file that&amp;nbsp;the relocating works fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you ve got any ideas for the reason?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 15:37:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/speed-up-Flash-execution/m-p/175193#M1446</guid>
      <dc:creator>UB39</dc:creator>
      <dc:date>2012-06-29T15:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: speed up Flash execution</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/speed-up-Flash-execution/m-p/175194#M1447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem solved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 17:49:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/speed-up-Flash-execution/m-p/175194#M1447</guid>
      <dc:creator>UB39</dc:creator>
      <dc:date>2012-06-29T17:49:22Z</dc:date>
    </item>
  </channel>
</rss>

