CMPE 401 - Computer Interfacing
Fall 2008
Department of Electrical and Computer Engineering
University of Alberta
Announcements:
- The final unofficial grades have been posted to the course's CCnet site. The average on the final exam was 63.9%. The course Grade Point Average was 3.16. If you find any errors please report them to the course instructor. January 4, 2009
- All of the grades, except the final exam grades, have now been entered into CCnet.
Please log in and check your grades. If you find any problems with the lab grades please e-mail Nancy; for all other grades
please e-mail the instructor. December 11, 2008
- Nancy has entered all lab grades into CCNet. Lab #5 has been graded and is available for pickup from Nancy's office in ETLC 3-012. Door access terminates today for both TAs and students. December 10, 2008
- All of you should have received an activation code from CCNet for CMPE401. Lab marks will be posted for verification ASAP. This is simply to verify the grades on record. Verification is optional but recommended. Report any discrepancies to Nancy. December 8, 2008
- During the final examination you will be permitted to freely consult one hardcopy
of the lecture overheads. Note that the final section on the USB bus was not covered
in the lectures, and thus will not be covered by any questions in the exam.
Model solutions cannot be consulted during the exam.
Electronic calculators (all kinds) can be used. December 8, 2008
- The final examination will be held in the Main Gym,
in the Van Vliet Centre, on Wednesday, December 10, starting at 9am. The exam
will last 2 hours. Please arrive early so that you will have enough time to enter
the hall, find a seat in Row 21, and get settled before the exam begins at 9am sharp. December 8, 2008
- Spare copies of the lecture handouts have been left in the lab room. December 3, 2008
- Once you have completed your demo you can return your dissassembled kit. Nancy will be in the lab this week from 1- 5 P.M. on Monday, Tuesday and Wednesday. Alternatively, you can setup a time via email. Nancy will also be in the lab from 2 -3 P.M. on Thursday and Friday to accept kits. The important parts are listed on the lab checkout sheet that all of you signed back in September. If the part is not listed on the sheet you can return it if you wish. December 1st, 2008
- Nancy's Lab #5 test suite has been posted. These cases are the minimum required to get full marks on the demo. Nancy will also verify source when testing student code. Part marks will be available as always. November 25th, 2008
- Lab #5 Help has been posted. I have placed new code in CVS. The files student.cpp/.h and index.htm have been inserted into the lab 5 project. Please read the notes in the Lab #5 Help pdf to understand some of the other changes to the lab. Exercise 3 has been changed to clear up some of the confusion that I was seeing last week. I will be in the lab for the rest of the afternoon recompiling libraries on the lab machines. I should be able to complete those changes by the end of the day. Novemember 24th, 2008
- Lab #5 has been posted. Note that the only part of the prelab that will be marked is the circuit contruction posted below. November 18, 2008
- Lab #5 begins next week. The schematic for lab #5 has been posted. Wire up the schematic to complete the prelab for lab #5. The prelab will be checked by Nancy at the start of the lab period. Pay special attention to the L298 pin orientation. Consult the datasheet for the L298 to determine which way the pins are oriented. The "top view" refers to the metal tab being to the left and the black plastic packaging with the notches facing up. November 14, 2008
- Model solutions for the midterm examination are available here. November 5, 2008
- Lab #4 has been posted. November 4, 2008
- Lab #4 starts next week. There is no formal prelab for lab #4. We'll be looking at web services and forms in lab #4. You may wish to read chapter 9 of the Netburner Programming Reference Manual to get more acquainted with the dynamic code and form features of the built-in HTTP server. October 31, 2008
- The lecture on Wednesday, October 29, has been cancelled. The lecture on Friday, October 31, will be held according to the regular schedule. October 26, 2008
- Reminder: Model solutions from the assignments and midterm exams of previous
years continue to be available on the instructor's website. October 26, 2008
- The Assignment #3 handout and the model solutions for Assignment #2
have been posted below. October 25, 2008
- Lab #3 has been posted. October 21, 2008
- Lab #3 starts next week. There is no formal prelab for lab #3. Expect your CVS account creation stuff to arrive on Monday in the email accounts that you sent your CVS keys from. Lab #3 will focus on the Fast Ethernet Controller (FEC) and network traffic over the FEC. The FEC is described in chapter 19 of the MCF5234 Reference Manual. October 18, 2008
- The midterm examination will be held in the classroom during the 50-minute lecture period on
Monday, October 27. Please arrive promptly several minutes before 10am as the examination will
start at 10am sharp. You will be permitted to bring and consult your hardcopies of the lecture notes
during the exam. The model solutions for this term's first two assignments can also be
consulted. The scope of the midterm is lecture sections 1 to 7 inclusive. October 17, 2008
- Assignment #2 has been posted. October 14, 2008
- UPDATE: Our particular processor (MCF 5234) has two interrupt controllers that are called INTC0 and INTC1. For lab #2 we'll be using INTC0 only. I may have given out incorrect information on that in the Wednesday lab section. The vector number passed to SetIntC is calculated based on the interrupt controller number and the interrupt source number from the
Coldfire Reference Manual. October 18, 2008
- The lab #2 handout has been posted. October 6, 2008
- My apologies for the delay. Wire up the keypad schematic for lab #2 to complete the prelab for lab #2. I will post the actual lab handout as soon as possible. October 3, 2008
- Assignment #1 has been posted. September 26
- The lab #1 handout has been modified slightly. Make sure to reload the page to get the updated handout. September 23, 2008
- Remember to pick up your lab kit in the lab (ETLC 5-002) from Nancy. She'll be there on both Monday, Sept. 15th and Tuesday, Sept. 16th between 2 and 3 to hand them out. If you can't come at either of those times, send Nancy an email to arrange an alternate time. Lab #1 has a prelab so make sure to complete it before your lab sections begin next week. September 15, 2008
- Netburner videos demonstrating how to use the various NetBurner tools are available to help you with the lab portion of the course. September 4, 2008
- If you have forgotten your ECEID or password please go to W2-070 in ECERF and talk to one of our IT support guys to reset it. Bring your OneCard with you for verification. September 2, 2008
Note that the following email addresses are in the ece.ualberta.ca domain.
Instructor:
Dr. Bruce Cockburn;
Office: W2-044
E-mail: cockburn
Website: cockburn
Office Hours: Fridays from 2 P.M. - 4 P.M.
Lab Instructor:
Nancy Minderman;
Office: ETLC E3-012;
E-mail: nem
Consultation hours will be in the lab and will be 1 P.M - 2 P.M. on Tuesday, Wednesday, and Thursday.
Electrical Stores Technician:
Rick McGregor;
Office: ETLC E3-012;
E-mail: rmcgreg
Office Hours: 8 A.M. - Noon and 1 P.M. to 4 P.M.
Lab TAs
Note that Ahmed's and Cindy's email addresses are in the ualberta domain
Ahmed Elsafi
E-mail: aelsafi
Cindy Wong
E-mail: cmw3
Lecture and Laboratory Sections:
Lec A1: Reg. No. 51284; Mondays, Wednesdays and Fridays 10:00 to 10:50 in ETLE2 002
Lab D1: Reg. No. 51285; Tuesdays 14:00 to 16:50 in ETLE5 002
Lab D2: Reg. No. 57936; Wednesdays 14:00 to 16:50 in ETLE5 002
Lab D3: Reg. No. 53299; Thursdays 14:00 to 16:50 in ETLE5 002
Note: registering in one of the three laboratory sections will cause
automatic registration in the one lecture section.
Calendar Course Description:
(either term, 3-0-3/2).
The design and use of digital interfaces, including memory, serial,
parallel, synchronous and asynchronous interfaces.
Hardware implementations of interrupts, buses, input/output devices.
Prerequisite: EE 380 or CMPUT 229.
Evaluation Scheme:
Midterm examination: 20% (Date: Monday, October 27, 2008. 50 minutes in the classroom starting
promptly at 10:00 am)
Final examination: 50% (Date and Location: TBD)
Assignments: 10%
Laboratory Exercises: 20%
Note: Students will work in teams of two in the laboratory.
Official Course Outline:
click here
The order and relative emphasis of the topics may vary in the actual course.
Assignments:
Assignment #1
Assignment #1 Solutions
Assignment #2
Assignment #2 Solutions
Assignment #3
Assignment #3 Solutions
Assignment #4
Assignment #4 Solutions
Assignment #5
Assignment #5 Solutions
Laboratory Exercises:
|
|
Lab Date(s) |
Demo Due Date |
Report Due Date |
|
Topic |
Lab D1 |
Lab D2 |
Lab D3 |
Lab D1 |
Lab D2 |
Lab D3 |
Lab D1 |
Lab D2 |
Lab D3 |
| Tutorial |
Tutorial
|
Sept. 9 |
Sept. 10 |
Sept. 11 |
N/A |
N/A |
N/A |
N/A |
N/A |
N/A |
| Lab #1 |
Lab 1
|
Sept. 23 |
Sept. 24 |
Sept. 25 |
Oct. 7 |
Oct. 8 |
Oct. 9 |
Oct. 8 |
Oct. 9 |
Oct. 10 |
| Lab #2 |
Lab 2
|
Oct. 7 |
Oct. 8 |
Oct. 9 |
Oct. 21 |
Oct. 22 |
Oct. 23 |
Oct. 22 |
Oct. 23 |
Oct. 24 |
| Lab #3 |
Lab 3
|
Oct. 21 |
Oct. 22 |
Oct. 23 |
Nov. 4 |
Nov. 5 |
Nov. 6 |
Nov. 5 |
Nov. 6 |
Nov. 7 |
| Lab #4 |
Lab 4
|
Nov. 4 |
Nov. 5 |
Nov. 6 |
Nov. 18 |
Nov. 19 |
Nov. 20 |
Nov. 19 |
Nov. 20 |
Nov. 21 |
| Lab #5 |
Lab 5
|
Nov. 18 |
Nov. 19 |
Nov. 20 |
Dec. 1^ |
Dec. 2^ |
Dec. 3^ |
Dec. 1^ |
Dec. 2^ |
Dec. 3^ |
Notes on the Schedule:
^ Demo due dates and lab report dates coincide for lab #5 only and are the result of University regulations that specify that all term work must be completed by the last day of classes.
Laboratory Documentation:
There are literally thousands of pages of documentation on the microprocessor, integrated development environment (IDE), real-time operating system (RTOS) and the various components that will be used in the lab portion of the course. A complete list is given in the
laboratory documentation summary page.
Code of Student Behaviour:
It is the student's responsibility to be familiar with, and to adhere to,
the terms of the University of Alberta's
Code of
Student Behaviour.
Included in the Code are descriptions of unacceptable behaviour for
students attending the University, the sanctions for the commission of academic
offences, and explanations of the complete discipline and appeal
procedures.
In particular, please note the definitions
of plagiarism in section 30.3.2(1),
of cheating in section 30.3.2(2),
of misrepresentation of facts in section 30.3.6(4),
and of participation in an offence in section 30.3.6(5).
For example, cheating includes the submitting of the words, ideas,
images, or data (including computer programs) of another person as
the student's own in any academic writing, essay, thesis, research
project or assignment in a course or program of study.
Penalties for academic offences range from a written
reprimand up to expulsion from the University.
Supplementary Reference Materials:
Please do not feel obligated to buy copies of any of these books.
They are not required for the course, but you might find some of
these titles useful to supplement the lecture and laboratory material.
Limited numbers of the book on MicroC/OS-II by Jean Labrosse are available
in the University bookstore.
This book would be a useful reference for the laboratory exercises,
and might be useful later on for project courses.
-
Don Anderson and Dave Dzatko,
Universal Serial Bus System Architecture, 2nd ed.,
(Addison Wesley, 2001), ISBN 0-201-30975-0.
-
Behrouz A. Forouzan,
TCP/IP Protocol Suite,
(McGraw-Hill, 2003), ISBN 0-07-119962-4.
-
Jean J. Labrosse, MicroC/OS-II - The Real-Time Kernel,
2nd ed., (CMP Books, 2002), ISBN 1-57820-103-9.
A copy of this book has been placed on reserve in Cameron library. Note that this book describes a slightly different version of uCOS than the one we'll be using in the lab. Much of the content is the similar, however.
Useful WWW Links:
Last modified January 4, 2009