SLAZ281AA October 2012 – May 2021 MSP430F5419
EEM Module
Debug
Return from breakpoint with wrong PC value
If a breakpoint occurs on an instruction which has a 20-bit write back to memory, the address offset does not match the debug flow. The PC is offset by 6 rather than 4, meaning it points to the 16-bit word after the op-code of the instruction at which the program was to continue execution.
The user needs to manually change to PC value to [(displayed_value) - 2] (i.e. via the debugger's CPU register window) before the next single step or run operation is issued