CS452 - Real-Time Programming - Winter 2016

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 January, 2016 (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 January, 2016. Introduction. UARTs and serial I/O
  2. 5 January, 2016. Polling loops, performance
  3. 7 January, 2016. More about I/O, pitfalls
  4. 11 January, 2016. Tasks, Kernels
    Assignment 0 due.
  5. 12 January, 2016. The ARM Architecture
  6. 14 January, 2016. Context Switches on the ARM
  7. 18 January, 2016. Create( ), scheduling
  8. 19 January, 2016. Catch-up.
  9. 21 January, 2016. Initializing the kernel.
  10. 25 January, 2016. Send/Receive/Reply.
  11. 26 January, 2016. Name Server.
  12. 28 January, 2016. Hardware Interrupts.
    Kernel 1 due.
  13. 1 February, 2016. ARM Interrupt.
    Kernel 2 due.
  14. 2 February, 2016. Notifier/Server, UART interrupts
  15. 4 February, 2016. Actually taught: Bus speeds
  16. 8 February, 2016. Serial I/O.
    Kernel 3 due.
  17. 9 February, 2016. Serial I/O, debugging.
  18. 11 February, 2016. Trains, Calibration I.
  19. 15-19 February, 2016. Reading week. (I'll be relearning how to read.)
  20. 22 February, 2016. Projects, Calibration II.
    Kernel 4 due.
  21. 23 February, 2016. Calibration III.
  22. 25 February, 2016. Acceleration/deceleration; Anthropomorphic Programming.
  23. 29 February, 2016. Anthropomorphic Programming: Warehouse, Secretary
  24. 1 March, 2016. Administrator, Detective
  25. 3 March, 2016. Destroy.
  26. 7 March, 2016. Sensor Attribution, How to Give a Demo.
  27. 8 March, 2016. Route Finding and Following, Magellan.
  28. 10 March, 2016. Collision Avoidance.
    Project Proposal due.
    11 March, 2016. First train control demo.
  29. 14 March, 2016. Reservations, Pathologies.
  30. 15 March, 2016. Class cancelled.
  31. 17 March, 2016. More pathologies.
  32. 21 March, 2016. Even More Pathogies.
  33. 22 March, 2016. Power on.
    23 March, 2016. Second train control demo.
  34. 24 March, 2016. Power On II.
  35. 28 March, 2016. We'll see.
  36. 29 March, 2016. We'll see.
  37. 31 March, 2016. We'll see.
    4, 5 April, 2016. 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 29, currently scheduled for 22 March, 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: