Freescale Semiconductor Microcontrollers User Manual

Page 289

Advertising
background image

HC08 Full Chip Simulation

Configuration Procedure

289

Microcontrollers Debugger Manual

key to break the execution. Now type the CANOUT command.

Figure 11.31

shows the

result, where all three output packets are seen. Select the first packet by double clicking on
it.

Figure 11.32

shows the first CAN packet sent out. Note that the first packet sent out was

the packet with the highest priority. You can now select the other packets in the CAN
OUT window to open them up and see which data packet they were in.

Figure 11.31 CAN OUT Display

Figure 11.32 CAN Example Output Packet

It is possible that a user does not want to enter all of these simulator commands manually.
In this case, use macro files for automated code testing. A macro file permits a user to set
up a sequence of simulator commands to run one after the other within the simulator. So,
the CANIN command can include parameters that specify the type of packet, CAN
address, and data. See the CANIN command in the help file for more details.

Advertising