Announcements:
make clean
in your lab3 directory modify the Makefile inside the lab3 directory as follows:
clean:
mv duart.o duart
rm -f *.o
rm -f *.s19
rm -f *.map
rm -f .depend
rm -f *~
mv duart duart.o
Oct 31, 2003
DuartTx: LINK A6,#0 /* create stack frame */
MOVEM.L A0-A6/D0-D7,-(SP) /* save CPU regs */
MOVE.L 8(A6),D0 /* read channel parameter */
MOVE.L 12(A6),D1 /* read TxByte parameter */
/* remaining code */
MOVEM.L (SP)+,A0-A6/D0-D7 /* restore CPU regs */
UNLK A6 /* remove stack frame */
RTS
Instructor: Dr. Bruce F. Cockburn; Office: ECERF W2-044; E-mail: cockburn@ece.ualberta.ca
Lab Technicians:
Teaching Assistants:
Lecture and Laboratory Sections:
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.
Required Textbook:
Thomas L. Harman,
The Motorola MC68332 Microcontroller: Program Design, Assembly
Language Programming, and Interfacing,
(Prentice Hall, 1991, ISBN 0-13-603127-7).
Note: This is the same book that is required in EE 380.
Evaluation Scheme:
Official Course Outline:
Detailed Topic Sequence: (Order and topics subject to change)
Assignments:
Laboratory Exercises:
| Lab Date(s) | Report Due Date | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Topic | Lab D1 | Lab D2 | Lab D3 | Lab D4 | Lab D1 | Lab D2 | Lab D3 | Lab D4 | |
| Lab #1 | Introduction to MicroC/OS-II Running on a 68332-based Microcomputer (reports marked by Mike Yin) | Sept. 16 | Sept. 23 | Sept. 18 | Sept. 25 | Sept. 24 | Oct. 1 | Sept. 26 | Oct. 3 |
| Lab #2 | Serial Interfacing Using the 68681 DUART (reports marked by Kamlesh Raiter) | Sept. 30 Oct. 14 |
Oct. 7 Oct. 21 |
Oct. 2 Oct. 16 |
Oct. 9 Oct. 23 |
Oct. 22 | Oct. 29 | Oct. 24 | Oct. 31 |
| Lab #3 | Interfacing Over SLIP to a TCP/IP Stack in an Embedded System (reports marked by Amir Alimohamed) | Oct. 28 | Nov. 4 | Oct. 30 | Nov. 6 | Nov. 12 | Nov. 19 | Nov. 14 | Nov. 21 |
| Lab #4 | Stepper Motor Control Using the Motorola Time Processing Unit (TPU) (reports marked by Hui Li) | Nov. 14* | Nov. 18 | Nov. 13 | Nov. 20 | Nov. 27* | Dec. 1 | Nov. 26 | Dec. 3 |
* Due to the Remembrance day (November 11) University closure, students in lab section D4 can choose to attend another lab section subject to space limitations. However, they are encouraged to attend a rescheduled lab section D1 on Friday, November 14 if at all possible. The report deadline for students in lab section D1 will be 13 days after they have had their lab session. This is the same rule used to determine the report due date for the other three lab sections.
Laboratory Documentation:
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.
Useful WWW Links:
Last modified December 23, 2003