Recording modes – Freescale Semiconductor Microcontrollers User Manual

Page 424

Advertising
background image

HC08 FSICEBASE Emulator

Bus State Analyzer (BSA)

424

Microcontrollers Debugger Manual

Recording Modes

When you define an event, you can specify the recording mode that the Bus State
Analyzer uses to collect data. This section explains how the different modes work.

Continuous: All Cycles

After execution begins, the trace buffer begins storing data from the first cycle. This
continues until execution arrives at a breakpoint, or until you halt execution.

Continuous: Events Only

After execution begins, the trace buffer begins storing data when data matches an event
definition. This continues until execution arrives at a breakpoint, or until you halt
execution.

Counted: All Cycles

After execution begins, the trace buffer begins storing data after the specified number of
cycles from first cycle. A breakpoint can stop storage before the analyzer stores the
specified number of cycles, as can halting execution.

Counted: Events Only

After execution begins, the trace buffer begins storing data that matches an event
definition for the specified number of cycles. A breakpoint can stop storage before the
analyzer stores the specified number of cycles; as can halting execution.

A+B+C+D

After execution begins, the trace buffer begins storing data from the first cycle run. This
continues through the occurrence of event A, B, C, or D (whichever is enabled); data
storage ends after the specified number of post-trigger cycles.

A+B -> C+D

After execution begins, the trace buffer begins storing data from the first cycle. This
continues through the occurrence of two events: A or B, followed by C or D. Data storage
ends after the specified number of post-trigger cycles.

If you select this mode, you must enable event A, event B, or both. You must enable event
C, event D, or both. Otherwise, the bus state analyzer cannot be triggered.

A -> B -> C !D

After execution begins, the trace buffer begins storing data from all cycles. This continues
through the occurrence of three events, A, B, and C, in order, if event D does not occur. (If

Advertising