D0003E: Real-Time Systems
web page from 2014
News and updates will always be announced here, with latest news on
|2015-01-20||Lecture slides for lecture 1 updated|
|2015-01-20||Link to avr-libc library reference added to documents section|
||Nu börjar vi på 2015 års version av webbsidan.
Schedule for Luleå
The aim of the course is to give
competence in the
development of real time systems in high level programming
discuss various models of synchronization and communication between
concurrent processes in such
systems, and to study the characteristics
of real time systems and their constructions. The central
course are concurrency -
where programs are built using several concurrent threads of execution,
reacted to rather than requested, and real-time
- where the timing behavior of a reactive
system is also of interest.
- Model of abstraction based on encapsulated processes
- Models and methods for synchronization and communication
between concurrent processes
- Event-driven program structures
- Interrupts and signal-handling
Real Time Systems:
- Priorities and deadline requirements
- Connections of external devices, embedded systems
- Process scheduling and error handling
- Design of a real time kernel
Alan Burns and Andy Wellings.
Addison-Wesley, third edition, 2001.
Fouth edition is also perfectly usable.
Examiner & lecturer
Phone: 49 24 31
Pablo Punal Pereira
It is very easy to get started with the new equipment. Just connect the
AVR ISP programmer to the computer by USB and to the Butterfly
board with the USB cable. Programming is performed in "Atmel Studio".
Choose to crerate a new GCC C Executable project and select ATmega169P
as device. Use Tools > Device programming to program your device with an
file. Here, you need to select ATmega169P again. If you're
asked to upgrade the firmware on the programmer, choose to do so. Be
sure to work in your home directory and not on the local
| Lab 1:
| Lab 2:
| Lab 3:
generators with a GUI
| Lab 5:
Commanding a robot (not mandatory)
|deadline before exam
Target platform documentation
Target platform resources
, online supplier
of AVR Butterfly cards.
, another AVR Butterfly supplier.
supplier of AVR material.
source C cross-compiler, libraries and download utilities (for Windows).
, optional AVR integrated development environment for Windows
that installs on top of WinAVR.
source C cross-compiler, libraries and download utilities (MacOS X)
Links to related information
Johan Nordlander, Programming
Programming, Livermore Computer Traning, Lawrence Livermore National Laboratory
Ken Tindell & Hans Hansson, Real-Time
Scheduling, Tech. report, Uppsala University, 1996
Dave Marshall, Programming
Steve Holmes, C
Steve Summit, C
Marshall Brain, How
C Programming Works
Lee Tauck, C
Mikael Sundström, Some
Tips for Real-time Programming
7 online manual pages