Real Time 'C' Programming using CMX-RTX for PIC24 and dsPIC Microcontrollers

Course

In Carshalton

£ 1,750 + VAT

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

Carshalton (Surrey)
See map
1-3 Fairlands House, North Street, SM5 2HW

Start date

On request

Questions & Answers

Add your question

Our advisors and other users will be able to reply to you

Who would you like to address this question to?

Fill in your details to get a reply

We will only publish your name and question

Reviews

Course programme

Overview
'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
Features of CMX-RTXTM
  • 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
Understanding tasks
  • creation, scheduling, operations
  • synchronization, communication and concurrency
Semaphores
  • creation, operations, usage
  • producer-consumer scenario - implementation using circular buffers and semaphores
Message queues
  • concepts
  • states
  • storage
  • queue operations
  • queue use
Events
  • 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, ...
Timers and timer management Memory management Implementing device drivers

Real Time 'C' Programming using CMX-RTX for PIC24 and dsPIC Microcontrollers

£ 1,750 + VAT