<?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 Design Studio中的主题 Re: How running code from FLASH on KDS 3.2.0</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-running-code-from-FLASH-on-KDS-3-2-0/m-p/569616#M7286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using MKL17Z32 microcontroller, PE doesn't support this processor. In that case how to choose RAM/Flash.&lt;/P&gt;&lt;P&gt;Folder structure in my project explorer is different than what you shown. I am using KDS ver3.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the attached folder structure in my project explorer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/3866i619F240DB687F5E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Aug 2016 10:46:24 GMT</pubDate>
    <dc:creator>munirajgopal</dc:creator>
    <dc:date>2016-08-30T10:46:24Z</dc:date>
    <item>
      <title>How running code from FLASH on KDS 3.2.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-running-code-from-FLASH-on-KDS-3-2-0/m-p/569613#M7283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello from France&lt;/P&gt;&lt;P&gt;I search in the community and in Eclipse under KDS 3.2.0 and documentation, and i find nothing about how to run code from FLASH.&lt;/P&gt;&lt;P&gt;By default KDS run code from RAM and i need to know the reason to run code from RAM instead of FLASH.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand&amp;nbsp; that it is usefull to RUN in RAM in Debug mode to place debug tag in code without wearing the FLASH, but i don't understand why running from RAM when we are in Release mode&amp;nbsp; ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;And even in Debug and Release mode It seem to me mandatory to run code from FLASH, because we have near always much more FLASH than RAM.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In all case is somebody know&amp;nbsp; where&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my case and for many application it is very important to use only RAM for data and running code from FLASH, &lt;/P&gt;&lt;P&gt;With CodeWarrior the choice is very easy and visible but in KDS&amp;nbsp; nothing ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 10:24:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-running-code-from-FLASH-on-KDS-3-2-0/m-p/569613#M7283</guid>
      <dc:creator>didierjeanjean</dc:creator>
      <dc:date>2016-08-29T10:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: How running code from FLASH on KDS 3.2.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-running-code-from-FLASH-on-KDS-3-2-0/m-p/569614#M7284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;Excuse&lt;/SPAN&gt; &lt;SPAN&gt;me&lt;/SPAN&gt; &lt;SPAN&gt;the message is&lt;/SPAN&gt; starting &lt;SPAN&gt;inadvertently&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class=""&gt;before I&lt;/SPAN&gt; &lt;SPAN class=""&gt;reread&lt;/SPAN&gt; &lt;SPAN class=""&gt;me&lt;/SPAN&gt; &lt;SPAN class=""&gt;and&lt;/SPAN&gt; &lt;SPAN class=""&gt;added&lt;/SPAN&gt; a&lt;SPAN class=""&gt; thank &lt;/SPAN&gt;&lt;SPAN class=""&gt;in advance&lt;/SPAN&gt; &lt;SPAN class=""&gt;to the person who&lt;/SPAN&gt; &lt;SPAN class=""&gt;can help me.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 10:32:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-running-code-from-FLASH-on-KDS-3-2-0/m-p/569614#M7284</guid>
      <dc:creator>didierjeanjean</dc:creator>
      <dc:date>2016-08-29T10:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: How running code from FLASH on KDS 3.2.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-running-code-from-FLASH-on-KDS-3-2-0/m-p/569615#M7285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello JEANJEAN,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your project with processor expert on KDS, you can directly chose "RAM" OR "FLASH" :&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/3298iCDD64D004EB3BE2A/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;&lt;/P&gt;&lt;P&gt;If not , i think you can refer to the linker file which PE project generate to configure.&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/3329iD8BD2E5312CAA6C9/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;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alice&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>Tue, 30 Aug 2016 08:11:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-running-code-from-FLASH-on-KDS-3-2-0/m-p/569615#M7285</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-08-30T08:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: How running code from FLASH on KDS 3.2.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-running-code-from-FLASH-on-KDS-3-2-0/m-p/569616#M7286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using MKL17Z32 microcontroller, PE doesn't support this processor. In that case how to choose RAM/Flash.&lt;/P&gt;&lt;P&gt;Folder structure in my project explorer is different than what you shown. I am using KDS ver3.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the attached folder structure in my project explorer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/3866i619F240DB687F5E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 10:46:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-running-code-from-FLASH-on-KDS-3-2-0/m-p/569616#M7286</guid>
      <dc:creator>munirajgopal</dc:creator>
      <dc:date>2016-08-30T10:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: How running code from FLASH on KDS 3.2.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-running-code-from-FLASH-on-KDS-3-2-0/m-p/569617#M7287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Muniraj,&lt;/P&gt;&lt;P&gt;- For the MKL17 chip only has 8KB SRAM, it is so small , so we do not save&lt;/P&gt;&lt;P&gt;the code to SRAM.&lt;/P&gt;&lt;P&gt;On CW, for the kineits L series that have small SRAM, there is not the selection for "RAM",&lt;/P&gt;&lt;P&gt;&amp;nbsp;there is only "FLASH" , for example the chip of MKL26 :&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/3110i84A3E38EA57D371A/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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;nbsp; And i checked your question again, do you want to start from FLASH ?&lt;/P&gt;&lt;P&gt;If yes, the project on KDSv3.2 is just start from flash :&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/3291iC229321A45A551BC/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;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 03:36:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-running-code-from-FLASH-on-KDS-3-2-0/m-p/569617#M7287</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-08-31T03:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: How running code from FLASH on KDS 3.2.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-running-code-from-FLASH-on-KDS-3-2-0/m-p/569618#M7288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Yes we need to run from flash.&lt;/P&gt;&lt;P&gt;Actually we built a custom board using KL17Z controller and working on&lt;/P&gt;&lt;P&gt;developing the application code for a DC - DC converter.&lt;/P&gt;&lt;P&gt;The code functions as expected in debug mode as well as immediately after&lt;/P&gt;&lt;P&gt;flashing the code &amp;amp; if not power cycled.&lt;/P&gt;&lt;P&gt;But in standalone mode, the controller starts functioning only if we do the&lt;/P&gt;&lt;P&gt;hard reset (resetb port) the controller. I don't know why the controller&lt;/P&gt;&lt;P&gt;needs hard reset. we are using RC (10K &amp;amp; 0.1uF) circuit as recommended by&lt;/P&gt;&lt;P&gt;the NXP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz help me to figure out a solution for this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Muniraj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Wed, Aug 31, 2016 at 9:07 AM, Alice_Yang &amp;lt;admin@community.freescale.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 08:09:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-running-code-from-FLASH-on-KDS-3-2-0/m-p/569618#M7288</guid>
      <dc:creator>munirajgopal</dc:creator>
      <dc:date>2016-09-02T08:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: How running code from FLASH on KDS 3.2.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-running-code-from-FLASH-on-KDS-3-2-0/m-p/569619#M7289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="284473" data-username="munirajgopal" href="https://community.nxp.com/people/munirajgopal"&gt;Muniraj Gopal&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Hello Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fisrt, thank you very much to Alice and Muniraj for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Muniraj, for the reset issue you have, i can say to you that i use K22F and this microcontroler start with no problem in debug with OpenSDA probe and release with no OpenSda probe and i connect&amp;nbsp; /RST to 4.7K to Vcc and 100nF to Ground .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the question about the FLASH , i must say that i use JKDS 3.2.0 and SDK 2.0 that exclude the use of Processor Expert, this is actually a limitation of KDS. And in that case i found nothing even in the linker parameter to run from FLASH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Muniraj, yes the startup code start in FLASH memory and there is no choice for startup, but after it load all FLASH code in RAM and run from RAM. You can verify this in the console&amp;nbsp; where "dec" is the total Byte in RAM, ("dec"=98792 can't go over 128K with&amp;nbsp; K22F evant if i have 512K of FLASH and this seem a bit nosense for me)&lt;/P&gt;&lt;P&gt;&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/3156i76F6D2163A25D9C3/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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 10:26:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-running-code-from-FLASH-on-KDS-3-2-0/m-p/569619#M7289</guid>
      <dc:creator>didierjeanjean</dc:creator>
      <dc:date>2016-09-02T10:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: How running code from FLASH on KDS 3.2.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-running-code-from-FLASH-on-KDS-3-2-0/m-p/569620#M7290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry but i send another time my document &lt;SPAN class="" lang="en"&gt; &lt;SPAN&gt;inadvertently&lt;/SPAN&gt;&amp;nbsp; because i am used to use Crtl+S to save my work regularly and in this case it send the message and this is not cool.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN&gt;I&lt;/SPAN&gt; &lt;SPAN&gt;thought about the problem&lt;/SPAN&gt; &lt;SPAN&gt;better&lt;/SPAN&gt; &lt;SPAN&gt;and&lt;/SPAN&gt; &lt;SPAN&gt;it seems that the&lt;/SPAN&gt; &lt;SPAN&gt;code&lt;/SPAN&gt; &lt;SPAN&gt;is not loaded&lt;/SPAN&gt; &lt;SPAN&gt;and launched&lt;/SPAN&gt; &lt;SPAN&gt;in RAM.&lt;/SPAN&gt; &lt;SPAN&gt;In fact I&lt;/SPAN&gt; &lt;SPAN&gt;have another problem&lt;/SPAN&gt;&lt;SPAN&gt;?&lt;/SPAN&gt; &lt;SPAN&gt;However,&lt;/SPAN&gt; &lt;SPAN&gt;this does not change&lt;/SPAN&gt; &lt;SPAN&gt;the fact that with&lt;/SPAN&gt; &lt;SPAN&gt;KDS3.2.0&lt;/SPAN&gt; &lt;SPAN&gt;SDK 2.0&lt;/SPAN&gt; there is no solution&amp;nbsp;&lt;SPAN&gt; to&lt;/SPAN&gt; &lt;SPAN&gt;select the&lt;/SPAN&gt; &lt;SPAN&gt;RAM or&lt;/SPAN&gt; &lt;SPAN&gt;FLASH&lt;/SPAN&gt; &lt;SPAN&gt;as permitted&lt;/SPAN&gt; &lt;SPAN&gt;Processor&lt;/SPAN&gt; &lt;SPAN&gt;Expert. &lt;/SPAN&gt;&lt;SPAN&gt;This seem&lt;/SPAN&gt; a &lt;SPAN&gt;limitation of the &lt;/SPAN&gt;&lt;SPAN&gt;SDK2.0&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;Best regards and thanks for yours help.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 12:11:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-running-code-from-FLASH-on-KDS-3-2-0/m-p/569620#M7290</guid>
      <dc:creator>didierjeanjean</dc:creator>
      <dc:date>2016-09-02T12:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: How running code from FLASH on KDS 3.2.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-running-code-from-FLASH-on-KDS-3-2-0/m-p/569621#M7291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Didier,&lt;/P&gt;&lt;P&gt;About the place of&amp;nbsp; "text&amp;nbsp; data bess ", you can refer to this DOC :&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuoneclipse.com/2013/04/14/text-data-and-bss-code-and-data-size-explained/" title="https://mcuoneclipse.com/2013/04/14/text-data-and-bss-code-and-data-size-explained/"&gt;https://mcuoneclipse.com/2013/04/14/text-data-and-bss-code-and-data-size-explained/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2016 05:42:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-running-code-from-FLASH-on-KDS-3-2-0/m-p/569621#M7291</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-09-05T05:42:28Z</dc:date>
    </item>
  </channel>
</rss>

