Design and realization of experiments for an embedded Linux Laboratory class. Student: Andrew Sweeney Supervisor: Peter Corcoran Final Year Project Electronic & Computer Engineering
Current 4 th Year Embedded Systems Course Introduce the concepts of real-time systems Course in place at the moment The goal of this project
Linux Kernel Become familiar with the basics of Linux and install Linux on a desktop PC Learn how to install and get RTAI working Run some basic test programs to verify RTAI functionality
Real-Time Linux Set up and compile a basic real-time program Preferred programming language Code to be a loadable object
Demonstrations Pure Periodic scheduling of a periodic task Pure Periodic scheduling of a periodic task Pure periodic scheduling of two periodic tasks Pure periodic scheduling of two periodic tasks Variable-periodic scheduling of a single task Variable-periodic scheduling of a single task FIFO communication between Linux and RTL FIFO communication between Linux and RTL
More Demonstrations Interrupt Service Routines Interrupt Service Routines Shared Memory Communication between RTL and Linux Shared Memory Communication between RTL and Linux RTL semaphores RTL semaphores Radio-controlled airplane servo-motor control Radio-controlled airplane servo-motor control
Documentation Become familiar with each experiment Become familiar with each experiment Develop student lab procedures to be completed as part of a lab experiment Develop student lab procedures to be completed as part of a lab experiment Develop manuals for supervisors to possess in these labs with instructions on each experiment Develop manuals for supervisors to possess in these labs with instructions on each experiment
Embedded Linux Development System Become familiar with programming of an embedded Linux development system Test and demonstrate working application code Implement some of the experiments on the embedded system Provide associated documentation
Schedule Mid Oct - Installed Linux and most of the RTAI Mid Oct - Installed Linux and most of the RTAI End Oct - Installed RT and ran test program End Oct - Installed RT and ran test program Mid Nov - Variable-periodic scheduling working Mid Nov - Variable-periodic scheduling working End Nov – FIFO communication link End Nov – FIFO communication link December – Exams December – Exams Dec/Jan – ISRs and Shared Memory Dec/Jan – ISRs and Shared Memory Feb – Semaphore and RC Airplane Feb – Semaphore and RC Airplane March – Implement on embedded system March – Implement on embedded system April – Finishing Up/Finished April – Finishing Up/Finished
Questions ???