<?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 TWR-K20D50 run only in debugging mode and not standalone in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K20D50-run-only-in-debugging-mode-and-not-standalone/m-p/673636#M41395</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo,&lt;/P&gt;&lt;P&gt;I am using a TWR-K20D50 board, I am programming with Segger j-link and use Kinetis Design Studio 3.1.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After&amp;nbsp;flashing the program on the controller of the TWR-K20D50 board, the TWR-K20D50 board&amp;nbsp;do not start to run. Pressing the reset-button does not help. If I click step per step through the program at the debug perspective I can see that the board works well, but not standalone. I have connect the board all the time with power at connector J12 "Power/OSJTAG Mini-AB USB Connector".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I have set an option to run the board in a standalone mode after flashing with j-link?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jun 2017 09:34:39 GMT</pubDate>
    <dc:creator>dominikfallmann</dc:creator>
    <dc:date>2017-06-26T09:34:39Z</dc:date>
    <item>
      <title>TWR-K20D50 run only in debugging mode and not standalone</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K20D50-run-only-in-debugging-mode-and-not-standalone/m-p/673636#M41395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo,&lt;/P&gt;&lt;P&gt;I am using a TWR-K20D50 board, I am programming with Segger j-link and use Kinetis Design Studio 3.1.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After&amp;nbsp;flashing the program on the controller of the TWR-K20D50 board, the TWR-K20D50 board&amp;nbsp;do not start to run. Pressing the reset-button does not help. If I click step per step through the program at the debug perspective I can see that the board works well, but not standalone. I have connect the board all the time with power at connector J12 "Power/OSJTAG Mini-AB USB Connector".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I have set an option to run the board in a standalone mode after flashing with j-link?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 09:34:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K20D50-run-only-in-debugging-mode-and-not-standalone/m-p/673636#M41395</guid>
      <dc:creator>dominikfallmann</dc:creator>
      <dc:date>2017-06-26T09:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K20D50 run only in debugging mode and not standalone</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K20D50-run-only-in-debugging-mode-and-not-standalone/m-p/673637#M41396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dominik,&lt;/P&gt;&lt;P&gt;I have seen cases where semihosting was the problem. If you are using semihosting (e.g. printf()), then it will stall the board if no debug session is active.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 10:41:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K20D50-run-only-in-debugging-mode-and-not-standalone/m-p/673637#M41396</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2017-06-26T10:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K20D50 run only in debugging mode and not standalone</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K20D50-run-only-in-debugging-mode-and-not-standalone/m-p/673638#M41397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Cpu_ivINT_PIT1_img0.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24251i961F510B461727D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Cpu_ivINT_PIT1_img0.jpg" alt="Cpu_ivINT_PIT1_img0.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see that it stopped at an interrupt. If I do not use the PIT and I use a "for loop" to wait a time then the board can run standalone. I do not understand why it stopped.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 11:30:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K20D50-run-only-in-debugging-mode-and-not-standalone/m-p/673638#M41397</guid>
      <dc:creator>dominikfallmann</dc:creator>
      <dc:date>2017-06-28T11:30:04Z</dc:date>
    </item>
  </channel>
</rss>

