SLAU320AJ July 2010 – May 2021
Set PC to start address – 4 (SetPC or SetPC_430X, depending on the architecture) | |||
Switch CPU to stopped state (HaltCPU) | |||
ClrTCLK | |||
IR_SHIFT("IR_CNTRL_SIG_16BIT") | |||
DR_SHIFT16(0x2409) | : Set RW to read | ||
IR_SHIFT("IR_DATA_QUICK") | |||
SetTCLK | Yes | ||
DR_SHIFT16(0x0000) | : Memory value shifted out on TDO | ||
ClrTCLK | : Auto-increments PC | ||
Read From Next Address? | |||
No | |||
ReleaseCPU should now be executed, returning the CPU to normal operation. Reset the PC of the target CPU if needed (SetPC). |
CPU must be in the Full-Emulation-State before the following sequence. | |||
Set PC to start address (SetPC_430Xv2) | |||
SetTCLK | |||
IR_SHIFT("IR_CNTRL_SIG_16BIT") | |||
DR_SHIFT16(0x0501) | : Set RW to read | ||
IR_SHIFT("IR_ADDR_CAPTURE") | |||
IR_SHIFT("IR_DATA_QUICK") | |||
SetTCLK | Yes | ||
ClrTCLK | : Auto-increments PC | ||
DR_SHIFT16(0x0000) | : Memory value shifted out on TDO | ||
Read From Next Address? | |||
No | |||
Get CPU in Full-Emulation-State. |
For the MSP430F5xx and MSP430F6xx families, quick memory access must be used with care because the PC already points to one address ahead of the actual address to be read. This can lead to security access violations, especially at the end of a physical memory block.