Set JTAG TAP (MCIMX6D)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Set JTAG TAP (MCIMX6D)

3,384 次查看
CameraDeveloper
Contributor I

Hello,

We have a custom board with a MCIMX6D7CZK08AD. We are trying to connect JTAG using a Segger J-Link PLUS Compact and Segger 10-Pin Needle Adapter, to the 10pin TAG CONNECT pattern on our PCB. We have checked the pins and everything seems to be connected correctly.

We are experiencing the following error when trying to connect with JTAG (extended log attached):

TD764 009:716.779 TotalIRLen = 5, IRPrint = 0x01
TD764 009:717.421 JTAG chain detection found 1 devices:
TD764 009:717.573 #0 Id: 0x2191E01D, IRLen: 05, Unknown device
TD764 009:717.640
***** Error:
TD764 009:717.647 CPU-TAP not found in JTAG chain
TD764 009:717.656 - 222.715ms returns 0xFFFFFEFB
TD694 524:514.144 JLINK_GetHWInfo(...)
TD694 524:514.560 - 0.380ms returns 0
TD5B0 525:015.104 JLINK_GetHWInfo(...)

TD5B0 525:015.392 - 0.295ms returns 0

 

Segger support is saying: "The chip is in some kind of special mode (boundary scan, ...) where not the DAP-TAP (IRLen = 4) is visible on the JTAG chain but another TAP (IRLen = 5)"

(Segger forum link here: https://forum.segger.com/index.php/Thread/9223-Cannot-connect-to-target-CPU-TAP-not-found-in-JTAG-ch...)

 

How do we adjust the TAP?

0 项奖励
回复
4 回复数

3,319 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Is probably that the quality of signal is weak, because you are receiving an ID / IRLen unknown device.  Here is an application note on data scan boundaries is for mxRT but can apply to iMX6.

https://www.nxp.com/docs/en/application-note/AN12919.pdf

 

Regards

0 项奖励
回复

3,300 次查看
CameraDeveloper
Contributor I

The signal flow is out of the IMX6D chip, down the DF40 mezzanine stack, then out to the tag connect pins.

We don't know what would make the signal weak. See wiring diagram between IMX6 and JTAG attached for reference.

0 项奖励
回复

3,244 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

The schematic look ok, but i mean physically anyway o guess you have to do a boundary scan.

regards

0 项奖励
回复

3,179 次查看
CameraDeveloper
Contributor I

Problem was resolved.

 

We needed to connect JTAG_MOD to ground, and disconnect the reset (pin10) on J-Link jtag.

0 项奖励
回复