EmbLogic's Blog

IEEE EIA/TIA-232-E specification and associated serial port device driver

Summary :
The project uses RS 232 protocol to transfer a single byte of data between two host systems over a serial communication channel.
Following are the rcs files :
1. Intialization module :
RCS file: ./initialization.c,v
Working file: initialization.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
Following operations have been performed successfully.
–Driver successfully registered and removed.
– Range of addresses from 0x3f8 to 0x3ff, acquired and release successfully.
– Baud rate set by manipulating the Line control register.
– Number of message bits set, by setting the bits 0 and 1 of the LCR resigter.
– Driver successfully added to the kernel table.
—————————-
revision 1.2 locked by: root;
date: 2014/11/13 15:41:05; author: root; state: Exp; lines: +1 -6
*** empty log message ***
—————————-
revision 1.1
date: 2014/11/13 15:35:18; author: root; state: Exp;
Initial revision
========================================================
2. write module :
RCS file: dev_write.c,v
Working file: dev_write.c
head:
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 0
description:
write module :
– write data to the serial port.
– data read successfully from the user application.
– data successfully written to the 0x3f8 or the THR ( Transmitter holding Register )
==========================================================
3. read module :
RCS file: dev_read.c,v
Working file: dev_read.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
read module :
– read the data from the serial port at address 0x03f8 ( Receiver Buffer Register ).
—————————-
revision 1.2 locked by: root;
date: 2014/11/13 15:55:54; author: root; state: Exp; lines: +2 -0
Data read successfully from the port and sent to user application.
Single byte of data received successfully.
—————————-
revision 1.1
date: 2014/11/13 15:55:20; author: root; state: Exp;
Initial revision
==========================================================

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>