<?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: KV56 Does not run without debugger connected in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV56-Does-not-run-without-debugger-connected/m-p/1482990#M63497</link>
    <description>&lt;P&gt;It looks like the debugger unlocks the DWT but you have to do this yourself if not using the debugger. See this post:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/Kinetis-Microcontrollers/KV58-DWT-Delay-Problem-DWT%E5%BB%B6%E6%97%B6%E5%8D%A1%E6%AD%BB/m-p/844140" target="_blank"&gt;https://community.nxp.com/t5/Kinetis-Microcontrollers/KV58-DWT-Delay-Problem-DWT%E5%BB%B6%E6%97%B6%E5%8D%A1%E6%AD%BB/m-p/844140&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I had to add this to the CM7 header&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="derekcook_0-1656615466407.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185204i3915A22E70DE62E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="derekcook_0-1656615466407.png" alt="derekcook_0-1656615466407.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I had to add unlocking the DWT registers&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="derekcook_1-1656615488579.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185205i38263F7C15E3EB72/image-size/medium?v=v2&amp;amp;px=400" role="button" title="derekcook_1-1656615488579.png" alt="derekcook_1-1656615488579.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jun 2022 18:58:54 GMT</pubDate>
    <dc:creator>derekcook</dc:creator>
    <dc:date>2022-06-30T18:58:54Z</dc:date>
    <item>
      <title>KV56 Does not run without debugger connected</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV56-Does-not-run-without-debugger-connected/m-p/1482906#M63493</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;My hardware and software runs when the J-Link debugger is connected with the KV56 MCU, but if I disconnect the debugger via stop in MCUXpresso the code freezes and also if I power the board without the debugger connected the code does not run.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why would this be? Is there something I need to do in MCUXpresso to get KV56 to run without debugger connected?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 16:05:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV56-Does-not-run-without-debugger-connected/m-p/1482906#M63493</guid>
      <dc:creator>derekcook</dc:creator>
      <dc:date>2022-06-30T16:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: KV56 Does not run without debugger connected</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV56-Does-not-run-without-debugger-connected/m-p/1482942#M63494</link>
      <description>&lt;P&gt;Are you using printf with semihosting?&lt;/P&gt;&lt;P&gt;If so, not having the correct hardfault handler will cause your target to stop if you print something.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 16:44:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV56-Does-not-run-without-debugger-connected/m-p/1482942#M63494</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2022-06-30T16:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: KV56 Does not run without debugger connected</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV56-Does-not-run-without-debugger-connected/m-p/1482990#M63497</link>
      <description>&lt;P&gt;It looks like the debugger unlocks the DWT but you have to do this yourself if not using the debugger. See this post:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/Kinetis-Microcontrollers/KV58-DWT-Delay-Problem-DWT%E5%BB%B6%E6%97%B6%E5%8D%A1%E6%AD%BB/m-p/844140" target="_blank"&gt;https://community.nxp.com/t5/Kinetis-Microcontrollers/KV58-DWT-Delay-Problem-DWT%E5%BB%B6%E6%97%B6%E5%8D%A1%E6%AD%BB/m-p/844140&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I had to add this to the CM7 header&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="derekcook_0-1656615466407.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185204i3915A22E70DE62E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="derekcook_0-1656615466407.png" alt="derekcook_0-1656615466407.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I had to add unlocking the DWT registers&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="derekcook_1-1656615488579.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185205i38263F7C15E3EB72/image-size/medium?v=v2&amp;amp;px=400" role="button" title="derekcook_1-1656615488579.png" alt="derekcook_1-1656615488579.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 18:58:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV56-Does-not-run-without-debugger-connected/m-p/1482990#M63497</guid>
      <dc:creator>derekcook</dc:creator>
      <dc:date>2022-06-30T18:58:54Z</dc:date>
    </item>
  </channel>
</rss>

