Real Time 'C' Programming using CMX-RTX for PIC24 and dsPIC Microcontrollers
Course
In Carshalton
Description
-
Type
Course
-
Location
Carshalton
-
Duration
5 Days
After attending this course, you will be able to: Implement and design applications as a set of co-operating tasks. Understand and wisely choose from the various inter-task communications strategies available via the CMX-RTX. Configure CMX-RTX resources and implement device drivers for common dsPIC target configurations. Implement TCP/IP based applications. Suitable for: This course is for engineers who have a good knowledge of C programming but little experience of programming using real time operating systems application programming interfaces (APIs). The course is also useful for engineers who need to gain a rapid understanding of the CMX-RTX API and an ability to configure CMX-RTX for various dsPIC target board configurations.
Facilities
Location
Start date
Start date
Reviews
Course programme
'C' programming of embedded systems using a real time operating system requires a deep understanding of the mechanisms - both general and OS specific used to control and synchronise tasks and to exchange information between tasks. It also requires an awareness of strategies for setting task priorities appropriately and avoiding unpleasant situations such as deadlock and starvation.
For tiny real time executives it is also important to be able to implement device drivers for the various specialised devices that will form part of the application.
Key Skills
After attending this course, you will be able to:
- Implement and design applications as a set of co-operating tasks
- Understand and wisely choose from the various inter-task communications strategies available via the CMX-RTX
- Configure CMX-RTX resources and implement device drivers for common dsPIC target configurations
- Implement TCP/IP based applications using CMX-MICRONET running under CMX-RTX
Course Contents
Overview of real-time and embedded systems concepts Overview of Linkers and Linking Embedded system initialisation Characteristics of a Real Time Operating system
- scheduler
- objects
- services
- Task management Event management
- Timer management , Message management
- Circular queue management , Resource management
- Semaphore management
- Fixed block memory management
- Specialized UART management
- Automatic power down management
- Full pre-emption and ability to also have cooperative and time slice scheduling
- creation, scheduling, operations
- synchronization, communication and concurrency
- creation, operations, usage
- producer-consumer scenario - implementation using circular buffers and semaphores
- concepts
- states
- storage
- queue operations
- queue use
- concepts
- waiting and setting on an event
- clearing an event
- patterns of intertask communication using event objects - synchronizing producer and consumer, two phase interrupt handling, ...
Real Time 'C' Programming using CMX-RTX for PIC24 and dsPIC Microcontrollers