HCS08 On-Chip DBG Module

HCS08 DBG V3 New Features

539

Microcontrollers Debugger Manual

Figure 23.43 LOOP1 recording mode selection

Ability to record until Reset and from

Reset

The DBG module now has the ability to record data up until a reset occurs, and can begin
recording immediately after reset.

Recording until reset

The on-chip DBG V3 module can keep in a database the last data recorded right before a
reset occurred, therefore the debugger is now able to trace what happened right before a
reset occurred, at the condition that the module was initially armed to record continuously.
At next debugger stop, the debugger displays in the Trace window the last recorded
instructions and, in red color, the last instructions that could have been executed and
generated a reset.
Also the debugger displays in the status bar the source of the reset decoded from the
System Reset Status (SRS) on-chip register.
CAUTION After interpreting the Trace window recorded information, reset the
debugger and hardware (press the debugger Reset button) to clear the SRS
register. This ensures a correct debugger analysis from the next reset
capture.