<?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 Re: Kinetis - START_FROM_RESET in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-START-FROM-RESET/m-p/606208#M35744</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ask Paul at Rowley - he'll be able to tell you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used Crossworks with normal reset vector without any difficulties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Sep 2016 22:46:47 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2016-09-09T22:46:47Z</dc:date>
    <item>
      <title>Kinetis - START_FROM_RESET</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-START-FROM-RESET/m-p/606205#M35741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following comment appears in my startup.s file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* STARTUP_FROM_RESET&lt;BR /&gt; *&lt;BR /&gt; * If defined, the program will startup from power-on/reset. If not defined&lt;BR /&gt; * the program will just loop endlessly from power-on/reset.&lt;BR /&gt; *&lt;BR /&gt; * This definition is not defined by default on this target because the&lt;BR /&gt; * debugger is unable to reset this target and maintain control of it over the&lt;BR /&gt; * JTAG interface. The advantage of doing this is that it allows the debugger&lt;BR /&gt; * to reset the CPU and run programs from a known reset CPU state on each run.&lt;BR /&gt; * It also acts as a safety net if you accidently download a program in FLASH&lt;BR /&gt; * that crashes and prevents the debugger from taking control over JTAG&lt;BR /&gt; * rendering the target unusable over JTAG. The obvious disadvantage of doing&lt;BR /&gt; * this is that your application will not startup without the debugger.&lt;BR /&gt; *&lt;BR /&gt; * We advise that on this target you keep STARTUP_FROM_RESET undefined whilst&lt;BR /&gt; * you are developing and only define STARTUP_FROM_RESET when development is&lt;BR /&gt; * complete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All my work to date has been having the device connected to a JLink.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now am getting ready to run the device without a JLink connection. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The comment above says that is&amp;nbsp;&lt;SPAN&gt;STARTUP_FROM_RESET is not defined - the cpu goes into an endless loop so that "a debugger" can connect to it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is this a "general" statement or does it NOT apply to a JLink connected device?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Segger has no information that states this "endless loop" debug mode is required for them to get a hold of the cpu.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is the statement for NON-JLink debug devices?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for any clarification.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Joe&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 15:58:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-START-FROM-RESET/m-p/606205#M35741</guid>
      <dc:creator>JHinkle</dc:creator>
      <dc:date>2016-09-09T15:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis - START_FROM_RESET</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-START-FROM-RESET/m-p/606206#M35742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have worked with over 80 Kinetis types during 6 years and with about 8 different JTAG/SWD interfaces, as well as several J-Link models (and most available IDEs). Never have I needed to use the technique of not installing a normal reset vector; during development it is not advisable to test code that doesn't represent the final state (because there are sometimes nasty surprises when changed).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;There are other techniques used by the debuggers and IDEs to take over control of the chip in an emergency (like the setting to immediately do a chip erase on connection).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In any case I would immediately move to the final state of code and ignore this method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kinetis for professionals: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fhttp%3A%2F%2Fwww.utasker.com%2Fkinetis.html" rel="nofollow" target="_blank"&gt;http://http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 21:56:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-START-FROM-RESET/m-p/606206#M35742</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2016-09-09T21:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis - START_FROM_RESET</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-START-FROM-RESET/m-p/606207#M35743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I totally agree. &amp;nbsp;THAT is why I asked the question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's part of the startup.s code provided by Rowley for Kinetis. &amp;nbsp;Just wondering WHY?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 22:28:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-START-FROM-RESET/m-p/606207#M35743</guid>
      <dc:creator>JHinkle</dc:creator>
      <dc:date>2016-09-09T22:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis - START_FROM_RESET</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-START-FROM-RESET/m-p/606208#M35744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ask Paul at Rowley - he'll be able to tell you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used Crossworks with normal reset vector without any difficulties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 22:46:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-START-FROM-RESET/m-p/606208#M35744</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2016-09-09T22:46:47Z</dc:date>
    </item>
  </channel>
</rss>

