iMX6Q boundary scan test problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX6Q boundary scan test problem

1,890 Views
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 Kudos
10 Replies

1,849 Views
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 Kudos

1,843 Views
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 Kudos

1,841 Views
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 Kudos

1,761 Views
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!

1,839 Views
szgxxu
Contributor II

Hi Yuri,

Thank you!

I will try your workaround.

1,856 Views
szgxxu
Contributor II

Does anybody can solve this problem?

0 Kudos

1,820 Views
irsul
Contributor II

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

1,877 Views
Rita_Wang
NXP TechSupport
NXP TechSupport
0 Kudos

1,870 Views
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 Kudos

1,867 Views
Rita_Wang
NXP TechSupport
NXP TechSupport
0 Kudos