Mercurial > avr_jtag
comparison py_avrjtag/tms_ptns.py @ 13:1ea479d26fce tip
Make sure shifting phase and add bypass.py.
- shifting phase is started after entering SHIFT state
Transition from CAP to SHIFT does not induce shifting.
- shifting phase is stoped after leaving SHIFT state.
Transition from SHIFT to EXIT1 also induce a bit of shifting.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Wed, 25 Feb 2009 20:08:29 +0800 |
parents | cc106f278d7d |
children |
comparison
equal
deleted
inserted
replaced
12:68ecd42850d3 | 13:1ea479d26fce |
---|---|
16 TMS_EXIT1_DR_2_IDLE = TMS_EXIT1_2_IDLE | 16 TMS_EXIT1_DR_2_IDLE = TMS_EXIT1_2_IDLE |
17 TMS_EXIT1_IR_2_IDLE = TMS_EXIT1_2_IDLE | 17 TMS_EXIT1_IR_2_IDLE = TMS_EXIT1_2_IDLE |
18 TMS_EXIT1_2_PAUSE = ('\x00', 1) | 18 TMS_EXIT1_2_PAUSE = ('\x00', 1) |
19 TMS_EXIT1_DR_2_PAUSE = TMS_EXIT1_2_PAUSE | 19 TMS_EXIT1_DR_2_PAUSE = TMS_EXIT1_2_PAUSE |
20 TMS_EXIT1_IR_2_PAUSE = TMS_EXIT1_2_PAUSE | 20 TMS_EXIT1_IR_2_PAUSE = TMS_EXIT1_2_PAUSE |
21 TMS_EXIT1_IR_2_SHIFT_DR = ('\x03', 3) | 21 TMS_EXIT1_IR_2_SHIFT_DR = ('\x03', 4) |
22 TMS_EXIT1_DR_2_SHIFT_IR = ('\x07', 4) | 22 TMS_EXIT1_DR_2_SHIFT_IR = ('\x07', 5) |
23 TMS_EXIT1_2_EXIT2 = ('\x02', 2) | |
24 TMS_EXIT1_DR_2_EXIT2_DR = TMS_EXIT1_2_EXIT2 | |
25 TMS_EXIT1_IR_2_EXIT2_IR = TMS_EXIT1_2_EXIT2 | |
26 TMS_EXIT1_2_SHIFT = ('\x02', 3) | |
27 TMS_EXIT1_DR_2_SHIFT_DR = TMS_EXIT1_2_SHIFT | |
28 TMS_EXIT1_IR_2_SHIFT_IR = TMS_EXIT1_2_SHIFT | |
29 TMS_EXIT1_DR_2_CAP_IR = ('\x07', 4) | |
30 TMS_EXIT1_IR_2_CAP_DR = ('\x03', 3) |