Trace component window – Freescale Semiconductor Microcontrollers User Manual

Page 532

Advertising
background image

HCS08 On-Chip DBG Module

Trace Component Window

532

Microcontrollers Debugger Manual

Automatically analyze the FIFO content: When the

Trace Component Window

is

open, after the debugger is halted by the user or a breakpoint, watchpoint or a trigger,
DBG module results are automatically analyzed then displayed in the Trace window.
If the Trace window is closed, the DBG user interface does not perform any result
analysis except trigger flags reported in the status bar. Unchecking this check box
does the same, with the Trace window open.

Disarm the module automatically when the debugger stops: By default, halting the

debugger target processor with a user break (not a trigger) does not disarm the on-
chip DGB module. If you leave this option selected (the default) the debugger
disarms it to retrieve data from the DBG Fifo. If not selected, the DBG Fifo/buffer
information cannot be retrieved until the module is disarmed.

Protect DBG FIFO content from unexpected reads: The DBG Fifo data are

retrieved from DBGFH-DBGFL registers (address 0x1814-0x1815 in register block
at reset location). Several reads are performed to retrieve the entire shifting buffer.
However, when the debugger is halted, while refreshing Data and Assembly
windows, it might read also the debugger target processor memory at the same
location, reading the first DBG Fifo data, shifting the buffer, and therefore corrupt
the DBG user interface DBG Fifo data retrieving. This option hides to the debugger
and also user (see blue “-- --” designs in the Memory window at address 0x1814-
0x1815) the DBG Fifo buffer location.

When starting, automatically step if a trigger is set at PC address (otherwise:

warn): To run again the application, the debugger usually needs to exit the trigger
current match condition and avoid being stuck/halted/locked by the trigger. A single
step is usually required to “escape” from

Instruction Triggers

. When this option is

disabled, the debugger prompts the following dialog box to validate this choice.

Figure 23.34 Trigger “Escape” Dialog Box

Trace Component Window

The Trace component is a debugger generic component used to display in a Trace window
a debugger internal database. The context sensitive context menu is set up by the
connection (or the GDI DLL) using the component.

Any debugger connections including the DBG user interface are synchronized with the
Trace component.

Advertising