Flash/Debug issue on NXP RT1160 dev board

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

Flash/Debug issue on NXP RT1160 dev board

Jump to solution
1,270 Views
bobbychauhan
Contributor I

While trying to flash/debug the NXP RT1160 board it causes some issue. Below are the error logs:

Executing flash operation 'Program' (Program file into flash: evkmimxrt1160_iled_blinky_cm7.axf) - Wed Nov 01 16:18:40 IST 2023 Checking MCU info... Scanning for targets... Executing flash action... MCUXpresso IDE RedlinkMulti Driver v11.8 (Jul 12 2023 16:09:15 - crt_emu_cm_redlink.exe build 2) ( 0) Reading remote configuration Wc(03). No cache support. Found chip XML file in C:/Users/admin/Documents/MCUXpressoIDE_11.8.0_1165/temp_workspace/evkmimxrt1160_iled_blinky_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 = 6BA02477 Error: Wire Ack Fault - target connected? Setting M4 spin code Error: Wire Ack Fault - target connected? Error: Wire Ack Fault - target connected? 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? View cores on the DAP AP DpID = 6BA02477 ============= END SCRIPT ======================================== Probe Firmware: CMSIS-DAP (ARM) Serial Number: 024400000209f7c800000000000000000000000097969905 VID:PID: 0D28:0204 USB Path: \\?\hid#vid_0d28&pid_0204&mi_03#7&19790643&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030} Using memory from core 0 after searching for a good core Using memory from core 0 after searching for a good core Using memory from core 0 after searching for a good core connection failed - Nn(05). Wire ACK Fault in DAP access.. Retrying Using memory from core 0 after searching for a good core Using memory from core 0 after searching for a good core Using memory from core 0 after searching for a good core Failed on connect: Nn(05). Wire ACK Fault in DAP access Connected&Reset. Was: NotConnected. DpID: 6BA02477. CpuID: 00000000. Info: <None> Last stub error 0: OK Last sticky error: 0x0 AIndex: 0 Debug bus selected: MemAp 0 DAP Speed test unexecuted or failed Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled. (100) Target Connection Failed error closing down debug session - Nn(05). Wire ACK Fault in DAP access Unable to perform operation! Command failed with exit code 1

0 Kudos
Reply
1 Solution
1,252 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @bobbychauhan ,

   Please help to check, whether your board is powered on or not, I mean, the power LED is lighting or not? Make sure your board is powered successfully.

  Then, if still have issues, it normally caused by the invalid demo is downloaded to the flash, cause the boot issues, then it will also report the debugger issues. When meeting this issues, you can enter the serial download mode, do the mass erase, and change back to the internal boot mode again.

  You can refer to my post:

https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/RT-board-recovery-for-debugger-connect-issues/ta...

  Please try it at first.

  If you still have issues, just kindly let me know.

Best Regards,

Kerry

View solution in original post

2 Replies
1,253 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @bobbychauhan ,

   Please help to check, whether your board is powered on or not, I mean, the power LED is lighting or not? Make sure your board is powered successfully.

  Then, if still have issues, it normally caused by the invalid demo is downloaded to the flash, cause the boot issues, then it will also report the debugger issues. When meeting this issues, you can enter the serial download mode, do the mass erase, and change back to the internal boot mode again.

  You can refer to my post:

https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/RT-board-recovery-for-debugger-connect-issues/ta...

  Please try it at first.

  If you still have issues, just kindly let me know.

Best Regards,

Kerry

1,242 Views
bobbychauhan
Contributor I

Hi @kerryzhou,

Thank you for your response.  I followed the steps you mentioned in your post, and it resolved the issue I was facing with the RT1160 EVK board. Here's a recap of the steps I followed:

1) To enter serial download mode:

    i) Set the SW1 switches as follows: 1-OFF, 2-OFF, 3-OFF, 4-ON

    ii) Power off the board and then power it on again, or press the Reset button.

2) Performed a mass erase in the IDE.

NXP-RT1160-EVK.jpeg