AnsweredAssumed Answered

Secure JTAG mode

Question asked by tom fang on Oct 29, 2019
Latest reply on Oct 31, 2019 by Kerry Zhou

I verified it in 1052 EVK board by following AN12419, but it always reports "ERROR while parsing value for DRPre. Using default: 0." then nothing when I run command line whatever  JTAG_MODE pin is high or low:

"Jlink.exe -JLinkScriptFile "Devices\NXP\iMXRT105x\NXP_RT1052_SecureJTAG.JlinkScript" -Device MCIMXRT1052 -If JTAG -Speed 32 -Autoconnect 1 -JTAGConf -1, -1"

File NXP_RT1052_SecureJTAG.JlinkScript only includes the function InitTarget(void) in section 4.2 of AN12419, actually, this file have not yet got to run before the error above.

All the fuses mentioned in section 3.1 have been blown, JTAG_MODE pin was connected to R67 (high), JLink version is v6.30i.

But when I run JLink step by step, the result is:

C:\Program Files (x86)\SEGGER\JLink_V630i>JLink.exe
SEGGER J-Link Commander V6.30i (Compiled Mar 23 2018 18:14:43)
DLL version V6.30i, compiled Mar 23 2018 18:14:24

Connecting to J-Link via USB...O.K.
Firmware: J-Link V9 compiled Oct 25 2018 11:46:07
Hardware version: V9.20
S/N: 609200376
License(s): RDI, FlashBP, FlashDL, JFlash, GDB
VTref = 3.277V

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

Connecting to target via JTAG
TotalIRLen = 5, IRPrint = 0x01
JTAG chain detection found 1 devices:
#0 Id: 0x088C301D, IRLen: 04, JTAG-DP
TotalIRLen = 5, IRPrint = 0x01
JTAG chain detection found 1 devices:
#0 Id: 0x088C301D, IRLen: 04, JTAG-DP

****** Error: CPU-TAP not found in JTAG chain

TotalIRLen = 5, IRPrint = 0x01
JTAG chain detection found 1 devices:
#0 Id: 0x088C301D, IRLen: 04, JTAG-DP
TotalIRLen = 5, IRPrint = 0x01
JTAG chain detection found 1 devices:
#0 Id: 0x088C301D, IRLen: 04, JTAG-DP

****** Error: CPU-TAP not found in JTAG chain

Cannot connect to target.
J-Link>exit

 

Before burning these fuses, the connection is correct. Fuse information below, did I miss something?

Outcomes