Course Description

Description and Syllabus (.pdf)
Tentative schedule (.xls)

 

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

Topic

Reading material

Notes/comments

8/26

Introduction to CSE321: Policies and protocols

Intro to NEXOS

 

8/28

C programming fundamentals; Intro to WRT54GL and Embedded XINU env.

 

 

9/2

Defining Real Time Systems (RTS)

Ch.1 RTS

 

9/4

RTS Contd.

 

 

9/9

WRT54GL and Embedded XINU

System

WRTEXINU

 

9/11

Project 1: Introduction to NEXOS and EXINU hardware and Software

 Project1

 

9/18

Hardware considerations

Ch.2,3

 

9/25

Basic cyclic executive and table-driven cyclic executive

Ch.4

demos  NEXOS

10/2
Signals and alarms
sigalarm


Finite state machine design method
FSMCh5

10/7
FSM continued;



Midterm review
MidtermReview
Project2
10/14
Realtime Scheduling
RTSSched

10/21

RTS Contd.

10/23
UART and UART Driver
UARTDriver


Project 3: Design and Implementation of device driver
DeviceDriver

11/4
Device driver continued; prj3 discussion; device driver class diagram

Review of C pointers and pointers to struct
11/6
Semaphores, mutlitasking, mutual exclusion and synchronization
Semaphores

11/11
uart driver (contd.): break and continue
Homework5

11/13
Address decoding; approaches to solving Hwk5

addressDecoder exercise
11/18
What happended on Mars?
priority inversion
Signal and signal handlers
Chapter 9
demo code
11/20
Pipes as communication between tasks;
Final exam review
Final review

12/4
Final review
Material

Working with Embedded Xinu

Preparing EXINU Boot

XINU documentation

Lab Schedule .. More open hours

Homework

Homework 1: Number game: C programming

Homework 2: Craps game: FSM Design

Homework 3: Golf Distance finder: RTS research
Homework 4: Cyclic Executives
Homework5: Priority Inversion, Inheritence and Ceiling