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.