CS452 - Real-Time Programming - Spring 2017

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 -- 22 May, 2017 (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. 1 May, 2017. Introduction. UARTs and serial I/O
    3 May, 2017. Class cancelled.
  2. 5 May, 2017. Polling loops, performance
  3. 8 May, 2017. More about I/O, pitfalls
  4. 10 May, 2017. Tasks, Kernels
    Assignment 0 due.
  5. 12 May, 2017. The ARM Architecture I
  6. 15 May, 2017. The ARM Architecture II
  7. 17 May, 2017. Context Switch on the ARM
  8. 19 May, 2017. Scheduling, Creating a task.
    22 May, 2017. No class, Victoria Day.
  9. 23 May, 2017. Initializing the kernel.
  10. 24 May, 2017. Send/Receive/Reply.
  11. 26 May, 2017. Name Server.
    Kernel 1 due.
  12. 29 May, 2017. Hardware Interrupts, ARM-specific.
    Kernel 2 due.
  13. 31 May, 2017. The Timer Interrupt.
  14. 2 June, 2017. SRR performance, models.
  15. 5 June, 2017. UART interrupts.
    Kernel 3 due.
  16. 7 June, 2017. Serial I/O.
  17. 9 June, 2017. Serial I/O, debugging.
  18. 12 June, 2017. Trains, Calibration I.
    Kernel 4 due.
  19. 14 June, 2017. Projects, Calibration II. (See Stopping (pdf).)
  20. 16 June, 2017. Calibration III.
  21. 19 June 2017. Acceleration/deceleration.
  22. 21 June, 2017. Anthropomorphic Programming: Dealer, Secretary
  23. 23 June, 2017. Administrator, Detective
  24. 26 June, 2017. Destroy, How to Give a Demo.
  25. 28 June, 2017. Acceleration
    Thursday, 29 June, 2017. First train control milestone.
  26. 30 June, 2017. Route Finding and Following.
    3 July, 2017. No class, holiday for Canada Day.
  27. 5 July, 2017. Collision Avoidance.
    Project Proposal due.
  28. 7 July, 2017. Pathologies.
  29. 10 July, 2017. More Pathogies.
  30. 12 July, 2017. Magellan spacecraft.
  31. 14 July, 2017. Miscellaneous topics.
  32. 17 July, 2017. Miscellaneous topics.
    Tuesday, 18 July, 2017. Second train control milestone.
  33. 19 July, 2017. Miscellaneous topics.
  34. 21 July, 2017. Miscellaneous topics.
  35. 24 July, 2017. Miscellaneous topics.
    26, 27 July, 2017. Final demos (Tentative).
    TBD. Final exam.

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 29, currently scheduled for 10 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 the students 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: