LS1027 / LS1028 BoundaryScan

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

LS1027 / LS1028 BoundaryScan

2,244 Views
Stephan2302
Contributor I

I tried to setup the boundarys scan for the LS1027 with Cascon from Goepel.

The compliance pattern is set as described in the BSDL file.
The ID register is accessable and I can read the correct ID.

If I switch in SAMPLE mode in did not get any useful (mainly zero bits and some 1 bits) informations back from the chain.
Cascon shifts a test byte into the chain, but I did not see the test byte at the output of the chain.

The USB power supply is connected and verified.
The 2000 dummy clocks to get the USB Phy out of reset are set.

The only thing I did not do is setting the TDR data in the IOCONFIG register, because the application note (mentioned in the BSDL file) is not available!

Can someone post a TDR pattern?

I tried to setup the boundary scan with a LS1028 evaluation board from NXP.
The result is the same.

Any other suggestions?

Thank you in advance.
Stephan

0 Kudos
Reply
4 Replies

1,973 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the following update from the AE team.

The customer needs to set the TDR_INITDATA register with the value '0x000016046aa94a529400000055500001400155551555555540000000000000017fec80000000000000000048cea9146c7f8000000200'. 

 

0 Kudos
Reply

2,125 Views
endler
Contributor III

Hi,

I have exactly the same problem with my LS1027A board. 

Have you found the TDR pattern?

0 Kudos
Reply

2,100 Views
Stephan2302
Contributor I

Hi,

I have found a TDR pattern by try and error, because there is no documentation available at NXP.
The recommended solution is to use with programmed RCW.

My procedure is:
- set the TDR pattern
- programm the RCW and key into flash
- reset/reboot => no TDR pattern needed

USE AT YOUR OWN RISK!!!

This is my Cascon code I use to programm the RCW:

 

-- some idle clocks as mentioned in the BSDL/errata sheet
CLOCK RESET, 100;
CLOCK RUNIDLE, 2000;

--switch to IOCONFIG register
Ldi IC700, IOCONFIG;
IrShift;
--write TDR pattern, found by try and error USE AT YOUR OWN RISK!!!
IC700:TDR := 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000H;
DrShift;

-- some idle clocks as mentioned in the BSDL/errata sheet
CLOCK RUNIDLE, 2000;

--switch back to IDCODE register
Ldi IC700, IDCODE;
IrShift;

 

 

Regards Stephan

0 Kudos
Reply

2,073 Views
endler
Contributor III

Stephan,

Thank you for your answer! We converted your code to SVF (we use another JTAG Tool) and finally we were able to use the L1027A boundary scan! I'm still requesting NXP Support for the official value of TDR for LS1027A, I will post it here if I get it.

 

Below our SVF file:

 

FREQUENCY 1.00E+06 HZ;
!
!
!
TRST ABSENT;
ENDDR IDLE;
ENDIR IRPAUSE;
STATE IDLE;
!
!LS1027 IDCODE
!
SIR 08 TDI (F3);
RUNTEST IDLE 128 TCK ENDSTATE IDLE;
SDR 32 TDI (00000000) TDO (0031801D) MASK (FFFFFFFF);
SIR 08 TDI (D0);
SDR 430 TDI (00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000);
RUNTEST 2000 TCK;
SIR 08 TDI (F3);
!SDR 32 TDI (00000000) TDO (0031801D) MASK (FFFFFFFF);

 

0 Kudos
Reply