18-348 Embedded System Engineering

Fall 2009
Carnegie Mellon University, ECE Department

Prof. Philip Koopman

Lectures: Mon & Wed 10:30 AM - 12:20 PM; Scaife 125 (auditorium)
Labs: one of five sections: ({Mon OR Tues OR Wed OR Thu} 6:30-9:20 PM) OR (Fri 1:30-4:20 PM) Room: HH 1204
Recitations: Fri 11:30-12:20; Scaife 125 (auditorium)

Required Text: Valvano, Embedded Microcomputer Systems: Real Time Interfacing, 2nd Edition, ISBN 0534551629
Required Hardware: You will be loaned a microcontroller board for the course based on the Freescale MC9S12C32 processor (one per student) and a prototype board (one per team). You must return these boards at the end of the semester, but they will be available if you choose to take 18-549 in a later semester.

Handouts are provided in class. Lecture materials are only available in printed form.

Meeting Date Scheduled Lecture Reading
Valvano text unless otherwise noted
.pdf links are CMU-only access
Mon. 24-Aug-09 1. Course Intro & Background Valvano book sections: 1.2, 1.5
E-mail lab partner requests to course staff today by 9 PM at: {e-mail}
Wed. 26-Aug-09 2. Embedded Hardware 1.1, 1.4, 1.8
Fri. 28-Aug-09 Recitation Lab #1
Mon. 31-Aug-09 3. Microcontroller Instruction Set - Part 1 1.6, 2.1-2.2.8, 2.2.10
Wed. 2-Sep-09 4. Microcontroller Instruction Set - Part 2 2.2.9, 2.2.11, 2.2.12, 2.5.1, 2.5.2, 2.5.4
Fri. 4-Sep-09 Recitation Lab #2
Mon. 7-Sep-09 NO CLASS - Labor Day Holiday  
Wed. 9-Sep-09 5. Engineering Process & Design Techniques 1.3, 2.3, 2.4.5, 2.5.3, 2.6, Gannsle98a, Wolf07 -- state machine section only
Fri. 11-Sep-09 Recitation Lab #3
Mon. 14-Sep-09 6. Embedded Language Use 2.5.1, 2.5.2, Jones98
Wed. 16-Sep-09 7. Coding Tricks; Multiprecision Math; Reviews Crenshaw97, Gannsle98b
Fri. 18-Sep-09 Recitation Lab #4
Mon. 21-Sep-09 8. Memory and Memory Bus 1.9, 9.1-9.2.2, 9.3-9.4.1, 9.6.2, 9.8, Barr01, Freescale04
Wed. 23-Sep-09 9. Economics, Code Optimization, and Fixed Point 1.5.5, 2.1, Kraeling96
Fri. 25-Sep-09 Recitation Lab #5
Mon. 28-Sep-09 10. Serial Ports 3.1, 3.4, 7.1, 7.2, 7.5.1-7.5.2, 7.6.3; (wikipedia)
Wed. 30-Sep-09 11. Debug & Test 2.11, Schneider04, Knoke08
Fri. 2-Oct-09 Recitation Lab #6
Mon. 5-Oct-09 12. Time; Timer/Counters; Watchdog Timers
(this material is on second exam, not first exam)
2.4.2-2.4.4, 6.1.4-6.1.5.1; Murphy01
Wed. 7-Oct-09 First Exam NONE
Fri. 9-Oct-09 Recitation Lab #7
Mon. 12-Oct-09 13. Interrupts 4.1, 4.4, Massey01, Ganssle94
Wed. 14-Oct-09 14. Interrupt & Cyclic Task Response Timing Ball02; Interrupt latency hand-out
Fri. 16-Oct-09 NO RECITATION - Mid-Semester Break  
Mon. 19-Oct-09 15. Preemptive Context Switching 4.15, 5.1, Labross03, Kalinsky01
Wed. 21-Oct-09 16. Concurrency 2.9, 4.2, 4.3, 5.2, 5.3,Ganssle01
Fri. 23-Oct-09 Recitation
Guest: Michael Abowd, General Motors
Lab #8
Mon. 26-Oct-09 17. Scheduling 3.5.2, 5.4, Stewart01, Stewart02
Wed. 28-Oct-09 18. RTOS Renwick04, Jones97, Hawley03
Fri. 30-Oct-09 Recitation Lab #9
Mon. 2-Nov-09 19. Analog Outputs 11.4, 6.2.3-6.2.4, 6.7, Barr01
Wed. 4-Nov-09 20. Analog Inputs 3.5.4, 11.5. 11.10.2, 12.3.2, Maxim05, Maxim05a, Wagner02
Fri. 6-Nov-09 Recitation Lab #10
Mon. 9-Nov-09 21. Other I/O 8.1-8.3, 8.6
Wed. 11-Nov-09 22. Control 13.1-13.4, Barr02
Fri. 13-Nov-09 Recitation Lab #11
Mon. 16-Nov-09 23. Booting & Robust Systems 4.5-4.7, Gollakota06
Wed. 18-Nov-09 24. Bluetooth & CAN TBD
Fri. 20-Nov-09 Recitation  
Mon. 23-Nov-09 25. Therac 25 Leveson (especially sections 3.5.3, 3.6.1, 4 and pg 42)
Wed. 25-Nov-09
Fri. 27-Nov-09
NO CLASS; No recitation this week -- Thanksgiving Holiday Break  
Mon. 30-Nov-09 Review for second exam (bring questions) Recommended: Gannsle06, Ganssle09
Wed. 2-Dec-09 Second Exam NONE
Fri. 4-Dec-09 Selected lab demos during recitation NONE
 
Notes:

Office Hour Schedule


TA In-Lab
Office Hours
(50 minutes starting at time below)
TA In-Lab
Office Hours
(50 minutes starting at time below)
Lab Section (6:30-9:20P)
Monday Tim 12:30 Rituik 3:00 Will; Lab Section A
Tuesday Sudeep 11:00 Tim 12:30 Tim; Lab Section B
Wednesday Rituik 1:30 Wenyan 2:30 Sudeep; Lab Section C
Thursday Wenyan 10:30 Will 12:30 (until 2:20) Rituik; Lab Section D
Friday Sudeep 10:30 Chris 12:30 Wenyan; Lab Section E (1:30-4:30P)

Lab demo schedule

Subject to change. Special rules apply to due dates falling on green boxes:

Week of: Mon
(Sec A)
Tue
(Sec B)
Wed
(Sec C)
Thu
(Sec D)
Fri
(Sec E)
  Prelab Due
Friday
  Recitation
Discusses Labs
24-Aug-09 No Lab No Lab No Lab No Lab No Lab   None   1
31-Aug-09 Open Lab Open Lab Open Lab Open Lab Open Lab   1   1, 2
7-Sep-09 No Lab 1 1 1 1   2   2, 3
14-Sep-09 1 2 2 2 2   3   3, 4
21-Sep-09 2 3 3 3 3   4   4, 5
28-Sep-09 3 4 4 4 4   5   5, 6
5-Oct-09 4 Open Lab Open Lab 5 5   6   6, 7
12-Oct-09 5 5 5 No Lab No Lab   None   No Recitation
19-Oct-09 6 6 6 6 6   7   7, 8
26-Oct-09 7 7 7 7 7   8   8, 9
2-Nov-09 8 8 8 8 8   9   9, 10
9-Nov-09 9 9 9 9 9   10   10, 11
16-Nov-09 10 10 10 10 10   11   11
23-Nov-09 Open Lab No Lab No Lab No Lab No Lab   None   No Recitation
30-Nov-09 11 11 11 11 11   None   No Recitation
7-Dec-09 No Lab No Lab Lab 11
Writeups Due
No Lab No Lab   None   No Recitation