Aditya Engineering College (A) Aditya Engineering College (A)
Aditya Engineering College (A) Aditya Engineering College (A)
EMBEDDED SYSTEMS
K.PAVANI
Sr.Assistant Professor
Department of Electronics and Communication Engineering
Aditya Engineering College (A)
Email: [email protected]
ADITYA ENGINEERING COLLEGE (A)
K.PAVANI
Sr.Assistant Professor
Department of Electronics and Communication Engineering
Aditya Engineering College (A)
Email: [email protected]
Aditya Engineering College (A)
Unit-4 Outcomes
Contents
Operating system basics
Types of operating systems
Tasks
Process and Threads
Multiprocessing
and Multitasking
Task Scheduling, Threads
Processes and Scheduling
Task communication
Task synchronization.
K.PAVANI
Sr.Assistant Professor
Department of Electronics and Communication Engineering
Aditya Engineering College (A)
Email: [email protected]
Aditya Engineering College (A)
Learning Outcomes
LO 1 :Understand the basics of an opera ng system and the need for an operating
system
The operating system acts as a bridge between the user applications/tasks and the underlying system
resources through a set of system functionalities and services.
The OS manages the system resources and makes them available to the user applications/tasks on a need
basis.
A normal computing system is a collection of different I/O subsystems, working, and storage memory.
The primary functions of an operating system is
Make the system convenient to use
Organize and manage the system resources efficiently and correctly
Classification of Kernel
Monolithic Kernel Microkernel
Depending on the type of kernel and kernel services, purpose and type of
computing systems where the OS is deployed and the responsiveness to
applications, Operating Systems are classified into different types.
General Purpose Operating System (GPOS)
Real-Time Operating System (RTOS)
Task/Process management
Task/Process scheduling
Task/Process synchronisation
Error/Exception handling
Memory management
Interrupt handling
Time management
PROCESS
Structure of a Process Memory organization of a Process
Threads
TASK SCHEDULING
TASK COMMUNICATION
Co operating process
1. Co operation through sharing
2. Co operation through communication
Competing process
Shared Memory
Message Passing
RPC and sockets
SHARED MEMORY
PIPES:
Message Passing
Message Queue:
Mail box
SOCKETS
TASK SYNCHRONISATION
• Racing
• Dead lock
1.Mutual exclusion
2.Hold & wait
3.No resource pre emption
4.Circular wait
• All four conditions are known as Coffman conditions
Racing Condition:
Deadlock visualisation
K.PAVANI
Sr.Assistant Professor
Department of Electronics and Communication Engineering
Aditya Engineering College (A)
Email: [email protected]
Aditya Engineering College (A)
Contents
Techniques :
1. Out of circuit Programming
2. In system Programming (ISP)
a.In system programming with SPI Protocol
3. In Application programming (IAP)
4. Use of factory Programmed chip
5. Firmware loading of Operating system based devices
Out-of-Circuit Programming
The processor or memory chip into which the firmware needs to be embedded is taken out of the target board
and it is programmed with the help of a programming device
• ISP technique
• A special code called boot loader program is used for pre loading or loading the memory using JTAG