<?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: A debug problem in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/A-debug-problem/m-p/1362450#M16888</link>
    <description>&lt;P&gt;Recently I successfully downloaded couple of example projects on the board. Right now I'm stuck with the problem. I thought my dev. board is busted somehow but we have a new one and we have the same problem on it.&lt;/P&gt;&lt;P&gt;May be I've messed up with MCUXpresso settings?&lt;/P&gt;</description>
    <pubDate>Wed, 27 Oct 2021 12:58:03 GMT</pubDate>
    <dc:creator>john71</dc:creator>
    <dc:date>2021-10-27T12:58:03Z</dc:date>
    <item>
      <title>A debug problem</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/A-debug-problem/m-p/1361676#M16871</link>
      <description>&lt;P&gt;I work with MIMXRT1160-EVK.&lt;/P&gt;&lt;P&gt;First I build a project.&lt;/P&gt;&lt;P&gt;Then I start Debug&amp;nbsp; and this message pops-up first&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160213i469380811CB656A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="error.png" alt="error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Then I get&lt;/P&gt;&lt;P&gt;MCUXpresso IDE RedlinkMulti Driver v11.4 (Sep 13 2021 15:04:52 - crt_emu_cm_redlink build 16)&lt;BR /&gt;Found chip XML file in D:/Workspace_MCUXpresso_11.4/evkmimxrt1160_hello_world_cm7/Debug\MIMXRT1166xxxxx.xml&lt;BR /&gt;( 5) Remote configuration complete&lt;BR /&gt;Reconnected to existing LinkServer process.&lt;BR /&gt;============= SCRIPT: RT1160_connect_M7_wake_M4.scp =============&lt;BR /&gt;RT1160 Connect M7 and Wake M4 Script&lt;BR /&gt;DpID = 6BA02477&lt;BR /&gt;APID = 0x84770001&lt;BR /&gt;Error: Wire Ack Fault - target connected?&lt;BR /&gt;View cores on the DAP AP&lt;BR /&gt;DpID = 6BA02477&lt;BR /&gt;============= END SCRIPT ========================================&lt;BR /&gt;Probe Firmware: DAPLink CMSIS-DAP (ARM)&lt;BR /&gt;Serial Number: 024400000208827100000000000000000000000097969905&lt;BR /&gt;VID:PID: 0D28:0204&lt;BR /&gt;USB Path: \\?\hid#vid_0d28&amp;amp;pid_0204&amp;amp;mi_03#9&amp;amp;350958c4&amp;amp;0&amp;amp;0000#{4d1e55b2-f16f-11cf-88cb-001111000030}&lt;BR /&gt;Using memory from core 0 after searching for a good core&lt;BR /&gt;connection failed - Em(04). Cannot provide power to DAP bus... Retrying&lt;BR /&gt;Failed on connect: Em(04). Cannot provide power to DAP bus.&lt;BR /&gt;Connected&amp;amp;Reset. Was: NotConnected. DpID: 6BA02477. CpuID: 00000000. Info: &amp;lt;None&amp;gt;&lt;BR /&gt;Last stub error 0: OK&lt;BR /&gt;Last sticky error: 0x0 AIndex: 0&lt;BR /&gt;Debug bus selected: MemAp 0&lt;BR /&gt;DAP Speed test unexecuted or failed&lt;BR /&gt;Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.&lt;BR /&gt;(100) Target Connection Failed&lt;BR /&gt;error closing down debug session - Nn(05). Wire ACK Fault in DAP access&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The I connec an external debugger J-LINK and I get&lt;/P&gt;&lt;P&gt;J-Link is connected.&lt;BR /&gt;Device "MIMXRT1166XXX6_M7" selected.&lt;BR /&gt;Firmware: J-Link V10 compiled Aug 9 2021 10:30:48&lt;BR /&gt;Hardware: V10.10&lt;BR /&gt;S/N: 50119084&lt;BR /&gt;Feature(s): 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;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;BR /&gt;Please check power, connection and settings.&lt;/P&gt;&lt;P&gt;Server has been shut down.&lt;/P&gt;&lt;P&gt;What should I do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 12:48:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/A-debug-problem/m-p/1361676#M16871</guid>
      <dc:creator>john71</dc:creator>
      <dc:date>2021-10-26T12:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: A debug problem</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/A-debug-problem/m-p/1361982#M16881</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you. &lt;BR /&gt;Is it the first time for you to debug the board, in my opinion, the error is related to hardware settings, so I'd like to suggest you to following the &lt;A href="https://www.nxp.com/document/guide/get-started-with-the-i-mx-rt1160:GS-MIMXRT1160-EVK" target="_self"&gt;link&lt;/A&gt; to get started with the i.MX RT1160.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 01:59:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/A-debug-problem/m-p/1361982#M16881</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2021-10-27T01:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: A debug problem</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/A-debug-problem/m-p/1362450#M16888</link>
      <description>&lt;P&gt;Recently I successfully downloaded couple of example projects on the board. Right now I'm stuck with the problem. I thought my dev. board is busted somehow but we have a new one and we have the same problem on it.&lt;/P&gt;&lt;P&gt;May be I've messed up with MCUXpresso settings?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 12:58:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/A-debug-problem/m-p/1362450#M16888</guid>
      <dc:creator>john71</dc:creator>
      <dc:date>2021-10-27T12:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: A debug problem</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/A-debug-problem/m-p/1362825#M16893</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;BR /&gt;From my experience, I'd like to suggest you follow the below steps to solve the issue.&lt;BR /&gt;1) Reset the PC, then open the MCUXpresso IDE;&lt;BR /&gt;2) Regarding the MIMXRT1160 EVK, set the SW1 to Serial Downloader, then power on the board;&lt;BR /&gt;3) Importing a sample demo from the SDK library for the MIMXRT1160 EVK in the MCUXpresso IDE, then debug the demo.&lt;BR /&gt;4) After that, power off and recover the SW1 to the previous set, then power on again.&lt;BR /&gt;5) Give a debug again.&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 02:12:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/A-debug-problem/m-p/1362825#M16893</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2021-10-28T02:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: A debug problem</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/A-debug-problem/m-p/1362982#M16899</link>
      <description>&lt;P&gt;Thanks. I did so. Now I can flash and debug a standalone project. On my project I get&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;MCUXpresso IDE RedlinkMulti Driver v11.4 (Sep 13 2021 15:04:52 - crt_emu_cm_redlink build 16)&lt;BR /&gt;Found chip XML file in D:/Workspace_MCUXpresso_11.4/evkmimxrt1160_hello_world_cm7/Debug\MIMXRT1166xxxxx.xml&lt;BR /&gt;Reconnected to existing LinkServer process.&lt;BR /&gt;============= SCRIPT: RT1160_connect_M7_wake_M4.scp =============&lt;BR /&gt;RT1160 Connect M7 and Wake M4 Script&lt;BR /&gt;DpID = 6BA02477&lt;BR /&gt;APID = 0x84770001&lt;BR /&gt;View cores on the DAP AP&lt;BR /&gt;DpID = 6BA02477&lt;BR /&gt;TAP 0: 6BA02477 Core 0: M7 APID: 84770001 ROM Table: E00FD003*&lt;BR /&gt;TAP 0: 6BA02477 Core 1: M4 APID: 24770011 ROM Table: E00FF003&lt;BR /&gt;============= END SCRIPT ========================================&lt;BR /&gt;Probe Firmware: DAPLink CMSIS-DAP (ARM)&lt;BR /&gt;Serial Number: 024400000208827100000000000000000000000097969905&lt;BR /&gt;VID:PID: 0D28:0204&lt;BR /&gt;USB Path: \\?\hid#vid_0d28&amp;amp;pid_0204&amp;amp;mi_03#9&amp;amp;350958c4&amp;amp;0&amp;amp;0000#{4d1e55b2-f16f-11cf-88cb-001111000030}&lt;BR /&gt;Using memory from core 0 after searching for a good core&lt;BR /&gt;debug interface type = CoreSight DP (DAP DP ID 6BA02477) over SWD TAP 0&lt;BR /&gt;processor type = Cortex-M7 (CPU ID 00000C27) on DAP AP 0&lt;BR /&gt;number of h/w breakpoints = 8&lt;BR /&gt;number of flash patches = 0&lt;BR /&gt;number of h/w watchpoints = 4&lt;BR /&gt;Probe(0): Connected&amp;amp;Reset. DpID: 6BA02477. CpuID: 00000C27. Info: &amp;lt;None&amp;gt;&lt;BR /&gt;Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.&lt;BR /&gt;Content of CoreSight Debug ROM(s):&lt;BR /&gt;RBASE E00FD000: CID B105100D PID 000008E88C ROM (type 0x1)&lt;BR /&gt;ROM 1 E00FE000: CID B105100D PID 04000BB4C8 ROM (type 0x1)&lt;BR /&gt;ROM 2 E00FF000: CID B105100D PID 04000BB4C7 ROM (type 0x1)&lt;BR /&gt;ROM 3 E000E000: CID B105E00D PID 04000BB00C Gen SCS (type 0x0)&lt;BR /&gt;ROM 3 E0001000: CID B105E00D PID 04000BB002 Gen DWT (type 0x0)&lt;BR /&gt;ROM 3 E0002000: CID B105E00D PID 04000BB00E Gen (type 0x0)&lt;BR /&gt;ROM 3 E0000000: CID B105E00D PID 04000BB001 Gen ITM (type 0x0)&lt;BR /&gt;ROM 2 E0041000: CID B105900D PID 04001BB975 CSt ARM ETMv4.0 type 0x13 Trace Source - Core&lt;BR /&gt;ROM 2 E0042000: CID B105900D PID 04004BB906 CSt type 0x14 Debug Control - Trigger, e.g. ECT&lt;BR /&gt;ROM 1 E0043000: CID B105900D PID 04001BB908 CSt CSTF type 0x12 Trace Link - Trace funnel/router&lt;BR /&gt;NXP: MIMXRT1166xxxxx&lt;BR /&gt;DAP stride is 1024 bytes (256 words)&lt;BR /&gt;Inspected v.2 External Flash Device on SPI using SFDP JEDEC ID MIMXRT1160_SFDP_QSPI.cfx&lt;BR /&gt;Image 'iMXRT1160_FlexSPI_SFDP_QSPI Sep 14 2021 15:10:31'&lt;BR /&gt;Opening flash driver MIMXRT1160_SFDP_QSPI.cfx&lt;BR /&gt;Sending VECTRESET to run flash driver&lt;BR /&gt;Flash variant 'JEDEC_FlexSPI_Device' detected (16MB = 256*64K at 0x30000000)&lt;BR /&gt;Closing flash driver MIMXRT1160_SFDP_QSPI.cfx&lt;BR /&gt;Connected: was_reset=false. was_stopped=false&lt;BR /&gt;Awaiting telnet connection to port 3330 ...&lt;BR /&gt;GDB nonstop mode enabled&lt;BR /&gt;Opening flash driver MIMXRT1160_SFDP_QSPI.cfx (already resident)&lt;BR /&gt;Sending VECTRESET to run flash driver&lt;BR /&gt;Flash variant 'JEDEC_FlexSPI_Device' detected (16MB = 256*64K at 0x30000000)&lt;BR /&gt;Writing 243260 bytes to address 0x30000000 in Flash&lt;BR /&gt;30004000 done 6% (16384 out of 243260)&lt;BR /&gt;30008000 done 13% (32768 out of 243260)&lt;BR /&gt;3000C000 done 20% (49152 out of 243260)&lt;BR /&gt;30010000 done 26% (65536 out of 243260)&lt;BR /&gt;30014000 done 33% (81920 out of 243260)&lt;BR /&gt;30018000 done 40% (98304 out of 243260)&lt;BR /&gt;3001C000 done 47% (114688 out of 243260)&lt;BR /&gt;30020000 done 53% (131072 out of 243260)&lt;BR /&gt;30024000 done 60% (147456 out of 243260)&lt;BR /&gt;30028000 done 67% (163840 out of 243260)&lt;BR /&gt;3002C000 done 74% (180224 out of 243260)&lt;BR /&gt;30030000 done 80% (196608 out of 243260)&lt;BR /&gt;30034000 done 87% (212992 out of 243260)&lt;BR /&gt;30038000 done 94% (229376 out of 243260)&lt;BR /&gt;3003C000 done 100% (245760 out of 243260)&lt;BR /&gt;Sectors written: 4, unchanged: 0, total: 4&lt;BR /&gt;Erased/Wrote sector 0-3 with 243260 bytes in 11208msec&lt;BR /&gt;Closing flash driver MIMXRT1160_SFDP_QSPI.cfx&lt;BR /&gt;Flash Write Done&lt;BR /&gt;Flash Program Summary: 243260 bytes in 11.21 seconds (21.20 KB/sec)&lt;BR /&gt;============= SCRIPT: RT1160_reset.scp =============&lt;BR /&gt;SYSTEM Reset&lt;BR /&gt;DpID = 6BA02477&lt;BR /&gt;TAP 0: 6BA02477 Core 0: M7 APID: 84770001 ROM Table: E00FD003*&lt;BR /&gt;TAP 0: 6BA02477 AP 1: APID: 24770011 ROM Table: E00FF003&lt;BR /&gt;TAP 0: 6BA02477 AP 2: APID: 54770002 ROM Table: 00000002&lt;BR /&gt;APID = 0x84770001&lt;BR /&gt;Setting M4 spin code&lt;BR /&gt;Setting M4 clock&lt;BR /&gt;Resetting M4 core&lt;BR /&gt;Releasing M4&lt;BR /&gt;View cores on the DAP AP&lt;BR /&gt;DpID = 6BA02477&lt;BR /&gt;TAP 0: 6BA02477 Core 0: M7 APID: 84770001 ROM Table: E00FD003*&lt;BR /&gt;TAP 0: 6BA02477 Core 1: M4 APID: 24770011 ROM Table: E00FF003&lt;BR /&gt;R15 = 0x00223104&lt;BR /&gt;Vector table SP/PC is the reset context.&lt;BR /&gt;PC = 0x300024C1&lt;BR /&gt;SP = 0x20040000&lt;BR /&gt;XPSR = 0x01000000&lt;BR /&gt;VTOR = 0x30002000&lt;BR /&gt;============= END SCRIPT ===========================&lt;BR /&gt;16: Target error from status-poll: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Unknown/broken state: Nn(05). Wire ACK Fault in DAP access: &amp;lt;cannot read registers&amp;gt;Unknown&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;BR /&gt;Target error from Register access: Nn(05). Wire ACK Fault in DAP access&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Thu, 28 Oct 2021 06:01:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/A-debug-problem/m-p/1362982#M16899</guid>
      <dc:creator>john71</dc:creator>
      <dc:date>2021-10-28T06:01:10Z</dc:date>
    </item>
  </channel>
</rss>

