Canclr command, Canin command, Fcsmscan commands – Freescale Semiconductor Microcontrollers User Manual

Page 290

Advertising
background image

HC08 Full Chip Simulation

Configuration Procedure

290

Microcontrollers Debugger Manual

FCSMSCAN Commands

You can use the following FCSMSCAN commands with the HC08 processor.

CANCLR Command

You can use the CANCLR command to flush the input and output buffers for CAN
simulation. This resets the buffers and clears out all values. Notice that if the CAN is
currently shifting a value, this command does not prevent the CAN from finishing the
transfer. See CANIN command and CANOUT command for accessing the input and
output buffers of the CAN interface.

Syntax

>CANCLR

Example

>CANCLR

Clear input and output buffers for CAN simulation

CANIN Command

The CANIN command allows the user to input data into the CAN. If a data parameter is
given, the value is placed into the next slot in the input buffer. Otherwise, if no parameter
is given, a window is displayed with the input buffer values. Input values can be entered
while the window is open.

Figure 11.33 MSCAN_IN Buffer

An arrow points to the next input value to the CAN. The maximum number of input
packets is 256.

Syntax

>CANIN [<n>]

Advertising