Motorola Command One Uživatelský manuál Strana 53

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 252
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 52
Simulator Commands
Command Summary
MOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-35
2.3.21 OUTPUT: Assign Output File
OUTPUT [#n] [T] addr/port/periph/pin[_group] TERM/file [ioradix/-RS] [-A/-O/-C]
OUTPUT [#n] [T] addr/port/periph/pin[_group] OFF
OUTPUT [#n] [T] history TERM/file/OFF [-A/-O/-C]
OUTPUT [#n] [T] ehistory TERM/file/OFF [-A/-O/-C]
The output command stores data from a peripheral, memory location, or device pin to the
specified destination. The valid peripheral and port names for the selected device can be
obtained by using the Simulator’s "help periph" and "help port" commands.
The output destination may be a disk file or the user’s terminal. Use of the keyword
TERM assigns output to the terminal. The Simulator can store data only or time-data
pairs. Use of the keycharacter T specifies the time-data pair format. The output data is in
ascii. The data value may be expressed in hexadecimal, decimal, or floating point for
memory and peripheral name assignments, in pin data form (0,1,H,L,n,p,X) for assign-
ment to individual digital pins, or as single precision floating point for assignment to indi-
vidual analog pins with the -RF radix designator.
The output radix for the data value is specified using -RD, -RF,-RH,-RU or -RS following
the filename. The -RF radix, when specified for a single output pin, will output the analog
single precision floating point value associated with the pins analog function. The -RS ra-
dix is valid only for output memory locations. It interprets values written to the specified
memory location to be the address of a null terminated character string in the same mem-
ory space. The character string will be displayed or written to an output file. This string
radix is provided primarily for use when debugging programs created with the C Compiler.
The output time value is always expressed in decimal. Chapter 3 contains a thorough de-
scription of the output file format. A keycharacter -A, -O, or -C may be specified to select
append, overwrite, or cancel if the filename already exists. As a default, the user will be
prompted during command execution.
Assignment to a memory address causes all subsequent writes of that memory address
to store data in the output file.
If a filename suffix is not specified, the Simulator will attach ".io" to a non-timed output file
and ".tio" to a timed output file.
The third form of the output command creates a continuous log of the device execution
addresses and disassembled opcodes. The output format is similar to the output gener-
ated by the Simulator history command.
The fourth form of the command, which specifies ehistory, is an extended version of the
output history command. Additional execution history information is logged to the output
file, including device wait state cycles and bus arbitration cycles and indication of other
stall conditions. The extra information is preceded by double asterisks in the log file. Only
one of output history or output ehistory may be active.
Zobrazit stránku 52
1 2 ... 48 49 50 51 52 53 54 55 56 57 58 ... 251 252

Komentáře k této Příručce

Žádné komentáře