Course Description

Description and Syllabus 
 

Lecture Material

It is assumed that the following course material is being made available to students of SUNY at Buffalo for use in the courses offered by the Department of Computer Science.
They are meant for instructional use only.


Date
Topics
Material
Notes
8/26
Introduction to realtime & embedded operating system
Course Description, policies

8/28
Defining RTOS and Embedded Systems
RTEM

8/30
Design representation using state diagram; deisgn choices; intro. to hardware
DesignRep

9/3
C foundations: from the very beginning
CProg

9/6
Lets discuss AFLIC
AFLIC

9/9
Concurrency model I: Unix Process model
Proc


Lets understand process model...

Demos
9/11
Concurrency model II: posix thread model
Thread

9/15
pthread API; concurrency using pthreads; rand() function; probabilities using rand()
demo

9/18 Help on project 1 (bina's) (Xiang's) Help1 Help2
9/22 Realtime systems Cyclic Executive
9/25 Realtime Scheduling See class notes
9/27 What ever happended on Mars? Mars Rover Story. MarsRover
9/30
Clock-driven static scheduling
ClkSched
PriorityQues
10/3
Priority based scheduling; priority inversion and solutions
PrioritySched

10/6
Embedded XINU: WRT54GL infrastructure
EXINU_wrt54GL

10/8
Connecting to XINU: demo; bring your laptops

Lab 2
10/11
Getting Started with XINU
nexosXinu
Instructions
10/16 Understanding XINU-Part 1
midterm review
Xinu-Part1
MidtermReview

10/18 Arduino Demo by Brian Haag


Exam Prep;
Project 2 Push
Exam Prep
ShellHowTo

10/23 Exam 1 Be there on time

10/25
Introduction to pipe() system call
p.187-190
demo Other examples
10/28
More pipes: Project 3 discussion
Lab 3

10/28 Signals + alarms SigAlarm pointers demos
11/1 Design representation: Use case and CRC usecase CRC
11/6
Pointers and memory management
Pointers memLeak
BufferOverflow
demos
11/11
Understanding xinu through its code
Initialize.c, main.c

11/13
Uart device; uart device driver
UART: uart directory and uart.h

11/18
Critical Section and mutual exclusion in Xinu; Semaphores
Xsema


Beyond Xinu: applyig knowledge from Xinu
BEXinu


Review questions for final exam
FinalQuesSampler

11/20
Presentation guidelines
PresGuideline


Final exam review
FinalReview

12/1-6
Demos for Ardunio Project


12/10
Tuesday 8-11AM
222 NSC


Process and Thread Programming Links
Unix Processes
Posix Threads

Labs:

Lab 1: Design of Airline Collision Preventation System (AFLIC)
Lab 2: Working with Embedded XINU: shell programming, reealtime scheduling
Lab 3: Design and implementation of a complete realtime/embedded system using Arduino

Working with Embedded Xinu

XINU Main Page

Preparing EXINU Boot

XINU documentation

Interesting links: