<?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 MK10DX256VLK7 doesn't run standalone, just when debugging. Verified it's running from FLASH, not RAM. in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK10DX256VLK7-doesn-t-run-standalone-just-when-debugging/m-p/306416#M13041</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using MK10DX256VLK7 with internal oscillator, the problem is that it runs just when I'm debugging (I use Segger J-Link) but it doesn't run standalone, I'm sure I'm writing the code to FLASH, I have selected the FLASH target and verified code is running from FLASH. Any thoughts about what I'm doing wrong? Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="MK10DX256VLK7.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43362i6711BD9065759645/image-size/large?v=v2&amp;amp;px=999" role="button" title="MK10DX256VLK7.png" alt="MK10DX256VLK7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Mar 2014 00:21:13 GMT</pubDate>
    <dc:creator>carloscuev</dc:creator>
    <dc:date>2014-03-29T00:21:13Z</dc:date>
    <item>
      <title>MK10DX256VLK7 doesn't run standalone, just when debugging. Verified it's running from FLASH, not RAM.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK10DX256VLK7-doesn-t-run-standalone-just-when-debugging/m-p/306416#M13041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using MK10DX256VLK7 with internal oscillator, the problem is that it runs just when I'm debugging (I use Segger J-Link) but it doesn't run standalone, I'm sure I'm writing the code to FLASH, I have selected the FLASH target and verified code is running from FLASH. Any thoughts about what I'm doing wrong? Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="MK10DX256VLK7.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43362i6711BD9065759645/image-size/large?v=v2&amp;amp;px=999" role="button" title="MK10DX256VLK7.png" alt="MK10DX256VLK7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Mar 2014 00:21:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK10DX256VLK7-doesn-t-run-standalone-just-when-debugging/m-p/306416#M13041</guid>
      <dc:creator>carloscuev</dc:creator>
      <dc:date>2014-03-29T00:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: MK10DX256VLK7 doesn't run standalone, just when debugging. Verified it's running from FLASH, not RAM.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK10DX256VLK7-doesn-t-run-standalone-just-when-debugging/m-p/306417#M13042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Carlos:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess the problem is that you might be compiling with a "semihosting" ewl library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please go to Project -&amp;gt; Properties -&amp;gt; C/C++ Build -&amp;gt; Settings -&amp;gt; Librarian, and make sure that you do not have selected any of the "XXX_hosted" options. You can go with ewl_noio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Libraries.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14804iBEAB7445FF6FAC9C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Libraries.png" alt="Libraries.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&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>Sun, 30 Mar 2014 01:37:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK10DX256VLK7-doesn-t-run-standalone-just-when-debugging/m-p/306417#M13042</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2014-03-30T01:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: MK10DX256VLK7 doesn't run standalone, just when debugging. Verified it's running from FLASH, not RAM.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK10DX256VLK7-doesn-t-run-standalone-just-when-debugging/m-p/306418#M13043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was the problem, thank you very much Jorge, now I see how inadvertently enabled this when creating my project:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Semihosting.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14806i31A0B27567CD8997/image-size/large?v=v2&amp;amp;px=999" role="button" title="Semihosting.png" alt="Semihosting.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means now I have no Debugger Console IO support right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Mar 2014 08:09:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK10DX256VLK7-doesn-t-run-standalone-just-when-debugging/m-p/306418#M13043</guid>
      <dc:creator>carloscuev</dc:creator>
      <dc:date>2014-03-30T08:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: MK10DX256VLK7 doesn't run standalone, just when debugging. Verified it's running from FLASH, not RAM.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK10DX256VLK7-doesn-t-run-standalone-just-when-debugging/m-p/306419#M13044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good to know it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right, without one of those "hosted" libraries you have no debugger console support. It is always better to use a UART and a terminal program. In case you really need printfs, you can use the ConsoleIO component. Check the next tutorial:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2013/02/07/tutorial-printf-with-and-without-processor-expert/" title="http://mcuoneclipse.com/2013/02/07/tutorial-printf-with-and-without-processor-expert/"&gt;Tutorial: Printf() with (and without) Processor Expert | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Mar 2014 15:59:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK10DX256VLK7-doesn-t-run-standalone-just-when-debugging/m-p/306419#M13044</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2014-03-30T15:59:47Z</dc:date>
    </item>
  </channel>
</rss>

