SLAU320AJ July 2010 – May 2021
Reference function: ReleaseDevice
After the desired JTAG communication is completed, the CPU is released from JTAG control. There are two ways to accomplish this task:
Flow to release the target device:
IR_SHIFT("IR_CNTRL_SIG_16BIT") | ||
DR_SHIFT16(0x2C01) | : Apply Reset | |
DR_SHIFT16(0x2401) | : Remove Reset | |
IR_SHIFT("IR_CNTRL_SIG_RELEASE") | ||
The target CPU starts program execution with the address stored at location 0x0FFFE (reset vector). |
It is not recommended to release the device from JTAG control (or perform a power-up cycle) during an erase-program-verify memory access cycle. Releasing the device from JTAG control starts execution of the previously programmed user code, which might change the flash memory content. In that case, verification of the memory content against the originally programmed code image would fail.