AnsweredAssumed Answered

RT1062 JTAG Debugging

Question asked by Mike DeKoker on Jun 19, 2019
Latest reply on Jun 21, 2019 by Mike DeKoker

Hello all. We are having some issues connecting to the RT1062 in JTAG mode using a J-Link Plus. We are seeing this both in our custom hardware and on the NXP MIMXRT1060-EVK development board.

 

For our custom hardware, the RT1062 is the only device in the JTAG chain. We have verified TDI, TMS, TCK, JTAG_MOD, and RESET are all connected with 3V logic levels and are toggling/set appropriately, but nothing ever comes out of the RT1062 TDO.

 

When using the development board, we disconnect jumpers J47 and J48 per the user manual for JTAG operation. This is a brand new out-of-the-box development board with jumper J1 set to 3-4 for input power on J9. Connection fails in the same manner as our custom hardware. Please see below for connection failure output.

 

At this point, we don’t suspect a problem with our hardware since the development board is doing the same thing. We tried several versions of J-Link software: version 6.46g (the latest version) and v6.42b (the version shipped with latest MCUXpresso). We’ve also tried two different J-Link Plus debug probes, both of which work with other SWD/JTAG setups using NXP LPC43xx MCUs.

 

I'm not looking for help with our custom hardware, but it would be great if someone could help us figure out why JTAG mode isn’t working with the NXP development board. I should note that with the development board we can connect and debug in SWD mode just fine, the problem is only with JTAG mode. We cannot use SWD mode for our hardware because we will have multiple NXP MCUs in the JTAG chain.

 

Below is the J-Link connection failure output. The output is the same between our hardware and dev board. Only the device name is different because we use a different package.

J-Link>connect
Please specify device / core. <Default>: MIMXRT1062XXX6A
Type '?' for selection dialog
Device>
Please specify target interface:
J) JTAG (Default)
S) SWD
T) cJTAG
TIF>
Device position in JTAG chain (IRPre,DRPre) <Default>: -1,-1 => Auto-detect
JTAGConf>
Specify target interface speed [kHz]. <Default>: 4000 kHz
Speed>
Device "MIMXRT1062XXX6A" selected.

Connecting to target via JTAG
InitTarget() start
InitTarget()
Connect Under Reset
Connect Under Reset
InitTarget() end
TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
InitTarget() start
InitTarget()
Connect Under Reset
Connect Under Reset
InitTarget() end
TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
InitTarget() start
InitTarget()
Connect Under Reset
Connect Under Reset
InitTarget() end
TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
InitTarget() start
InitTarget()
Connect Under Reset
Connect Under Reset
InitTarget() end
TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
Cannot connect to target.

 

Thanks for your time.

Outcomes