18-348 Embedded System Engineering

Fall 2007
Carnegie Mellon University, ECE Department

Prof. Philip Koopman

Lectures: Mon & Wed 12:30-2:20 PM, Porter Hall A18C
Labs: depends on section: Tues OR Wed OR Thu 6:30-9:20PM, HH 1204
Recitations: Fri 12:30-1:20, Porter Hall A18C

FAQ -- see this FAQ before asking questions about the course; thanks!

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.

Hand in times for assignments are (unless otherwise stated):

Meeting Date Scheduled Lecture Reading
Valvano text unless otherwise noted
.pdf links are CMU-only access
Lab work
Mon. 27-Aug-07 1. Course Intro & Background sections: 1.2, 1.5 E-mail lab partner requests to course staff today by 9 PM
Wed. 29-Aug-07 2. Embedded Hardware 1.1, 1.4, 1.8 Pre-Lab #1 hand-in due on Friday Aug 31st!
Mon. 3-Sep-07 NO CLASS - Labor Day Holiday   Lab #1 demos this week
Wed. 5-Sep-07 3. Microcontroller Instruction Set - Part 1 1.6, 2.1-2.2.8, 2.2.10  
Mon. 10-Sep-07 4. Microcontroller Instruction Set - Part 2 2.2.9, 2.2.11, 2.2.12, 2.5.1, 2.5.2, 2.5.4 Lab #2; Lab #3
Wed. 12-Sep-07 5. Engineering Process & Design Techniques 1.3, 2.3, 2.4.5, 2.5.3, 2.6, Gannsle98a  
Mon. 17-Sep-07 6. Embedded Language Use
Guest: Michael Abowd, General Motors at 2 PM
2.5.1, 2.5.2, Jones98 Lab #4; Lab #5
Wed. 19-Sep-07 7. Coding Hacks; Multiprecision Math; Reviews Crenshaw97, Gannsle98b  
Mon. 24-Sep-07 8. Memory and Memory Bus 1.9, 9.1-9.2.2, 9.3-9.4.1, 9.6.2, 9.8, Barr01, Freescale04 Lab #6; Lab #7
Wed. 26-Sep-07 9. Economics and Code Optimization 2.1, Kraeling96  
Mon. 1-Oct-07 10. Serial Ports 3.1, 3.4, 7.1, 7.2, 7.5.1-7.5.2, 7.6.3; (wikipedia) Lab #8, Lab #9
Wed. 3-Oct-07 11. Debug & Test 2.11, Schneider04, Knoke08  
Mon. 8-Oct-07 Critical Systems Discussion; Review for Test NONE Lab #10
Wed. 10-Oct-07 Mid-Term Exam NONE  
Mon. 15-Oct-07 12. Time and Counters
Guest: Chris Rigatti, Lutron at 2 PM
2.4.2-2.4.4, 6.1.4-6.1.5.1; Murphy01 Lab #11
Wed. 17-Oct-07 Recitation and quiz
takes place of 19-Oct-07 Recitation.
None Note: All Friday 19-Oct deadlines moved to Monday 22-Oct due to break (including bonus pre-lab deadline)
Mon. 22-Oct-07 13. Interrupts 4.1, 4.4, Massey01, Ganssle94 Lab #12
Wed. 24-Oct-07 14. Interrupt & Cyclic Task Response Timing Ball02; Interrupt latency hand-out  
Mon. 29-Oct-07 15. Preemptive Context Switching 4.15, 5.1, Labross03, Kalinsky01 Lab #13
Wed. 31-Oct-07 16. Concurrency 2.9, 4.2, 4.3, 5.2, 5.3,Ganssle01  
Mon. 5-Nov-07 17. Scheduling 3.5.2, 5.4, Stewart01, Stewart02 Lab #14
Wed. 7-Nov-07 18. Special Interrupts; Robust Systems; Therac 25 4.5-4.7, Gollakota06  
Mon. 12-Nov-07 19. Analog Outputs 11.4, 6.2.3-6.2.4, 6.7, Barr01 Lab #16
Wed. 14-Nov-07 20. Analog Inputs 3.5.4, 11.5. 11.10.2, 12.3.2, Maxim05, Maxim05a, Wagner02  
Mon. 19-Nov-07 21. Other I/O 8.1-8.3, 8.6 Lab #18 pre-labs
Wed. 21-Nov-07 NO CLASS; No recitation this week -- Thanksgiving Holiday Break    
Mon. 26-Nov-07 No Class; this is a good day to work on lab 20! Start working on Lab #20! Lab #18 demos this week
Wed. 28-Nov-07 22. Control 13.1-13.4, Barr02  
Mon. 3-Dec-07 No class Recommended: Gannsle06 Lab #20
Wed. 5-Dec-07 Second Exam NONE  
Fri. 7-Dec-07 Selected lab #20 Demos during recitation   Lab #20 writeups due
Notes: