beautypg.com

9 serial port a – Sun Microsystems 220R User Manual

Page 201

background image

Test

Function

sio_passive_lb

Sets up the Super I/O configuration register to enable extended/
compatible parallel port select, then does a write 0, walk one, write 0 x ff
to the data register. It verifies the results by reading the status register.

dma_read

Enables ECP mode and ECP DMA configuration, and FIFO test mode.
Transfers 16 bytes of data from memory to the parallel port device and
then verifies the data is in FIFO device.

The following example shows the parallel port diagnostic output message.

Enter (0-11 tests, 12 -Quit, 13 -Menu) ===> 5

TEST=’parallel_port_test’
SUBTEST=’dma_read’

Enter (0-11 tests, 12 -Quit, 13 -Menu) ===>

7.6.9

Serial Port A

The serial port A diagnostic invokes the

uart_loopback test

, which transmits

and receives 128 characters and checks the transaction validity. The following baud
rates are tested in asynchronous mode: 460800, 307200, 230400, 153600, 76800, 57600,
38400, 19200, 9600, 4800, 2400, and 800.

The following example shows the serial port A output message when serial port A is
being used for the tip connection.

Enter (0-11 tests, 12 -Quit, 13 -Menu) ===> 6

TEST=’uarta_test’
‘UART A in use as console - Test not run.’

Enter (0-11 tests, 12 -Quit, 13 -Menu) ===>

The following example shows the serial port A diagnostic output message.

Diagnostics and Troubleshooting

201