Motorola M68CPU32BUG Manuel d'utilisateur Page 40

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 98
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 39
DEBUG MONITOR COMMANDS
M68CPU32BUG/D REV 1 3-48
PA Printer Attached PA
NOPA
Printer Detached NOPA
3.23 PRINTER ATTACH/DETACH
PA [<port>]
NOPA [<port>]
PA attach a printer to a specified port. NOPA detaches a printer from a specified port. When the
printer is attached, everything appearing on the computer terminal is echoed to the attached
printer. If no port is specified when executing PA, the default is port 1. NOPA detaches all
attached printers. The port number must be in the range 0 to $1F.
If the port number specified is not currently assigned, PA displays an error message. If NOPA is
attempted on a printer that is not currently attached, an error message is displayed. Use the PF
(port format) command to configure the port before attaching a printer to it.
RECOVERING FROM A ’HUNG’PRINTER: attached ports are not detached by exceptions
(bus errors, abort, etc). If PA is executed using incorrect parameters, or a fault such as a paper
jam occurs, press the RESET switch on the M68300PFB Platform Board to recover control of the
printer.
EXAMPLES
CONSOLE DISPLAY: PRINTER OUTPUT:
CPU32Bug>PA <CR>
(attaching port 1 by default) (printer now attached)
CPU32Bug>HE NOPA <CR> CPU32Bug>HE NOPA
NOPA Printer detach NOPA Printer detach
CPU32Bug>NOPA <CR> CPU32Bug>NOPA
(detach all attached printers) (printer now detached)
CPU32Bug>
DEBUG MONITOR COMMANDS
M68CPU32BUG/D REV 1 3-49
PF Port Format PF
3.24 PORT FORMAT
PF [<port>]
Use the PF command to display and change the serial input/output environment. Use PF to
display a list of the current port assignments, configure a port that is already assigned, or assign
and configure a new port. The configuration process is interactive, much like modifying registers
or memory (RM and MM commands). An interlock is provided prior to configuring the
hardware, the user must explicitly direct PF to proceed.
Only eight ports are assigned at any given time. The port number must be within the range 0 to
$1F.
3.24.1 List Current Port Assignments
Executing PF without specifying a port number lists the board and port names.
EXAMPLE
CPU32Bug>PF <CR>
Current port assignments: (Port #: Board name, Port name)
00: BCC, "SCI"
CPU32Bug>
3.24.2 Port Configuration
Use PF to primarily change baud rates, stop bits, etc. Execute the PF command with the desired
port number to assign and configure port parameters. Refer to paragraph 3.20.4 New Port
Assignment.
When PF is executed with the number of a previously assigned port, the interactive mode is
entered immediately. To exit from the interactive mode, enter a period by itself or following a
new value/setting. While in the interactive mode, step control characters as described in the MM
(memory modify) command are supported.
EXAMPLE Change number of stop bits on port number 0.
CPU32Bug>PF 0 <CR>
Baud rate [110,300,600,1200,2400,4800,9600,19200] = 9600? <CR>
Even, Odd, or No Parity [E,O,N] = N? <CR>
Char Width [5,6,7,8] = 8? <CR>
Stop bits [1,2] = 1? 2<CR>
New value entered.
Fr
eescale S
emiconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Vue de la page 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 97 98

Commentaires sur ces manuels

Pas de commentaire