Bus state analyzer (bsa), Using bsa, Defining events – Freescale Semiconductor Microcontrollers User Manual

Page 421

Advertising
background image

HC08 FSICEBASE Emulator

Bus State Analyzer (BSA)

421

Microcontrollers Debugger Manual

Bus State Analyzer (BSA)

The bus state analyzer (BSA) shows the logical state of the target MCU bus. The BSA
takes a snapshot of the MCU bus. It also captures the signals from the logic clips of Pods
A, B, and C of the FSICEBASE (24 lines in total). This capturing of data enables you to
determine what is occurring in a system without actually disturbing the system.

At the end of each MCU clock cycle, the BSA takes a snapshot of the logical states of the
target MCU bus. The analyzer stores the snapshots in the trace buffer, according to its
mode. (This action is known as storing cycles.)

NOTE

This analyzer is a bus state analyzer. It does not show signal hold or setup
times.

To start using the BSA, you need to define patterns of logical states as events (or terms).
You also need to specify the analyzer mode: continuous, counted, or any of five sequential
modes. This determines which cycles the analyzer stores.

Data collection (cycle storage) begins when you arm the analyzer and start program
execution. Data collection continues until execution stops, through a specified number of
events, or through a defined sequence of events.

Using BSA

To use the bus state analyzer (BSA) to produce useful data that you can view and analyze,
you must:

1. Define events (terms).

2. Arm the BSA.

Defining Events

You define an event by specifying a combination of criteria. You can define the criteria to
be particular values in certain addresses, read or write access on an instruction or on data,
extended address access, or signals sent through one of the five logic clips that you can
connect to Pod A of the FSICEBASE.

The Bus State Analyzer uses the criteria that you specify to create an event, and labels the
event A, B, C, or D. When the BSA determines that the criteria of a certain event has been
met, depending on the triggering mode, it records the data that is in the bus of the MCU at
that particular clock cycle. It also records the data that is in the lines of Pods A, B, and C.
You can control the way that the BSA records this information by specifying a recording
mode.

Advertising