I have a demo board and I am trying to debug a project on my laptop. I need the laptop to work to do some debugging at my client place.
It all works correctly on my desktop PC, but it fails with the laptop. Both have the same mcuxpresso version. I even upgraded to the last version of mcuxpresso. Same thing!
The error I get is shown in the image link below
https://drive.google.com/file/d/1Og-Rri_w5t6n91N7s4o5sp9MWl_gmVEV/view?usp=sharing
The whole console log is this one
MCUXpresso IDE RedlinkMulti Driver v11.9 (Dec 11 2023 18:02:10 - crt_emu_cm_redlink build 2)
Found chip XML file in C:/Users/Admin/Documents/MCUXpressoIDE_11.9.0_2144/workspace/evkmimxrt1160_dev_video_virtual_camera_bm_cm7/Debug\MIMXRT1166xxxxx.xml
( 5) Remote configuration complete
Reconnected to existing LinkServer process.
============= SCRIPT: RT1160_connect_M7_wake_M4.scp =============
RT1160 Connect M7 and Wake M4 Script
DpID = 0BD11477
APID = 0x04770041
Setting M4 spin code
Error: Wire Ack Fault - target connected?
Error: Wire Ack Fault - target connected?
Setting M4 clock
Error: Wire Ack Fault - target connected?
Resetting M4 core
Error: Wire Ack Fault - target connected?
Error: Wire Ack Fault - target connected?
Error: Wire Ack Fault - target connected?
Error: Wire Ack Fault - target connected?
Error: Wire Ack Fault - target connected?
Releasing M4
Error: Wire Ack Fault - target connected?
View cores on the DAP AP
DpID = 0BD11477
TAP 0: 0BD11477 Core 0: M7 APID: 04770041 ROM Table: E00FD003*
============= END SCRIPT ========================================
Probe Firmware: CMSIS-DAP (ARM)
Serial Number: 0229000026e3ca1a00000000000000000000000097969905
VID:PID: 0D28:0204
USB Path: \\?\hid#vid_0d28&pid_0204&mi_03#7&2717aacd&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
Using memory from core 0 after searching for a good core
debug interface type = CoreSight DP (DAP DP ID 0BD11477) over SWD TAP 0
processor type = Cortex-M7 (CPU ID 00000C27) on DAP AP 0
number of h/w breakpoints = 8
number of flash patches = 0
number of h/w watchpoints = 4
Probe(0): Connected&Reset. DpID: 0BD11477. CpuID: 00000C27. Info: <None>
Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
Content of CoreSight Debug ROM(s):
RBASE E00FD000: CID B105100D PID 000008E88C ROM (type 0x1)
ROM 1 E00FE000: CID B105100D PID 04000BB4C8 ROM (type 0x1)
ROM 2 E00FF000: CID B105100D PID 04000BB4C7 ROM (type 0x1)
ROM 3 E000E000: CID B105E00D PID 04000BB00C Gen SCS (type 0x0)
ROM 3 E0001000: CID B105E00D PID 04000BB002 Gen DWT (type 0x0)
ROM 3 E0002000: CID B105E00D PID 04000BB00E Gen (type 0x0)
ROM 3 E0000000: CID B105E00D PID 04000BB001 Gen ITM (type 0x0)
ROM 2 E0041000: CID B105900D PID 04001BB975 CSt ARM ETMv4.0 type 0x13 Trace Source - Core
ROM 2 E0042000: CID B105900D PID 04004BB906 CSt type 0x14 Debug Control - Trigger, e.g. ECT
ROM 1 E0040000: CID B105900D PID 04000BB9A9 CSt type 0x11 Trace Sink - TPIU
ROM 1 E0043000: CID B105F00D PID 04001BB101 Sys (type 0x0)
NXP: MIMXRT1166xxxxx
DAP stride is 1024 bytes (256 words)
Inspected v.2 External Flash Device on SPI using SFDP JEDEC ID MIMXRT1160_SFDP_QSPI.cfx
Image 'iMXRT1160_SFDP_FlexSPI1_A_QSPI Dec 12 2023 17:27:11'
Opening flash driver MIMXRT1160_SFDP_QSPI.cfx
Sending VECTRESET to run flash driver
After error Nn(05). Wire ACK Fault in DAP access -
Failed to read address register in DAP - Nn(05). Wire ACK Fault in DAP access
flash driver polled mailbox (8 bytes at 0x2000A770) read failed (on poll 1/301) - retrying after 1ms - rc Em(17). Debug port inaccessible after access at location 0x2000A770
AFTER driver startup timeout (302 5ms retries)
Driver Addresses
Start: 20000000
Entry: 2000009D
End: 20000760
Stack: 20002760
Mailbox:2000A760
Driver Register State
R0: 8000010C
R1: 800001A4
R2: 00000000
R3: 6000C92D
R4: 6000231C
R5: 20203A70
R6: B2988B9B
R7: 81DFFFE0
R8: 00200300
R9: 00000000
R10: 00000000
R11: 400F8000
R12: 00000000
SP: 81DFFFE0
LR: 6000F241
PC: 6000C92C
xPSR: 21000000
MSP: 81DFFFE0
PSP: 81E00000
CFBP: 00000000 (CONTROL=0x0, FAULTMASK=0x0, BASEPRI=0x0, PRIMASK=0x0)
Flash Driver V.2 startup failed - rc Ef(34): Timed-out initializing flash.
chip initialization failed - Ef(34): Timed-out initializing flash.
failed to initialize flash driver MIMXRT1160_SFDP_QSPI.cfx
Solved! Go to Solution.
The sdk was for mimxrt1161 and in the other case is was 1060. The error I received was not really helpful.
Solution found!
The sdk was for mimxrt1161 and in the other case is was 1060. The error I received was not really helpful.
Solution found!
Hi @Bariel76 ,
Thanks for your interest in NXP MIMXRT series!
If you confirm that the configuration is the same on both laptop and desktop pc, then both software and hardware issues should be ruled out. So I suspect your problem is similar to the one in this thread, which you can refer to.
Best regards,
Gavin