EmbLogic's Blog

EIA/TIA RS 232 -E specification for data transfer over serial channel( Sending large amount of data ~7MB)

Summary :
- Successful hand shaking as per RS 232 protocol between
the DTE and DCE.
- ~7MB of data transferred in 13 min. 7 sec.
- Data transfer rate is approximately 900 bytes per
second.
- Circular buffer implemented in writer module of DTE.

log files :——————————–
>> read :
2 RCS file: dev_read.c,v
3 Working file: dev_read.c
4 head: 1.3
5 branch:
6 locks: strict
7 root: 1.3
8 access list:
9 symbolic names:
10 keyword substitution: kv
11 total revisions: 3; selected revisions: 3
12 description:
13 read module for transfering 7 mb of data over the serial channel using RS-232 protocol.
14 —————————-
15 revision 1.3 locked by: root;
16 date: 2014/11/21 19:28:25; author: root; state: Exp; lines: +0 -2
17 removed debugging symbols.
18 driver in release mode
19 successful implementation of the read module.
20 7 MB of data successfully received.
21
22
23 The reader has no way of knowing when the writer will stop sending data, thus to overcome this the application on the
24 DCE end is to know(explicitly) how musch data is to be send by the DTE.
25 —————————-
26 revision 1.2
27 date: 2014/11/21 19:26:21; author: root; state: Exp; lines: +2 -18
28 successfully implemented the reader module for the DCE.
29 able to receive 7MB of data.
30 time taken to transfer 7MB is 13 minutes.

——————————————————–
>> write :

2 RCS file: dev_write.c,v
3 Working file: dev_write.c
4 head: 1.3
5 branch:
6 locks: strict
7 access list:
8 symbolic names:
9 keyword substitution: kv
10 total revisions: 3; selected revisions: 3
11 description:
12 Sending a file of 7 mb on a serial channel, using the RS 232 protocol.
13 —————————-
14 revision 1.3
15 date: 2014/11/21 19:21:46; author: root; state: Exp; lines: +1 -7
16 Removed the comments.
17 write module ready for release.
18 —————————-
19 revision 1.2
20 date: 2014/11/21 19:15:27; author: root; state: Exp; lines: +3 -5
21 Implemented hand shaking between the DTE and DCE.
22 DTE has a circular buffer (max size of buffer = 4k bytes).
23 —————————-

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>