

! attention TRSTN not controlled by JtagStudio, you should reset TRSTN manually

FREQUENCY 1000000 HZ;
STATE RESET;
STATE IDLE;

!RUNTEST IDLE 1000 TCK ;


!!!!!!!!!!!!!!!!!!!!!
! the first input wrong jtag key
!!!!!!!!!!!!!!!!!!!!!

!dc


!!!!!!!!!!!!!!!!!!!!!
! the second input right jtag key
!!!!!!!!!!!!!!!!!!!!!

!input password  
SIR 6 TDI (23) SMASK (3F) TDO (01) MASK (3F);
SDR 64 TDI (dffb3ee031674568) SMASK (ffffffffffffffff) TDO (00000000000000000) Mask(00000000000000000);
                                             

!password_rdy
SIR 6 TDI (26) SMASK (3F) TDO (01) MASK (3F);
SDR 32 TDI (80000000) SMASK (ffffffff) TDO (00000000) Mask(00000000);

! test switch from unlock to password
SIR 6 TDI (26) SMASK (3F) TDO (01) MASK (3F);
SDR 32 TDI (00000001) SMASK (ffffffff) TDO (00000000) Mask(00000000);

RUNTEST IDLE 1 TCK;









                                                                                                                                                                                                                                                                                                                                                                                              
