Scclr command, Scdi command, Fcssci commands – Freescale Semiconductor Microcontrollers User Manual

Page 294

Advertising
background image

HC08 Full Chip Simulation

Configuration Procedure

294

Microcontrollers Debugger Manual

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

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

FCSSCI Commands

The following FCSSCI commands are available for use with the HC08 processor.

SCCLR Command

Use the SCCLR command to flush the input and output buffers for SCI simulation. This
resets the buffers and clears out all values. Notice that if the SCI is in the process of
shifting a value, this command allows the SCI to finish the transfer. See SCDI command
and SCDO command for accessing the input and output buffers of the SCI interface.

Syntax

>SCCLR

Example

>SCCLR

Clear input and output buffer for SCI simulation

SCDI Command

The SCDI command allows the user to input data into the SCI. If a data parameter is
given, the value is placed into the next slot in the SCI input buffer. If no parameter is
given, a window displays the input buffer values. You can enter input values while the
window is open. An arrow points to the next input value to the SCI. The maximum
number of input values is 256 bytes.

Advertising