Embedded CC++ for Real Time Systems
Document Sample


Embedded C/C++ for Real Time Systems
Course No. 3407X Type: Hands-on Duration: 32 hours
Course Overview:
The course outlines real time operating systems, their type and their special needs. Within this context,
embedded C and C++ are described with their use in real time systems explained.
Who should attend?
C and/or C++ programmers who need to program real time systems.
Prerequisites:
Knowledge of C and/or C++. Exposure to hardware is an advantage
Course Content:
1. Introduction Message queues
Why embedded real time Interrupts: ISR, Priority, Watch dog
Timing
2. Overview Performance parameters
Definitions RTOS samples: VxWorks, Windows CE
- Real Time: Hard RT, Soft RT
- Embedded 4. Embedded C
Application domain Embedded C programming concepts
Requirements & restrictions Embedded C and program elements
Programming Paradigms Variable scope, volatile qualifiers and modifiers
- Reactive – Interrupt driven Program structures
- Concurrency Recursion
- Synchronization Implementing basic data structures: pointers,
- Communication
arrays, queues, stacks, lists
Embedded Platforms Pre-processor compiler directives and cross
Drivers compilers
Determining Endianness of processors: why it Inline assembly and its necessity
matters Macros v functions
Source code engineering tools
3. Real-time Operating Systems (RTOS) Optimization
Features
Multitasking
5. Embedded C++ (EC++)
- Tasks Goals
- Preemption
Benefits
- Context Switch
Memory restrictions
- Scheduling
EC++ Versus C++
o Priority
- Differences: Multiple inheritance, virtual base
* Inversion
classes, templates, exceptions, runtime type
* Inheritance
identification, virtual function tables and mutable
o Starvation
specifiers.
o Aging
ROMable code
* Synchronization
- Semaphores
6. Summary
- Critical Section
- Deadlock
* Communications
- Signals
32, Shacham St., POB 7765, Petah Tikva 49170, Israel Tel: (972) 03 924 7780 Fax: (972) 03 924 7783 Email: Logtel@logtel.com
Get documents about "