<?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 The microcontroller permanently do a reset in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/The-microcontroller-permanently-do-a-reset/m-p/508337#M31987</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi!!! I am making a bootloader in a KM34z128M5, testing the firmware, this jumped to hard fault. From that moment, everytime that the device is powered up, the microcontroller permanently do a reset. I have tried to flash the microcontroller or simply erase again but it is impossible doing it debit to reset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If someone could help me I would be grateful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jan 2016 09:47:25 GMT</pubDate>
    <dc:creator>davidmartínezag</dc:creator>
    <dc:date>2016-01-22T09:47:25Z</dc:date>
    <item>
      <title>The microcontroller permanently do a reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/The-microcontroller-permanently-do-a-reset/m-p/508337#M31987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi!!! I am making a bootloader in a KM34z128M5, testing the firmware, this jumped to hard fault. From that moment, everytime that the device is powered up, the microcontroller permanently do a reset. I have tried to flash the microcontroller or simply erase again but it is impossible doing it debit to reset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If someone could help me I would be grateful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 09:47:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/The-microcontroller-permanently-do-a-reset/m-p/508337#M31987</guid>
      <dc:creator>davidmartínezag</dc:creator>
      <dc:date>2016-01-22T09:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: The microcontroller permanently do a reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/The-microcontroller-permanently-do-a-reset/m-p/508338#M31988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello David:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What IDE and debugging tool are you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should be possible to reprogram or erase the device, unless it is secured and mass erase is disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another possible cause is that the SWD pins are disabled early in the code by changing the pins to a different function. Have you reconfigured the SWD pins?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some software tools to regain access to the device if it is not permanently locked, but it depends on your debug probe:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- With P&amp;amp;E toos (e.g. Universal Multilink), there is the &lt;STRONG&gt;&lt;A href="http://www.pemicro.com/downloads/download_file.cfm?download_id=393"&gt;P&amp;amp;E_recovery_utility&lt;/A&gt;&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&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/56083i91675D82453F92A2/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;- With Segger tools, there is a software pack which includes the &lt;STRONG&gt;J-Link commander&lt;/STRONG&gt;, which you can use to unlock and erase Kinetis devices. The download link: &lt;A href="https://www.segger.com/jlink-software.html" title="https://www.segger.com/jlink-software.html"&gt;SEGGER - The Embedded Experts for RTOS and Middleware, Debug Probes and Production Programmers - Download&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some good posts by colleague Erich Styger about these tools:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2013/06/16/bricking-and-recovering-frdm-kl25z-boards-reset-swd-clock-and-low-power/" title="http://mcuoneclipse.com/2013/06/16/bricking-and-recovering-frdm-kl25z-boards-reset-swd-clock-and-low-power/"&gt;Bricking and Recovering FRDM-KL25Z Boards: Reset, SWD Clock and Low Power | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2014/10/05/unlocking-and-erasing-flash-with-segger-j-link/" title="http://mcuoneclipse.com/2014/10/05/unlocking-and-erasing-flash-with-segger-j-link/"&gt;Unlocking and Erasing FLASH with Segger J-Link | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best Regards!&lt;BR /&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>Mon, 25 Jan 2016 18:50:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/The-microcontroller-permanently-do-a-reset/m-p/508338#M31988</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2016-01-25T18:50:25Z</dc:date>
    </item>
  </channel>
</rss>

