[[wysiwyg_imageupload:1701:]]D.RAJARAJAN Belongs from Chennai. He is Electronics and Communication Engineer and currently pursuing post graduate diploma in Embedded System at ACCEL IT Academy.
Fig 1.1: Multitasking
In this project we are going to perform multitasking simultaneously. In Micro C/OS-II maximum number of task is 64, but here we going to perform up to 6 tasks the tasks like LED scrolling, alarm, temperatures sensor, graphical LCD, serial communication, relay are perform simultaneously.
In this paper, the proposed method is implemented on a coarse grain reconfigurable architecture with 8 and 32 processing elements. A large amount of random scenario have been simulated and the statistical results presented here clearly show real advantages of the proposed method, but also some limitations drawing the line of future works. The design of embedded systems has become more complex than ever, and the design qualities depend more on the cooperation of multidisciplinary design teams: hardware engineers and software engineers in general.
EMBEDDED SYSTEM
2.1. Characteristics
2.2. Real-Time Embedded Systems
2.3. Peripherals
CHAPTER 3
Hard Real-Time Systems
Soft-Real Time Systems
3.1.2. Real-Time Design Approaches
Super-Loops
Super loops also called Foreground/Background Systems.There is a background loop that is always running anytime an ISR isn’t executing.The CPU is always busy. Small system of low complexity is generally designed as shown figure [1]. An application consists of an infinite loop that calls modules to perform the desired operation (background). Interrupt services routine handle asynchronous events (foreground). Foreground is also called interrupt level; background is called task level. Critical operation must be performed by the ISR is ensure that they are dealt with in a timely fashion. Because of this ISR have a tendency to take longer than they should. Also, information for a background module made available by an ISR is not processed until the background routine gets its turn to execute. This is called the task level response. The worst-case task level response time depends on how long the background loop takes to executes. Because of the execution time of typical code is not constant; the time for successive passes through a portion of the loop is nondeterministic.
Foreground/Background System
Disadvantage
- Background response time is the background execution time
- All ‘tasks’/functions () have the same priority!
3.2. Introduction to RTOS
3.2.1. Defining an RTOS
Scheduler-is contained within each kernel and follows a set of algorithms that determines which task executes when.
3.3. Commercial RTOSs
3.4. RTOS Advantages
Chapter 4
C/OS-II
4.1. Why we choose Micrium µC/OS-II
4.2. C/OS-II
4.2.1. Overview to µC/OS-II
Filed Under: Electronic Projects
Questions related to this article?
👉Ask and discuss on EDAboard.com and Electro-Tech-Online.com forums.
Tell Us What You Think!!
You must be logged in to post a comment.