You are on page 1of 9

RTO

S
CASE STUDY OF CODING FOR SENDING
APPLICATION LAYER BYTE STREAMS ON
A TCP/IP NETWORK USING RTOS VX
Works

1/25/2015 J.SUDARSHANREDDY
Contd..

Assume a case of an embedded system


in which RTOS tasks communicate the
TCP stacks from an application.

TCP/IP stack is a stack containing the


frames communicated on the network
using TCP/IP suite of protocols.
Contd,,
The advantages of multitasking should become
obvious for this case.
• An application may not output the string
continuously.
• The task at other layers can therefore also
process concurrently during the intermediate
periods.
How do the the semaphore that are used as
mutex guard the shared data problems when
using the global variables for IO streams.
How do the semaphores used as event flags
provide an efficient way of synchronizing tasks of
various priorities.
Contd…

The use of VxWorks or ant other


tested RTOS is shown to simplify the
coding as scheduling and IPC functions
are now readily available at the RTOS.
1. Specifications

TCP/IP Stack
 In TCP/IP suite of protocols,
application layer transfers the
data with appropriate
header words to transport
layer.

 At transport layer, either UDP


or TCP protocol is used
1/25/20 15
rdsand
placed.
TCP/IP Stack transmitting subsystem

1/25/2015 J.SUDARSHANREDDY
8. Multiple tasks and their synchronization model

1/25/2015 J.SUDARSHANREDDY
Theory part refer in Raj kamal text book .
1/25/2015 J.SUDARSHANREDDY

You might also like