CS452 - Real-Time Programming - Spring 2015

Lecture Notes

Here you will find the lecture notes that I use when teaching. They are telegraphic, so they are not a substitute for the lectures. But, if you attend the lecture they will most likely be a good memory prosthetic. As I write this -- 4 May, 2015 (If there were no such thing as the `last minute', nothing would ever get done.) -- there is almost nothing here. I will populate this page as the course proceeds, so that all the lecture notes will be here at the end of the term.

  1. 4 May, 2015. Introduction. UARTs and serial I/O
  2. 5 May, 2015. Polling loops, performance
  3. 7 May, 2015. More about I/O, pitfalls
  4. 11 May, 2015. Tasks, Kernels
    Assignment 0 due.
  5. 12 May, 2015. Context Switches on the ARM
  6. 14 May, 2015. More Context Switch
    18 May, 2015. No class, Victoria Day.
  7. 19 May, 2015. Create( ), scheduling
  8. 21 May, 2015. Initializing the kernel.
  9. 25 May, 2015. Send/Receive/Reply.
    Kernel 1 due.
  10. 26 May, 2015. Name Server.
  11. 28 May, 2015. Hardware Interrupts.
    Kernel 2 due.
  12. 1 June, 2015. ARM Interrupt.
  13. 2 June, 2015. Notifier/Server, UART interrupts
  14. 4 June, 2015. Serial I/O
  15. 8 June, 2015. Debugging.
    Kernel 3 due.
  16. 9 June, 2015. Projects.
  17. 11 June, 2015. Trains.
  18. 15 June, 2015. Calibration I
  19. 16 June, 2015. Calibration II
  20. 18 June, 2015. Anthropomorphic Programming.
    Kernel 4 due.
  21. 22 June, 2015. Warehouse, Secretary
  22. 23 June, 2015. Administrator, Detective
  23. 25 June, 2015. Demos.
  24. 29 June, 2015. Multiple Trains.
  25. 30 June, 2015. Reservations.
    Project Proposal due.
    2 July, 2015. Class cancelled.
  26. 6 July, 2015. Reservations II.
  27. 7 July, 2015. Pathologies.
    8 July, 2015. First train control demo.
  28. 9 July, 2015. More pathologies.
  29. 13 July, 2015. Even More Pathogies.
  30. 14 July, 2015. Power on.
    15 July, 2015. Second train control demo.
    16 July, 2015. Class cancelled.
  31. 20 July, 2015. Power On II.
    21 July, 2015. Class cancelled.
    23 July, 2015. Class cancelled.
    27, 28 July, 2015. Final demo.

The schedule of lectures above is necessarily approximate. I have noticed that topics vary from term to term in the amount of lecture time required, and I vary the schedule accordingly. That's why the lecture notes vary from term to term, finalized only when I know how much was covered in the previous lecture. Links in the schedule become live when my notes are finalized, which is -- almost -- always before the class starts. (I assume that students with laptops open in class are following the web version of the notes!)

Lectures scheduled up to and including Lecture 28, currently scheduled for 7 July, present material you will most likely use in your kernel or your train project. Beyond that point there is a collection of real-time topics on which I am prepared to lecture and student choose which, if any, are presented. These lectures are for your interest: they generally have little effect on projects, but may provide examples that are useful on the exam. Some lectures during the last two weeks are cancelled, potentially to relieve crowded schedules a bit.


Return to: