Setsignalfile command, Closesignalfile command – Freescale Semiconductor Microcontrollers User Manual

Page 651

Advertising
background image

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 <value (0-15)> <"file name">

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

Pinconn IO

CONNECT command:

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 <value (0-15)>

Example

CLOSESIGNALFILE 1

Advertising