SLAZ667P May   2015  – August 2021 MSP430FG6626

 

  1.   1
  2.   2
  3.   3
  4.   4
  5.   5
    1.     6
    2.     7
      1.      8
      2.      9
      3.      10
    3.     11
  6.   12
    1.     13
    2.     14
    3.     15
    4.     16
    5.     17
    6.     18
    7.     19
    8.     20
    9.     21
    10.     22
    11.     23
    12.     24
    13.     25
    14.     26
    15.     27
    16.     28
    17.     29
    18.     30
    19.     31
    20.     32
    21.     33
    22.     34
    23.     35
    24.     36
    25.     37
    26.     38
    27.     39
    28.     40
    29.     41
    30.     42
    31.     43
    32.     44
    33.     45
    34.     46
    35.     47
  7.   48

CPU37

CPU Module

Category

Functional

Function

Wrong program trace display in the debugger while using conditional jump instructions

Description

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

Workaround

None

Note: This erratum affects the trace buffer display only. It does not affect code execution in debugger or free run mode