<?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>Embedded Software and Tools ClinicのトピックRe: cannot debug  device anymore</title>
    <link>https://community.nxp.com/t5/Embedded-Software-and-Tools/cannot-debug-device-anymore/m-p/1031019#M71</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It may that your code is causing it to go into a reset loop. Try setting it to Serial Downloader mode (dip SW8 to 0001), erasing the flash (or even just downloading an application you know works like the hello world demo), and then setting back to internal boot (dip sw8 0010).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erasing flash using MCUXpresso:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102635i9C38388153EBADE2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Mar 2020 15:25:47 GMT</pubDate>
    <dc:creator>alex_rodriguez</dc:creator>
    <dc:date>2020-03-02T15:25:47Z</dc:date>
    <item>
      <title>cannot debug  device anymore</title>
      <link>https://community.nxp.com/t5/Embedded-Software-and-Tools/cannot-debug-device-anymore/m-p/1031017#M69</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I was using the EVK, nothing fancy and suddenly I cannot connect more using the DAP interface. I have tried to connect using my J-Link Plus and same thing. Here is the output log of J-Link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could not connect to target.&lt;BR /&gt; SEGGER J-Link GDB Server V6.62c Command Line Version&lt;BR /&gt; JLinkARM.dll V6.62c (DLL compiled Feb 21 2020 17:43:19)&lt;BR /&gt; Command line: -nosilent -swoport 2332 -select USB -telnetport 2333 -singlerun -endian little -noir -speed auto -port 2331 -vd -device MIMXRT1011DAE5A -if SWD -halt -reportuseraction&lt;BR /&gt; -----GDB Server start settings-----&lt;BR /&gt; GDBInit file: none&lt;BR /&gt; GDB Server Listening port: 2331&lt;BR /&gt; SWO raw output listening port: 2332&lt;BR /&gt; Terminal I/O port: 2333&lt;BR /&gt; Accept remote connection: localhost only&lt;BR /&gt; Generate logfile: off&lt;BR /&gt; Verify download: on&lt;BR /&gt; Init regs on start: off&lt;BR /&gt; Silent mode: off&lt;BR /&gt; Single run mode: on&lt;BR /&gt; Target connection timeout: 0 ms&lt;BR /&gt; ------J-Link related settings------&lt;BR /&gt; J-Link Host interface: USB&lt;BR /&gt; J-Link script: none&lt;BR /&gt; J-Link settings file: none&lt;BR /&gt; ------Target related settings------&lt;BR /&gt; Target device: MIMXRT1011DAE5A&lt;BR /&gt; Target interface: SWD&lt;BR /&gt; Target interface speed: auto&lt;BR /&gt; Target endian: little&lt;BR /&gt; Connecting to J-Link...&lt;BR /&gt; $$UserActionStart$$: Firmware update&lt;BR /&gt; Updating firmware: J-Link V10 compiled Jan 7 2020 16:51:47&lt;BR /&gt; Replacing firmware: J-Link V10 compiled Oct 22 2019 16:28:15&lt;BR /&gt; Waiting for new firmware to boot&lt;BR /&gt; New firmware booted successfully&lt;BR /&gt; $$UserActionEnd$$: Firmware update&lt;BR /&gt; J-Link is connected.&lt;BR /&gt; Device "MIMXRT1011DAE5A" selected.&lt;BR /&gt; Firmware: J-Link V10 compiled Jan 7 2020 16:51:47&lt;BR /&gt; Hardware: V10.10&lt;BR /&gt; S/N: 600104418&lt;BR /&gt; Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB&lt;BR /&gt; Checking target voltage...&lt;BR /&gt; Target voltage: 3.33 V&lt;BR /&gt; Listening on TCP/IP port 2331&lt;BR /&gt; Connecting to target...&lt;BR /&gt; Found SW-DP with ID 0x0BD11477&lt;BR /&gt; DPIDR: 0x0BD11477&lt;BR /&gt; Scanning AP map to find all available APs&lt;BR /&gt; AP[1]: Stopped AP scan as end of AP map has been reached&lt;BR /&gt; AP[0]: AHB-AP (IDR: 0x04770041)&lt;BR /&gt; Iterating through AP map to find AHB-AP to use&lt;BR /&gt; AP[0]: Core found&lt;BR /&gt; AP[0]: AHB-AP ROM base: 0xE00FD000&lt;BR /&gt; Found SW-DP with ID 0x0BD11477&lt;BR /&gt; Failed to power up DAP&lt;BR /&gt; ERROR: DAP error while reading AIRCR.&lt;BR /&gt; ERROR: Could not connect to target.&lt;BR /&gt; Target connection failed. GDBServer will be closed...Restoring target state and closing J-Link connection...&lt;BR /&gt; Shutting down...&lt;BR /&gt; Could not connect to target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does someone know the possible root cause of this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will appreciate any response,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Mar 2020 12:43:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Embedded-Software-and-Tools/cannot-debug-device-anymore/m-p/1031017#M69</guid>
      <dc:creator>mhanuel</dc:creator>
      <dc:date>2020-03-01T12:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: cannot debug  device anymore</title>
      <link>https://community.nxp.com/t5/Embedded-Software-and-Tools/cannot-debug-device-anymore/m-p/1031018#M70</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you find RT1010 disk?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2020 08:18:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Embedded-Software-and-Tools/cannot-debug-device-anymore/m-p/1031018#M70</guid>
      <dc:creator>lucas_cao</dc:creator>
      <dc:date>2020-03-02T08:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: cannot debug  device anymore</title>
      <link>https://community.nxp.com/t5/Embedded-Software-and-Tools/cannot-debug-device-anymore/m-p/1031019#M71</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It may that your code is causing it to go into a reset loop. Try setting it to Serial Downloader mode (dip SW8 to 0001), erasing the flash (or even just downloading an application you know works like the hello world demo), and then setting back to internal boot (dip sw8 0010).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erasing flash using MCUXpresso:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102635i9C38388153EBADE2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2020 15:25:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Embedded-Software-and-Tools/cannot-debug-device-anymore/m-p/1031019#M71</guid>
      <dc:creator>alex_rodriguez</dc:creator>
      <dc:date>2020-03-02T15:25:47Z</dc:date>
    </item>
  </channel>
</rss>

