view py_avrjtag/tms_ptns.py @ 10:cc106f278d7d

Get identify of components
author Thinker K.F. Li <thinker@branda.to>
date Tue, 24 Feb 2009 13:32:04 +0800
parents 42dec3428c77
children 1ea479d26fce
line wrap: on
line source

TMS_IDLE_SEQ = ('\x1f', 6)
TMS_RESET_SEQ = ('\x1f', 5)
TMS_RESET_2_IDLE = ('\x00', 1)

TMS_CAP_DR = ('\x01', 2)
TMS_CAP_IR = ('\x03', 3)
TMS_SHIFT_2_IDLE = ('\x03', 3)
TMS_SHIFT_DR_2_IDLE = TMS_SHIFT_2_IDLE
TMS_SHIFT_IR_2_IDLE = TMS_SHIFT_2_IDLE
TMS_SHIFT_DR_2_CAP_IR = ('\x0f', 5)
TMS_SHIFT_IR_2_CAP_DR = ('\x07', 4)

TMS_SHIFT_DR = ('\x01', 3)
TMS_SHIFT_IR = ('\x03', 4)
TMS_EXIT1_2_IDLE = ('\x01', 2)
TMS_EXIT1_DR_2_IDLE = TMS_EXIT1_2_IDLE
TMS_EXIT1_IR_2_IDLE = TMS_EXIT1_2_IDLE
TMS_EXIT1_2_PAUSE = ('\x00', 1)
TMS_EXIT1_DR_2_PAUSE = TMS_EXIT1_2_PAUSE
TMS_EXIT1_IR_2_PAUSE = TMS_EXIT1_2_PAUSE
TMS_EXIT1_IR_2_SHIFT_DR = ('\x03', 3)
TMS_EXIT1_DR_2_SHIFT_IR = ('\x07', 4)