iMXRT 1024 evk debug error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMXRT 1024 evk debug error

218 Views
cleo
Contributor I

Hello,

 

We are trying to debug a Secondary bootloader for IMXRT 1024 using the iMXRT 1024 evk board and MCUXpresso IDE. Whenever the debug session is launched, we get the following error:

 

cleo_0-1787762322632.pngcleo_0-1787762322632.png

 

 

============= SCRIPT: IMX93_connect_M33.scp =============

 

IMX93 M33 Connect Script

 

Reset pin state: 01

 

DpID = 0BD11477

 

TAP 0: 0BD11477 Core 0: M7 APID: 04770041 ROM Table: E00FD003*

 

TAP 0: 0BD11477 Core 0: M7 APID: 04770041 ROM Table: E00FD003*

 

APID = 0x04770041

 

Error: Wire Ack Fault - target connected?

 

Error: Wire Ack Fault - target connected?

 

m = 0x04770041

 

n = 0x04770041

 

... reconnect to see M33

 

DpID = 0BD11477

 

APID = 0x04770041

 

... disables the ECC logic for Cortex-M33 TCM

 

... disables the ECC logic for Cortex-M33 CACHE

 

Error: Wire Ack Fault - target connected?

 

Error: Wire Ack Fault - target connected?

 

Error: Wire Ack Fault - target connected?

 

Error: Wire Ack Fault - target connected?

 

... send a request to EdgeLock secure enclave to release the Cortex-M33 TROUT

 

... check

 

Error: Wire Ack Fault - target connected?

 

Resp1 : 0x000000C8

 

Error: Wire Ack Fault - target connected?

 

Resp2 : 0x000000C8

 

Error: Wire Ack Fault - target connected?

 

Error: Wire Ack Fault - target connected?

 

SCR = 0x00000000

 

M33_CFG = 0x00000000

 

TAP 0: 0BD11477 Core 0: M7 APID: 04770041 ROM Table: E00FD003*

 

M33 kicked off

 

Error: AP not ready

 

Error: No Halt Confirmation

 

============= END SCRIPT ================================

 

following reset read of core registers failed - Ep(08). Cannot access core regs when target running.

 

Target error from Commit Flash write: Ep(08). Cannot access core regs when target running.

 

GDB stub (C:\nxp\LinkServer_25.6.131\binaries\crt_emu_cm_redlink) terminating - GDB protocol problem: Pipe has been closed by GDB.

 

What is the cause of this issue? Hoe can it be fixed?

0 Kudos
Reply
1 Reply

185 Views
mayliu1
NXP Employee
NXP Employee

Hi @cleo ,

Thank you so much for your interest in our products and for using our community.

I don't think this issue is caused by the secondary bootloader itself.

From the debug log, it appears that MCUXpresso IDE / LinkServer is running the following connect script:

IMX93_connect_M33.scp
IMX93 M33 Connect Script

This script is intended for the Cortex-M33 core on i.MX93 devices. However, the i.MX RT1024 is a single Cortex-M7 device and does not use the i.MX93 M33 connection flow. 
 

Could you please try below?

1: In MCUXpresso IDE, delete the existing debug launch configuration for this project.

2: Confirm that the project MCU/board is configured for an i.MX RT1024 device (or RT1024 EVK), not an i.MX93 device.

3: Open the launch/debug configuration and verify that the selected device/core is RT1024.

If possible, You can also share a screenshot of the Debug Configuration settings for further review.

 
Wish it helps you
Best Regards
May
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2408566%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EiMXRT%201024%20evk%20debug%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2408566%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EWe%20are%20trying%20to%20debug%20a%20Secondary%20bootloader%20for%20IMXRT%201024%20using%20the%20iMXRT%201024%20evk%20board%20and%20MCUXpresso%20IDE.%20Whenever%20the%20debug%20session%20is%20launched%2C%20we%20get%20the%20following%20error%3A%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22cleo_0-1787762322632.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22cleo_0-1787762322632.png%22%20style%3D%22width%3A%20394px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F395381i323427BB078F0FF0%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22cleo_0-1787762322632.png%22%20alt%3D%22cleo_0-1787762322632.png%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3Ecleo_0-1787762322632.png%3C%2Fspan%3E%3C%2Fspan%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3Ecleo_0-1787762322632.png%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CP%3E%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20SCRIPT%3A%20IMX93_connect_M33.scp%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EIMX93%20M33%20Connect%20Script%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EReset%20pin%20state%3A%2001%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EDpID%20%3D%200BD11477%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ETAP%200%3A%200BD11477%20Core%200%3A%20M7%20APID%3A%2004770041%20ROM%20Table%3A%20E00FD003*%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ETAP%200%3A%200BD11477%20Core%200%3A%20M7%20APID%3A%2004770041%20ROM%20Table%3A%20E00FD003*%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EAPID%20%3D%200x04770041%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EError%3A%20Wire%20Ack%20Fault%20-%20target%20connected%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EError%3A%20Wire%20Ack%20Fault%20-%20target%20connected%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3Em%20%3D%200x04770041%3C%2FP%3E%3CBR%20%2F%3E%3CP%3En%20%3D%200x04770041%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E...%20reconnect%20to%20see%20M33%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EDpID%20%3D%200BD11477%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EAPID%20%3D%200x04770041%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E...%20disables%20the%20ECC%20logic%20for%20Cortex-M33%20TCM%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E...%20disables%20the%20ECC%20logic%20for%20Cortex-M33%20CACHE%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EError%3A%20Wire%20Ack%20Fault%20-%20target%20connected%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EError%3A%20Wire%20Ack%20Fault%20-%20target%20connected%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EError%3A%20Wire%20Ack%20Fault%20-%20target%20connected%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EError%3A%20Wire%20Ack%20Fault%20-%20target%20connected%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E...%20send%20a%20request%20to%20EdgeLock%20secure%20enclave%20to%20release%20the%20Cortex-M33%20TROUT%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E...%20check%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EError%3A%20Wire%20Ack%20Fault%20-%20target%20connected%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EResp1%20%3A%200x000000C8%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EError%3A%20Wire%20Ack%20Fault%20-%20target%20connected%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EResp2%20%3A%200x000000C8%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EError%3A%20Wire%20Ack%20Fault%20-%20target%20connected%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EError%3A%20Wire%20Ack%20Fault%20-%20target%20connected%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ESCR%20%3D%200x00000000%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EM33_CFG%20%3D%200x00000000%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ETAP%200%3A%200BD11477%20Core%200%3A%20M7%20APID%3A%2004770041%20ROM%20Table%3A%20E00FD003*%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EM33%20kicked%20off%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EError%3A%20AP%20not%20ready%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EError%3A%20No%20Halt%20Confirmation%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20END%20SCRIPT%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3C%2FP%3E%3CBR%20%2F%3E%3CP%3Efollowing%20reset%20read%20of%20core%20registers%20failed%20-%20Ep(08).%20Cannot%20access%20core%20regs%20when%20target%20running.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ETarget%20error%20from%20Commit%20Flash%20write%3A%20Ep(08).%20Cannot%20access%20core%20regs%20when%20target%20running.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EGDB%20stub%20(C%3A%5Cnxp%5CLinkServer_25.6.131%5Cbinaries%5Ccrt_emu_cm_redlink)%20terminating%20-%20GDB%20protocol%20problem%3A%20Pipe%20has%20been%20closed%20by%20GDB.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EWhat%20is%20the%20cause%20of%20this%20issue%3F%20Hoe%20can%20it%20be%20fixed%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2408645%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20iMXRT%201024%20evk%20debug%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2408645%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F251109%22%20target%3D%22_blank%22%3E%40cleo%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EThank%20you%20so%20much%20for%20your%20interest%20in%20our%20products%20and%20for%20using%20our%20community.%3C%2FP%3E%0A%3CDIV%3E%0A%3CP%3EI%20don't%20think%20this%20issue%20is%20caused%20by%20the%20secondary%20bootloader%20itself.%3C%2FP%3E%0A%3CP%3EFrom%20the%20debug%20log%2C%20it%20appears%20that%20MCUXpresso%20IDE%20%2F%20LinkServer%20is%20running%20the%20following%20connect%20script%3A%3C%2FP%3E%0A%3CDIV%3EIMX93_connect_M33.scp%3C%2FDIV%3E%0A%3CDIV%3EIMX93%20M33%20Connect%20Script%3C%2FDIV%3E%0A%3CP%3E%3CLI-WRAPPER%3E%3C%2FLI-WRAPPER%3E%3C%2FP%3E%0A%3CDIV%3E%3CSTRONG%3EThis%20script%20is%20intended%20for%20the%20Cortex-M33%20core%20on%20i.MX93%20devices.%20However%2C%20the%20i.MX%20RT1024%20is%20a%20single%20Cortex-M7%20device%20and%20does%20not%20use%20the%20i.MX93%20M33%20connection%20flow.%3C%2FSTRONG%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3ECould%20you%20please%20try%20below%3F%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E1%3A%20In%20MCUXpresso%20IDE%2C%20delete%20the%20existing%20debug%20launch%20configuration%20for%20this%20project.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E2%3A%20Confirm%20that%20the%20project%20MCU%2Fboard%20is%20configured%20for%20an%20i.MX%20RT1024%20device%20(or%20RT1024%20EVK)%2C%20not%20an%20i.MX93%20device.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E3%3A%20Open%20the%20launch%2Fdebug%20configuration%20and%20verify%20that%20the%20selected%20device%2Fcore%20is%20RT1024.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EIf%20possible%2C%20You%20can%20also%20share%20a%20screenshot%20of%20the%20Debug%20Configuration%20settings%20for%20further%20review.%3C%2FP%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3EWish%20it%20helps%20you%3C%2FDIV%3E%0A%3CDIV%3EBest%20Regards%3C%2FDIV%3E%0A%3CDIV%3EMay%3C%2FDIV%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E