iMX6Q boundary scan test problem

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

iMX6Q boundary scan test problem

2,091 次查看
szgxxu
Contributor II

Does anyone test the boundary scan of iMX6Q? The BSDL file seems not correct. I tested the CAPTURE-IR, IDCODE and boundary scan chain length, all correct. But when I want to control a pin through boundary scan chain, the pin does not have expected response. My board has a iMX6Q with mark MCIMX6Q4AVT08AD.

Can you please provide the correct BSDL file for this model? Thank you!

0 项奖励
回复
10 回复数

2,050 次查看
Yuri
NXP Employee
NXP Employee

@szgxxu 
Hello,

       Please refer to ERR009218 (EIM: Signals fail to drive as
outputs during boundary scan test) of the Errata.

https://www.nxp.com/docs/en/errata/IMX6DQCE.pdf

 

Regards,
Yuri.

0 项奖励
回复

2,044 次查看
szgxxu
Contributor II

Hi Yuri,

Thank you for your reply!

But the problem is not only EIM port signals. On our board, iMX6Q has an SPI interface communicate with another boundary scan chip ( a PPC MCU), these signals can be tested by boundary scan. The schematic of the interface is below:

imx6q-spi.png

When I trigger output from the opposite chip and sample responses on iMX6Q, I can not get expected value.

I try to verify the BSDL by control another iMX6Q pin as output, A20, I also can not get the expected state on the pin. This part of schematic is below:

imx6q-led.png

So the problem is not related with the EIM ERR009218.

Do you have any other information about the boundary scan test of iMX6Q? Thank you very much!

 

0 项奖励
回复

2,042 次查看
Yuri
NXP Employee
NXP Employee

@szgxxu 

There is a workaround for the ERR009218. Perhaps it makes sense 
to try it. I will send workaround description directly to You. 

0 项奖励
回复

1,962 次查看
szgxxu
Contributor II
Hi Yuri, I've got some progress. I can control the iMX6Q's pin, and I can read correct pin state drive from opposite chip. The problem stuck me before is the chain structure, I did not handle the SDMA and DAP correctly. But now, I trapped in a new problem: I can only make the iMX6Q in one of SAMPLE state or EXTEST state. When I shift in the SAMPLE/PRELOAD instruction (5'b00001) into the IR of SJC, I can read the pin state of the iMX6Q during Shift-DR, when I shift in the EXTEST instruction (5'b00010), I can toggle pin state (I monitored the pin state toggling by a oscilloscope), but I can not read state from the input pin. Even more, when I put the chip in EXTEST state, the scan chain DR is broken, all the TDO of the iMX6Q is stuck at 1. Can you please tell me how to solve this problem? Thank you very much!

2,040 次查看
szgxxu
Contributor II

Hi Yuri,

Thank you!

I will try your workaround.

2,057 次查看
szgxxu
Contributor II

Does anybody can solve this problem?

0 项奖励
回复

2,021 次查看
irsul
Contributor II

I have same problem. Yuri give some suggestion to use EXTRA DEBUG after reset, but the result still remain.

2,078 次查看
Rita_Wang
NXP TechSupport
NXP TechSupport
0 项奖励
回复

2,071 次查看
szgxxu
Contributor II

These files are not correct. I've tested with these BSDLs. The pin of imx6q is not under control. Do you have any other BSDL files? Have you tested these files before?

0 项奖励
回复

2,068 次查看
Rita_Wang
NXP TechSupport
NXP TechSupport
0 项奖励
回复