Setsignalfile command, Closesignalfile command – Freescale Semiconductor Microcontrollers User Manual
Page 651

ColdFire V1 Full Chip Simulation Connection
Electrical Signal Generators and Signals Application to Device Pins
651
Microcontrollers Debugger Manual
SETSIGNALFILE Command
SETSIGNALFILE
specifies the signal file to use.
The SETSIGNALFILE X command creates a virtual SignalGeneratorX module
having a SignalPin.
The file name can include the path of the file. If no path is given, the Signal
component will first search in the current project folder, then in the prog\FCSsignals
folder of the debugger installation path.
Syntax
SETSIGNALFILE
Example
To create three generators:
setsignalfile 0 "sinus_11bit_0_5v_1Hz.txt"
setsignalfile
1
"saw_11bit_0_5v_1Hz.txt"
setsignalfile
2
"square_1_5v_1Hz.txt"
Then, perform virtual pin connections with the
connect "SignalGenerator0.SignalPin","Atd0.PAD0"
connect "SignalGenerator
1
.SignalPin","Atd0.PAD1"
connect "SignalGenerator
2
.SignalPin","Atd0.PAD2"
TIP
Commands to create a signal generators can be placed in a command file like a
Postload
command file.
CLOSESIGNALFILE Command
CLOSESIGNALFILE
closes the current signal file and generator.
Syntax
CLOSESIGNALFILE
Example
CLOSESIGNALFILE 1