imx rt 1024: Target error from Commit Flash write: Nn(05). Wire ACK Fault in DAP access

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

imx rt 1024: Target error from Commit Flash write: Nn(05). Wire ACK Fault in DAP access

2,485 Views
bp1979
Senior Contributor I

Dear nxp

We are using a custom board with a imx rt 1024. For some reason (honestly, no clue whatsoever) we are no longer able to debug on target since yesterday.

https://community.nxp.com/t5/MCUXpresso-General/Wire-ACK-Fault-in-DAP-access/m-p/869395

My colleague found this thread for a different chip. We don't have this "unlock MCU" tab. 

Is there any way to achieve the same? Can somebody explain what this error exactly means? What causes this? Is it fixable? Or is this game over?

 

0 Kudos
Reply
3 Replies

2,473 Views
bp1979
Senior Contributor I

Hi @kerryzhou 

Thanks for your fast reply! 

We are using the MCU link to debug on the board. We don't have the USB connector. But that should work the same way, correct?

Do I need to follow the first steps in this case? Or should I directly use the MCU boot utility as you suggested?

0 Kudos
Reply

2,470 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @bp1979 ,

  Yes, you can try my mentioned method with your CMSIS DAP.

If can't do the mass erase, then check your board, these pins:

kerryzhou_0-1647951770564.png

Then, enter serial download mode, use the TTL-USB connect your UART interface, then connect to the MCUBootutility to do the erase.

Just to erase the flash.

Best Regards,

Kerry

 

0 Kudos
Reply

2,478 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @bp1979 ,

   Please don't worry, it is not the difficult issue when you can debug it previously.

   Do you also leave the boot mode in your customer board or not? I mean, whether you can enter the serial download mode or not? And also fanout the USB port? Or the UART port for the boot:

kerryzhou_0-1647946414800.png

 

If yes, you can enter the serial download mode, then do the internal flash erase, then your debugger will be recovered.

Or you can enter the serial download mode, then use this MCUXpresso button at first:

kerryzhou_1-1647946499078.png

 

If still can't work, then you can check whether you leave the USB or the UART as I mentioned, then you can use the MCUBootutility tool to connect your board in the serial download mode, and erase the internal flash memory: 0X60000000 to 0x60010000

https://github.com/JayHeng/NXP-MCUBootUtility/archive/refs/tags/v3.4.0.zip
the related user manual is:
https://github.com/JayHeng/NXP-MCUBootUtility

kerryzhou_2-1647946830606.png

After you do the erase in the serial download mode, then change back to the internal boot mode, then your debugger should works again.

 

Best Regards,

Kerry

 

 

0 Kudos
Reply