
ÉlanSC310 Microcontroller Evaluation Board User’s Manual
3-10
1.
0
EvalSet Serial and Parallel Port Setup Utility
EVALSET.EXE has been provided to allow easy activation of the serial and
parallel ports on the ÉlanSC310 microcontroller evaluation board. The BIOS on
this board was designed to be generic, therefore these functions are not enabled by
the BIOS on the evaluation board. This utility can be used to set up the base
addresses for serial port 1, serial port 2 and parallel port 1 on the evaluation board.
Serial Port 1
Serial Port 1 is the 16C450 UART internal to the ÉlanSC310 microcontroller. Its
base address can be set to either 3f8h or 2f8h. The IRQ level can be set to either 3
or 4. If you enter a base address of 0, the internal UART is disabled. If you enter
a valid base address but an IRQ of 0, then the UART is enabled but it is not attached
to an interrupt line.
Examples
evalset ser1 0x3f8 4
Sets the internal UART to be COM1:
evalset ser1 0x2f8 3
Sets the internal UART to be COM2:
evalset ser1 0 0
Disables the internal UART
NOTE:
Once the base address is set, the UART is programmed to 9600 baud, no
parity, 8 data, 1 stop.
Serial Port 2
Serial Port 2 is connected to the 16C550 UART1 of the Super I/O chip (UART2
is not connected). Its base address can be set according to the table below. Note
that if you want serial port 2 to generate an interrupt, only IRQ3 can be used. This
is because IRQ4 from the Super I/O is not connected. However, the base addresses
that are associated with an IRQ4 configuration can still be set as long as the port
is used in polled mode.
IRQ
Base addresses
3
2f8, 2e8, 238, 2e0, 228
4 (polled only)
3f8, 3e8, 338, 2e8, 220
evalbd.book : ch3 Page 10 Thursday, August 8, 1996 2:34 PM