SLAU320AJ July 2010 – May 2021
Reference function: GetDevice, GetDevice_sbw, GetDevice_430X
After the initial fuse check and reset, the CPU of the target device must be taken under JTAG control. This is done by setting bit 10 (TCE1) of the JTAG control signal register to 1. Thereafter, the CPU needs some time to synchronize with JTAG control. To check if the CPU is synchronized, bit 9 (TCE) is tested (sync successful if set to 1). After this bit is verified as high, the CPU is under the control of the JTAG interface. Following is the flow used to take the target device under JTAG control.
IR_SHIFT("IR_CNTRL_SIG_16BIT") | |||
DR_SHIFT16(0x2401) | |||
IR_SHIFT("IR_CNTRL_SIG_CAPTURE") | |||
DR_SHIFT16(0x0000) | No | ||
Bit 9 of TDOword = 1? | |||
Yes | |||
CPU is under JTAG control |