Print

Real-Time Programming, Interfacing and Electronics

Code

IT-RTP1

Version

3.0

Offered by

ICT Engineering

ECTS

5

Prerequisites

ESW1 (especially c programming with tasks),
CAO1 (Computer Architecture and Organization) or similar courses.

Main purpose

​The main purpose of the course is to provide students with the qualifications needed to understand central concepts and characteristics about embedded real-time programming.

Knowledge

​Having completed this course, the student has gained knowledge in the below areas. Specifically, the student is able to:

- Understand the basic concepts of real-time programming
- Explain issues like deadlocks, priority inversion etc.


Skills

​Having compl​eted this course, the student should be able to:

- Write functioning real-time programs in C using FreeRTOS
- Analyze a simple real-time design for schedulability, deadlocks, utilization etc.


Competences

Having completed this c​ourse, students should be able to:

- master and use simple real-time operating systems
- be able to analyze/design/describe and construct real-time programs
- understand timers and clocks, and how they are used in real-time programming
- understand synchronization avoiding dead-locks and priority inversion
- understand memory management, resource sharing and control
- be able to design and construct real-time systems using FreeRTOS and C-programming
- understand low-level protocols, CRC etc.

Topics

Real-time Programming:
C Programming
Introduction to FreeRTOS
Real-time concepts
Tasks
Scheduling – RMS, DMPO, Arbitrary Deadlines, EDF
Queues
Timers
Clocks
Memory management
Resource sharing
Semaphores and mutexes
Synchronization
Priority Inversion
Priority - static, dynamic
Low-level protocols
CRC
Hamming-codes
Unit test in C
Simple integration test

Teaching methods and study activities

Activities change between theory, tasks, practical exercises.

Resources

​Notes and on-line books

Evaluation

Examination

E​xam prerequisites
None

Type of exam:
Individual oral exam, 20 minutes, based upon a subject found by draw and without preparation. 
Internal assessment

Tools allowed
Laptop

Re-exam:
Same as the ordinary exam.

Grading criteria

​Grading based on the Danish 7-point scale. 

Additional information

Responsible

Lars Bech Sørensen (lbs)

Valid from

8/1/2023 12:00:00 AM

Course type

Keywords