Diagnosis Program [comtest]

This is a sample program that reads and sends data.

To run this program, use two communication ports and connect both with a cross cable.

baud rate: 38400bps

data length: 8, stop bit: 1, parity: none

 

1. Input two port names for sending and reading data after the program starts.

(Example) When using COM-1(USB)H and the serial port of MotherBoard

              /dev/ttyUSB0

              /dev/ttyS0

2. Key-in any data to be used for communication data.

3. After inputting the communication data, the data will be sent from one port.

4. When the other port receives data, the received data will be displayed on the CRT.

    (Port A -> Port B first, then Port B -> Port A)