EE129 Computer Communication Networks



EE129 Computer Communication Networks

Fall Semester 2006

Project #1: Physical layer - Serial Communications

Summary:

You are to design and implement in assembly language or any language of your choice a serial communications system between two IBM microcomputers using BIOS services and direct output to the RS-232-C ports.

Description:

Part A:

The characters typed on the keyboard are automatically transmitted through the serial port. The characters received through the port are automatically displayed on the screen. This means that the send and receive functions are live at all times.

Your program has to perform the following operations: 1. obtaining the serial port address; 2. setting the communications protocol; 3. flushing the keyboard buffer; 4. polling the keyboard and the communication line; 5. sending the characters through the serial port; and 6. receiving characters through the serial port.

Part B:

Modify your program in part A so that it can send and receive a file (text or binary file) from one computer to the other.

Part C:

Use a digital analyzer and a connector to analyze the RS-232 protocol. Design and set up your own analysis plan. Find out the encoding scheme.

Report:

Submit the follows:

• a hardcopy report with instructions of running your program

• the source codes signed by TA

• timing diagram of your protocol analysis

• the executable

Other useful information:

See the handouts for further information on serial communications and BIOS services.

Implementation is due on Thursday, November 2, 2006.

A formal Report is due on Thursday, November 9, 2006.

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download