<?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>Kinetis MicrocontrollersのトピックRe: Run/Debug without writing to flash?</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Run-Debug-without-writing-to-flash/m-p/621305#M37183</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all suggestions!&lt;/P&gt;&lt;P&gt;* Erich: your solution is good, but can't solve the main problem: writing to flash is slow!&lt;/P&gt;&lt;P&gt;* Kerry: so I prefer your solution --- download to RAM instead of FLASH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the question:&lt;/P&gt;&lt;P&gt;----- &amp;nbsp;how can I instruct CodeWarrior to download to RAM, instead of FLASH?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Oct 2016 14:22:01 GMT</pubDate>
    <dc:creator>jerrylian</dc:creator>
    <dc:date>2016-10-12T14:22:01Z</dc:date>
    <item>
      <title>Run/Debug without writing to flash?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Run-Debug-without-writing-to-flash/m-p/621302#M37180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to debug/run by downloading to processor, but without writing to flash?&lt;/P&gt;&lt;P&gt;* I am learning CodeWarrior for Kinetis processor&amp;nbsp;&lt;/P&gt;&lt;P&gt;* It seems to me that:&lt;/P&gt;&lt;P&gt;--- Modified codes has to be downloaded and written to flash, then we can debug/run "modified" version.&lt;/P&gt;&lt;P&gt;--- If I un-check "download", the debug/run will still run original codes in flash, not the modified codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is: write to flash is always slow!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible that: modified codes are downloaded to the processor RAM and run right away, without writing to flash?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2016 21:18:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Run-Debug-without-writing-to-flash/m-p/621302#M37180</guid>
      <dc:creator>jerrylian</dc:creator>
      <dc:date>2016-10-10T21:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Run/Debug without writing to flash?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Run-Debug-without-writing-to-flash/m-p/621303#M37181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jerry,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If your project is very small, you can just download it to the RAM instead of the flash.&lt;/P&gt;&lt;P&gt;&amp;nbsp; But if your code is very large, and larger than the RAM size, you'd better download to the flash and debug it, then this debug result will be more credible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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, 12 Oct 2016 03:21:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Run-Debug-without-writing-to-flash/m-p/621303#M37181</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-10-12T03:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Run/Debug without writing to flash?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Run-Debug-without-writing-to-flash/m-p/621304#M37182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jerry,&lt;/P&gt;&lt;P&gt;you might check the setting in &lt;A class="link-titled" href="https://mcuoneclipse.com/2012/10/30/speeding-up-the-debug-launch-in-codewarrior/" title="https://mcuoneclipse.com/2012/10/30/speeding-up-the-debug-launch-in-codewarrior/"&gt;https://mcuoneclipse.com/2012/10/30/speeding-up-the-debug-launch-in-codewarrior/&lt;/A&gt;&amp;nbsp; to speed up the debug process overall. The other suggestion I have is to disable the verify:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5104i7947BFD7A56D6ADE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Other than that, you might use a fast debug probe (e.g. Segger J-Link).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 06:24:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Run-Debug-without-writing-to-flash/m-p/621304#M37182</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2016-10-12T06:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Run/Debug without writing to flash?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Run-Debug-without-writing-to-flash/m-p/621305#M37183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all suggestions!&lt;/P&gt;&lt;P&gt;* Erich: your solution is good, but can't solve the main problem: writing to flash is slow!&lt;/P&gt;&lt;P&gt;* Kerry: so I prefer your solution --- download to RAM instead of FLASH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the question:&lt;/P&gt;&lt;P&gt;----- &amp;nbsp;how can I instruct CodeWarrior to download to RAM, instead of FLASH?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 14:22:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Run-Debug-without-writing-to-flash/m-p/621305#M37183</guid>
      <dc:creator>jerrylian</dc:creator>
      <dc:date>2016-10-12T14:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Run/Debug without writing to flash?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Run-Debug-without-writing-to-flash/m-p/621306#M37184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jerry,&lt;/P&gt;&lt;P&gt;&amp;nbsp; When you create the codewarrior project, you will find there a selection of RAM or FLASH.&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you choose RAM, code will download to RAM:&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/3551iFF0155B68099AF08/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;&amp;nbsp;&amp;nbsp; But please note, if you download to RAM, after the board is power off, the code will disappear, so if you want the chip still have problem after power off, you should download to the flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Thu, 13 Oct 2016 08:08:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Run-Debug-without-writing-to-flash/m-p/621306#M37184</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-10-13T08:08:24Z</dc:date>
    </item>
  </channel>
</rss>

