PMC-Sierra, Inc.
PM6541 E1XC-EVBD
TELECOM STANDARD PRODUCT
PMC-930917
ISSUE 1
E1XC EVALUATION DAUGHTERBOARD
7 E1XC DAUGHTERBOARD FIRMWARE DESCRIPTION
The EVMB evaluation board provides a serial interface for hooking up a standard
"VT100" type terminal. The RF2 SERIAL 25-pin D-type connector on the EVMB is
configured as a DCE, 9600 BAUD, 8 bit, NO PARITY, one STOP bit. Connecting a
terminal to this port, setting switch 2 on the MODE switch bank to CLOSED and
pressing the RESET switch on the EVMB will enable console control.
When the system is started cold or after a hardware reset, the first output to the
console will be the Forth kernel identification followed by a prompt:
Max-FORTH vX.X
>
The first commands that should be downloaded into the system after a cold boot
should be (note: each line must be terminated with a "carriage return"; the text within
parenthesis are comments and do not have to be typed in):
HEX
100 TIB !
100H )
( Set up Hex number base )
( Relocate text input buffer to eRAM address
50 TIB 2+ !
200 DP !
( Define 80 character text input buffer length )
( Set up Dictionary Pointer )
After inputting each of these commands followed by a carriage return, the FORTH
interpreter should respond with an "OK" signifying it has accepted it. Any failure to
properly input these set-up statements will be characterized by a "?" response from
the interpreter and/or by errors when inputting any subsequent data. Further, if an
error occurred while entering the commands to relocate the text input buffer or
redefine its length, the text buffer will be unable to accept more than the default 16
characters per line input.
The following Forth code was developed for the E1XC daughterboard and
presented here as an example. To set-up the E1XC, all that is minimally required is
the above EVMB initialization words, the register address CONSTANT definitions,
and the RD and WR routines. The remaining words are useful for exercising the
more advanced features of the E1XC.
VARIABLE DEV
VARIABLE TSB
VARIABLE M
VARIABLE N
VARIABLE T
25