Freescale Semiconductor Microcontrollers User Manual

Page 273

Advertising
background image

HC08 Full Chip Simulation

Configuration Procedure

273

Microcontrollers Debugger Manual

The MMIIC data input/output log buffer simulation allows the user to gain access to the
past 256 MMIIC data bytes that have been shifted in and out of the module. To bring up
the IIC IN/OUT LOG buffer dialog box, use the IICDO command.

Figure 11.24 IIC IN/OUT LOG Buffer Display

At any point, the IICCLR command can flush the input as well as input/output log MMIIC
buffers.

After the MMIIC simulated input is received, the first queued in data byte is passed from
the data buffer into the corresponding MMIIC module registers. It can be observed in the
Memory Window by displaying the appropriate register location there.

Figure 11.25 Memory Component Window

The user can also observe different MMIIC flags in the Memory Window. If the module is
run in Flag Polling mode, poll the flag corresponding to the expected MMIIC event. If the
MMIIC interrupts are enabled, the FCS jumps to an appropriate subroutine as long as the
MMIIC interrupt vectors are properly defined.

For more information on how to configure the MMIIC module for desired operation, refer
to the Freescale user manual corresponding to your microprocessor.

Advertising