2425188_en-US

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

2425188_en-US

2425188_en-US

JTAG EXTEST fail at iMXRT1062

Hello NXP team,

I have issue while entering EXTES during Boundary Scan test at MIMXRT1062CVJ5B. 

The issue is very similar to the one described in below article
https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/JTAG-Chain-Break-EXTEST/td-p/2320323
The circuit shuts down after 5s when the testing sequence enters the EXTEST. I cannot prove the solution with adding resistor at ONOFF pin to VCC solve the issue because in my design this pin is floating and not accessible (not connected to any net). 

Do you know how to setup the Boundary scan procedure to avoid turning off the MCU?

Can you explain why this situation (turning off after extest) is not occur each time? During Gauge R&R 10x10 for testing equipment this issue occur only 8 times on 3 boards. 

Re: JTAG EXTEST fail at iMXRT1062

Hi @MGrzegolec1 ,

Thank you for the detailed information. Since the ONOFF pin is not accessible on the current board, I suggest the following steps:

1: Please refer to AN12919 and verify the TAP connection, the COMPLIANCE_PATTERN in the correct BSDL file, and the JTAG mode configuration before entering EXTEST.

2: If the MCU can run initialization code before Boundary Scan, try setting SNVS_LPCR.BTN_PRESS_TIME[17:16] to 11b to disable the ONOFF long-press shutdown. Please compare the EXTEST results before and after this change. This is intended as a diagnostic test only.

mayliu1_0-1793680029301.png


3: Please record the time from entering EXTEST until power-down. If possible, also test different BTN_PRESS_TIME settings. If the shutdown delay changes accordingly, it may indicate that the issue is related to the ONOFF long-press mechanism.


Best Regards

May Liu

Re: JTAG EXTEST fail at iMXRT1062

Hi @mayliu1 

I checked the solution you proposed. When SNVS_LPCR.BTN_PRESS_TIME[17:16] is set to 11b (ONOFF feature disabled), the iMXRT1062 successfully enters EXTEST and stays in that state. When I set it to 10b (15s), the iMXRT1062 enters EXTEST, but turns off after ~15s.


I conducted this test by preparing a special binary file and loading it onto the MCU via SDPHOST/BLHOST. After successfully loading it, I changed the JTAG_MOD pin and BOOT_MODE, and reset the MCU. Following this procedure, the MCU switched to JTAG mode while retaining the SNVS_LPCR register value, which made EXTEST possible.


However, loading a dedicated binary file and juggling the boot modes is very hard to implement in our testing setup. Could you suggest a better solution?

Tags (1)
No ratings
Version history
Last update:
16 hours ago
Updated by: