User`s manual

Developing Real-Time Applications
Motorola Tips about Special Projects 4-5
To apply a pin file, in the File menu, choose Input,andthen
select Open. A dialogue box appears for you to indicate in
the From pane that the input comes from a file and in the To
pane that it applies to a pin. In the File Name pane, you
indicate the name of the input file.
In the text-based interface, use the
input command with the
pin name and file name as parameters to apply a pin file to a
pin.
4.2.2 Exercising Peripherals
To exercise the peripherals of your target device, simulate input and output on the pins
associated with the peripherals. The Motorola Simulator Reference Manual documents the
format of both simulated input and output files in Chapter 3, “Device I/O and Peripheral
Simulation.” You have a choice of “raw” pin I/O format, which consists of zeroes and
ones in a continuous bit stream, or simplified format, where the simulator takes
responsibility for converting the bit stream to intelligible chunks of data (such as 8- or
32-bit words, floating-point values, hexadecimal numbers, etc.).
To see a list of simulated peripherals, type the command
help periph on the command
line in the Command window. The list appears in the Session window.
To apply simulated input to a peripheral, in the File menu, choose Input, and select Open.
A dialogue box appears for you to indicate in the From pane that the input comes from a
file and in the To pane that it applies to a peripheral. In the File Name pane, indicate the
name of the input file.
To capture simulated output, in the File menu, choose Output,
and select Open. A dialogue box appears for you to indicate in
the From pane that the output comes from a peripheral and in
the To pane that it goes to a file. In the File Name pane, you
indicate the name of the output file.
In the text-based interface, use the commands
input and
output with the peripheral name and file name as parameters.