SLAZ670P May 2015 – August 2021 MSP430FG6425
CPU Module
Functional
Wrong program trace display in the debugger while using conditional jump instructions
The state storage window displays an incorrect sequence of instructions when:
1. Conditional jump instructions are used to form a software loop
AND
2. A false condition on the jump breaks out of the loop
In such cases the trace buffer incorrectly displays the first instruction of the loop as the instruction that is executed immediately after exiting the loop.
Example:
Actual Code:
mov #4,R4
LABEL mov #1,R5
dec R4
jnz LABEL
mov #2,R6
nop
State Storage Window Displays:
LABEL mov #1,R5
dec R4
jnz LABEL
mov #1,R5
nop
None
Note: This erratum affects the trace buffer display only. It does not affect code execution in debugger or free run mode