<?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>LPC MicrocontrollersのトピックRe: How to reconnect to a board that errors when debug session starts?</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-reconnect-to-a-board-that-errors-when-debug-session/m-p/797942#M32091</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I managed to connect to the board and erase the MCU flash.&amp;nbsp; I did this by using the LPC11U35 CMSIS DAP to connect to the board rather than using the JLink.&amp;nbsp; When powering the board (plugging in the USB) I held down the reset button on the board.&amp;nbsp; I then used the GUI Flash Tool within the debug configuration for "C/C++ (NXP Semiconductors) MCU Application" to perform a mass erase.&amp;nbsp; I could then connect to it as normal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fault in the code was incorrect CPU clock configuration.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jul 2018 08:47:14 GMT</pubDate>
    <dc:creator>stephen_goodman</dc:creator>
    <dc:date>2018-07-11T08:47:14Z</dc:date>
    <item>
      <title>How to reconnect to a board that errors when debug session starts?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-reconnect-to-a-board-that-errors-when-debug-session/m-p/797941#M32090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been debugging code on the LPC 1769 LPCXpresso using MCUXpresso and a JLink debug probe. When I was last able to run a debug session the board programmed OK but the application did not run. By which I mean breakpoints I set were not hit and pausing the debug session did not halt within code. I stopped the debug session and tried to restart but I could no longer connect to the MCU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are a few error messages but I think the important ones are:&lt;/P&gt;&lt;P&gt;"AP[0]: Skipped. Invalid implementer code read from CPUIDVal[31:24] = 0x00"&lt;/P&gt;&lt;P&gt;"WARNING: RESET (pin 15) high, but should be low. Please check target hardware."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thinking that it might be the on board CMSIS DAP debugger interfering with the JLink connection I used that debugger instead and got a similar error:&lt;/P&gt;&lt;P&gt;"connection failed - Ep(03). Invalid ID for processor"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried using the GUI Flash Tool erase function:&lt;/P&gt;&lt;P&gt;"Cannot halt processor"&lt;BR /&gt;"connection failed - Ep(03). Invalid ID for processor"&lt;BR /&gt;"Expecting vector catch on SYSRESETREQ signal"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the console output for each attempt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried searching for help but cannot find anything helpful or relevant to my problem. Can someone give advice as to how this could have happened, what I should be looking for and how I could reconnect to the device again?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 13:26:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-reconnect-to-a-board-that-errors-when-debug-session/m-p/797941#M32090</guid>
      <dc:creator>stephen_goodman</dc:creator>
      <dc:date>2018-07-10T13:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to reconnect to a board that errors when debug session starts?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-reconnect-to-a-board-that-errors-when-debug-session/m-p/797942#M32091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I managed to connect to the board and erase the MCU flash.&amp;nbsp; I did this by using the LPC11U35 CMSIS DAP to connect to the board rather than using the JLink.&amp;nbsp; When powering the board (plugging in the USB) I held down the reset button on the board.&amp;nbsp; I then used the GUI Flash Tool within the debug configuration for "C/C++ (NXP Semiconductors) MCU Application" to perform a mass erase.&amp;nbsp; I could then connect to it as normal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fault in the code was incorrect CPU clock configuration.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2018 08:47:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-reconnect-to-a-board-that-errors-when-debug-session/m-p/797942#M32091</guid>
      <dc:creator>stephen_goodman</dc:creator>
      <dc:date>2018-07-11T08:47:14Z</dc:date>
    </item>
  </channel>
</rss>

