Cann't connect iMX8QXP-CM4 again after flash M4 image in an undefined address using J-LINK

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

Cann't connect iMX8QXP-CM4 again after flash M4 image in an undefined address using J-LINK

1,124 Views
mengzhu0047
Contributor I

hi, all

I flash iMX8QXP-CM4 image in an error address using JLINK-flash.exe.when i connect JLINK using JTAG again,it cann't connect.

Device "MIMX8QX6_M4" selected.


Connecting to target via JTAG
***************************************************
J-Link script: iMX8QX Cortex-M4 core0 J-Link script
***************************************************
TotalIRLen = 4, IRPrint = 0x01
JTAG chain detection found 1 devices:
#0 Id: 0x5BA00477, IRLen: 04, CoreSight JTAG-DP
AP map detection skipped. User manually configured AP map.
AP[0]: AHB-AP (IDR: Not set)
AP[1]: AHB-AP (IDR: Not set)
AP[2]: AHB-AP (IDR: Not set)
AP[3]: AHB-AP (IDR: Not set)
AP[4]: APB-AP (IDR: Not set)
AP[2]: Skipped. Could not read AHB ROM register
AP map detection skipped. User manually configured AP map.
AP[0]: AHB-AP (IDR: Not set)
AP[1]: AHB-AP (IDR: Not set)
AP[2]: AHB-AP (IDR: Not set)
AP[3]: AHB-AP (IDR: Not set)
AP[4]: APB-AP (IDR: Not set)
AP[2]: Skipped. No ROM table (AHB-AP ROM base: 0x00000000)
***************************************************
J-Link script: iMX8QX Cortex-M4 core0 J-Link script
***************************************************
***************************************************
J-Link script: iMX8QX Cortex-M4 core0 J-Link script
***************************************************

****** Error: Bad JTAG communication: Write to IR: Expected 0x1, got 0x0 (TAP Command : 10) @ Off 0x5.
Could not find core in Coresight setup
***************************************************
J-Link script: iMX8QX Cortex-M4 core0 J-Link script
***************************************************
***************************************************
J-Link script: iMX8QX Cortex-M4 core0 J-Link script
***************************************************
Cannot connect to target.

0 Kudos
2 Replies

854 Views
igorpadykov
NXP Employee
NXP Employee

Hi meng

recommended debugging procedure is described in

sect.5.1.3 Run an example application attached document

Getting Started with MCUXpresso SDK for i.MX 8QuadXPlus.pdf.

Issues with J-Link can be posted on segger forum

J-Link/Flasher related - SEGGER - Forum 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

854 Views
mengzhu0047
Contributor I

hi, igorpadykov

   Thank you for your reply,I've solved my problem by reloading the SD card image(SCFW and ahab-container.img).

0 Kudos