Using the virtual sci – Freescale Semiconductor Microcontrollers User Manual

Page 635

Advertising
background image

ColdFire V1 Full Chip Simulation Connection

FCS Visualization Utilities

635

Microcontrollers Debugger Manual

Using the Virtual SCI

In its default Virtual SCI configuration the terminal component accesses the target
through the Object Pool interface.

To make the terminal component work in this default configuration, the target must
provide an object with the name Sci0. If no Sci0 object is available, no input or output
happens. It is possible to check, through the Inspector component, whether the
environment currently provides an Sci0 object.

NOTE

Only some specific FCS components currently have an Sci0 object. For all
other FCS components the default virtual SCI port does not work, unless you
load a user-defined Sci0 object with the specified register name.

Write access to the target application is done with the Object Pool function OP_SetValue
at the address Sci0.SerialInput.

A subscription to an Object Pool register with the name Sci0.SerialOutput handles input
from the target application. When this register changes (sends a notification), a new value
is received.

For implementations of this register with help of the IOBase class, use the
IOB_NotifyAnyChanges flag. Otherwise only the first of two identical characters are
received.

It is also possible to configure the terminal to use another object in the Object Pool instead
of Sci0 with which to communicate. Refer to

Configure Terminal Connections

for

information about where you can do this.

Cache Size

The item Cache Size in the context menu allows you to set the number of lines in the
terminal window, using the dialog shown in

Figure 28.65

.

Figure 28.65 Size of the Cache Dialog Box

Advertising