Debugger Components
General Debugger Components
129
Microcontrollers Debugger Manual
TERM_APPEND_BOTH: append output to file and window
TERM_APPEND_FILE: append output to file fileName
See also terminal.h for further details.

How to Use 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, if the environment
currently provides an Sci0 object.
NOTE Only some specific Full Chip Simulation components currently have a Sci0
object. For all other Full Chip Simulation components the default virtual SCI
port does not work unless a user defined Sci0 object with the specified register
name is loaded.
Write access to the target application is done with the Object Pool function OP_SetValue
at the address Sci0.SerialInput.
Input from the target application is handled with a subscription to an Object Pool register
with the name Sci0.SerialOutput. 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 with the dialog shown in Figure 3.72.
Figure 3.72 Size of the Cache Dialog Box