<?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: RT1170-EVK CMSIS DAP-link issue in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVK-CMSIS-DAP-link-issue/m-p/1467543#M19879</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/184695"&gt;@yfliu&lt;/a&gt;&amp;nbsp;, well, this looks like you have problems with your Dap-Link, so you need to try deferments this to see where the problem is:&lt;/P&gt;&lt;P&gt;1.- to see what happen or in which moment the DAP-Link is disconnect, open a terminal, and type&lt;BR /&gt;$ dmesg &amp;gt;&amp;gt; error1.txt&lt;BR /&gt;and when you detect the disconnection, type&lt;BR /&gt;$dmesg &amp;gt;&amp;gt; error2.txt&lt;BR /&gt;$Diff error1.txt error2.txt&lt;BR /&gt;So, check what happened, is there some indication of why there is disconnect?&lt;/P&gt;&lt;P&gt;2.- if you have another board, you can try to connect dap-link with the other board and see if this unplugged too&lt;/P&gt;&lt;P&gt;3.- try to debug under MCUXpresso IDE directly, without DAP-link, and see if this disconnects as same&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a good day&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jun 2022 15:15:14 GMT</pubDate>
    <dc:creator>CarlosGarabito</dc:creator>
    <dc:date>2022-06-01T15:15:14Z</dc:date>
    <item>
      <title>RT1170-EVK CMSIS DAP-link issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVK-CMSIS-DAP-link-issue/m-p/1465231#M19792</link>
      <description>&lt;P&gt;Dear support,&lt;/P&gt;&lt;P&gt;I am using pyOCD v0.33.1 and Python3.10 on Ubuntu 16.04 to debug RT110-EVK board via the default DAP-Link interface. Initially things are fine and I can use "pyocd load xxx.elf" to download sample apps to the device and then use "minicom -D /dev/ttyACM0" to see the console outputs.&lt;/P&gt;&lt;P&gt;However, after some use, I encountered issues.&lt;/P&gt;&lt;P&gt;I still can do "pyocd list" and "pyocd reset":&lt;/P&gt;&lt;PRE&gt;$ pyocd list&lt;BR /&gt;0 MIMXRT1170-EVK [mimxrt1170_cm7] 02440000092ced5300000000000000000000000097969905&lt;BR /&gt;&lt;BR /&gt;$ pyocd reset -v0000591 I Target type is mimxrt1170_cm7 [board]&lt;BR /&gt;0000627 I Performing 'hw' reset... [reset_cmd]&lt;BR /&gt;0000836 I Done. [reset_cmd]&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but can't do other operations like "pyocd load" or "pyocd gdb", they both showed below errors:&lt;/P&gt;&lt;PRE&gt;&lt;STRONG&gt;$ pyocd gdb&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;0000600 I Target type is mimxrt1170_cm7 [board]&lt;BR /&gt;0000668 I DP IDR = 0x6ba02477 (v2 rev6) [dap]&lt;BR /&gt;0000704 I AHB-AP#0 IDR = 0x84770001 (AHB-AP var0 rev8) [ap]&lt;BR /&gt;0000740 E probe exception during disconnect: [session]&lt;/STRONG&gt;...&lt;BR /&gt;pyocd.core.exceptions.TransferFaultError: Memory transfer fault&lt;BR /&gt;...&lt;BR /&gt;pyocd.core.exceptions.TransferTimeoutError&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then tried connecting the device with MCUXpresso IDE, but still got the following error:&lt;/P&gt;&lt;PRE&gt;Failed to execute MI command: -target-select extended-remote localhost:10989&lt;BR /&gt;Error message from debugger back end:&lt;BR /&gt;Remote communication error. Target disconnected.: (undocumented errno 10061).&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it seems that the device's DAP-Link port is in a strange status. Does anyone know what happened and how to recover from this situation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;yanfeng&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 08:30:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVK-CMSIS-DAP-link-issue/m-p/1465231#M19792</guid>
      <dc:creator>yfliu</dc:creator>
      <dc:date>2022-05-27T08:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170-EVK CMSIS DAP-link issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVK-CMSIS-DAP-link-issue/m-p/1467543#M19879</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/184695"&gt;@yfliu&lt;/a&gt;&amp;nbsp;, well, this looks like you have problems with your Dap-Link, so you need to try deferments this to see where the problem is:&lt;/P&gt;&lt;P&gt;1.- to see what happen or in which moment the DAP-Link is disconnect, open a terminal, and type&lt;BR /&gt;$ dmesg &amp;gt;&amp;gt; error1.txt&lt;BR /&gt;and when you detect the disconnection, type&lt;BR /&gt;$dmesg &amp;gt;&amp;gt; error2.txt&lt;BR /&gt;$Diff error1.txt error2.txt&lt;BR /&gt;So, check what happened, is there some indication of why there is disconnect?&lt;/P&gt;&lt;P&gt;2.- if you have another board, you can try to connect dap-link with the other board and see if this unplugged too&lt;/P&gt;&lt;P&gt;3.- try to debug under MCUXpresso IDE directly, without DAP-link, and see if this disconnects as same&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a good day&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 15:15:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVK-CMSIS-DAP-link-issue/m-p/1467543#M19879</guid>
      <dc:creator>CarlosGarabito</dc:creator>
      <dc:date>2022-06-01T15:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170-EVK CMSIS DAP-link issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVK-CMSIS-DAP-link-issue/m-p/1478604#M20234</link>
      <description>&lt;P&gt;Dear &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195771"&gt;@CarlosGarabito&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for the follow-ups!&lt;/P&gt;&lt;P&gt;After switching to openocd 0.11, I didn't encounter such problems with default on-board debug firmware.&lt;/P&gt;&lt;P&gt;So let's close this ticket for now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;yf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 01:57:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVK-CMSIS-DAP-link-issue/m-p/1478604#M20234</guid>
      <dc:creator>yfliu</dc:creator>
      <dc:date>2022-06-23T01:57:39Z</dc:date>
    </item>
  </channel>
</rss>

