IMX31 boot sequence for J-Tag/J-Link?

Showing results for 
Search instead for 
Did you mean: 

IMX31 boot sequence for J-Tag/J-Link?

Contributor II

Hello everyone,

I'm trying to set up a Segger J-Link debugger device to debug some memory-related crashes I'm seeing on my IMX31 project, running Nucleus RTOS.  I am able to connect to the J-Link successfully but when I try to download or attach to a running program for debugging, I get this output from the J-Link app:

J-Link: Device "IMX31" selected.

J-Link: TotalIRLen = 18, IRPrint = 0x002011

J-Link: At least one of the connected devices is not JTAG compliant (IEEE Std 1149.1, 7.1.1.d, IR-cells). (NumDevices = 4, NumBitsSet = 3)

J-Link: JTAG chain detection found 4 devices:

J-Link:  #0 Id: 0x2B900F0F, IRLen: 04, ARM ETB

J-Link:  #1 Id: 0x07B3601D, IRLen: 05, ARM1136 Core

J-Link:  #2 Id: 0x00000001, IRLen: ?, Unknown device

J-Link:  #3 Id: 0x2190101D, IRLen: ?, Unknown device

J-Link: connected to target device

J-Link: Can not read register 15 (R13_USR) while CPU is running

J-Link: Can not read register 9 (R15 (PC)) while CPU is running

J-Link: connection to target device lost.

J-Link: disconnected from target device

I figured that maybe I need to customize the boot sequence and setup the register/memory locations manually.  Can anyone possibly tell me the proper sequence with details?  Thanks.

0 Kudos
1 Reply

NXP TechSupport
NXP TechSupport

Hi Justin

had you tried with other jtag debuggers, reliable jtag connection can be performed in

bootloader serial mode USB/UART.

Also possible problems are described in arm article:

ARM Information Center 

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

0 Kudos