Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC On-line Command Specification 259
For multiple cards on a single serial daisy-chain, this command affects all cards on the chain, regardless
of the current software addressing.
See Also: On-line commands K, A, <CONTROL-A>.
<CONTROL-M>
Function: Enter command line.
Scope: Port specific
Syntax: ASCII Value 13D; $0D (<CR>)
This character, commonly known as <CR> (carriage return), causes the alphanumeric characters in the
Turbo PMAC's command-line-receive buffer for this port to be interpreted and acted upon. (Control-
character commands do not require a <CR> character to execute.)
Note that for multiple Turbo PMACs daisy-chained together on a serial interface, this will act on all cards
simultaneously, not just the software-addressed card. For simultaneous action on multiple cards, it is best
to load up the command-line-receive buffers on all cards before issuing the <CR> character.
Example:
#1J+<CR>
P1<CR>
@0&1B1R@1&1B7R<CR> (This causes card 0 on the serial daisychain to
.......................... have its CS 1 execute PROG 1 and card 1 to
.......................... have its CS 1 execute PROG 7 simultaneously.)
See Also: Talking to Turbo PMAC
<CONTROL-N>
Function: Report command line checksum.
Scope: Port specific
Syntax: ASCII Value 14D; $0E
This character causes Turbo PMAC to calculate and report the checksum of the alphanumeric characters
of the present command line (i.e. since the most recent carriage-return character) for this port.
As typically used, the host computer would send the entire command line up to, but not including, the
carriage return. It would then send the <CTRL-N> character, and Turbo PMAC would return the
checksum value. If this value agreed with the host's internally calculated checksum value, the host would
then send the <CR> and Turbo PMAC would execute the command line. If the values did not agree, the
host would send a <CTRL-X> command to erase the command line, then resend the line, repeating the
process.
Note:
The PMAC Executive Program terminal mode will not display the checksum
values resulting from a <CTRL-N> command.
Example:
With I4=1 and I3=2:
Host sends: ......... J+<CTRL-N>
Turbo PMAC sends: <117dec> (117=74[J] + 43[+]; correct)
Host sends: ......... <CR>
Turbo PMAC sends: <ACK><117dec> (handshake & checksum again)
Host sends: ......... J/<CTRL-N>
Turbo PMAC sends: <122dec> (122 != 74[J] +47[/]; incorrect)
Host sends: ......... <CTRL-X> (Erase the incorrect command)
.......................... J/<CTRL-N> (Send the command again)