Professional Documents
Culture Documents
Microprocessor
Systems
Russell P. Kraft
JEC 6028
kraftr2@rpi.edu
Tel: 276-2765
Fax: 276-6261
1
Teaching Assistant(s)
Alexey Gutin gutina2@rpi.edu
Zhenhua Huang huangz4@rpi.edu
2
Catalog Description
Hardware and software for real-time microprocessor based
digital systems. Basic concepts and operations of on-chip
components related to digital system functionality.
Architectures, instructions sets, and interfacing with
peripherals through serial or parallel ports. Introduction to
16- and 32-bit machines with in-depth treatment of 8-bit
machines. Emphasis on C language cross-compilers.
Laboratory exercises are included to demonstrate hardware
and software development techniques practiced in industry.
Weekly laboratory exercises in programming
microprocessors and a final exercise design enhancement
are required.
3
Course Goal
Goal
Toprovide fourth year ECSE students with a hands-
on laboratory experience with more advanced
features of state-of-the-art microprocessor systems
Means
Exploratorylaboratory exercises for the
microcontroller (fixed procedures plus small student
enhancements)
An extended design enhancement is part of the final
exercise
4
Course Project Objective
Objective
A culminating experience applying much
mathematics, science, and engineering from
previous terms
Provide an environment where students develop
skills necessary to complete the projects without
structured instruction
Required Component
Analysisand Reports documenting exercises &
enhancements
Must be completed by due dates
5
Course Prerequisites
Prerequisites by topic
Fundamentals of logic design
Fundamentals of circuit design
Computer programming
Computer instruction sets
Microcontroller operations
Peripheral operations and control of external
hardware
6
References
Books
Many references are available, but none are
required for the class
Gene H. Miller, Microcomputer Engineering, Second
Edition, Prentice Hall, Englewood Cliffs, NJ 1998.
(First Edition is fine.)
Alan Clements, Microprocessor Systems Design,
PWS Publishing Company, Boston, MA, 1992.
(Covers the 68000 family)
Online (www.ecse.rpi.edu/Courses/CStudio)
Most important reference (free download)
C8051F120 Technical Summary (Rev. 1.4)
7
MPS is a WebCT Course
http://rpilms.rpi.edu/
Log in
Pick ‘ECSE_4790_XXXX - Microprocessor Systems
[…]’
9
Microcontrollers Available
C8051F120 — 8 bit machine introduced about 2002
C8051F040 — 8 bit machine introduced about 2000
MC6811 — 8 bit machine introduced about 1985
MC6812 — 16 bit machine introduced late 1997
MC68332 — 32 bit machine introduced about 1990
10
Software Available
Cross-assembler — SDCC & Motorola
C language cross-compiler — SDCC & Introl
Microprocessor simulator — Motorola
11
Typical Topics
Introduction to the C8051F120 microcontroller
(information available on the MC6811, MC6812 & MC68332
microcontrollers if desired)
Software development techniques
Hardware development techniques
ANSI Terminal features and simple graphics
Timers & Interrupt programming
Synchronous & Asynchronous serial communication
Interfacing memory to the microprocessor bus
Analog conversion
Controller Area Network control
12
Grade Computation
Grades are assigned based on both team
and individual effort
Teams of 2 (due dates subject change, check WebCT
calendar)
80% 6 C8051 exercises
20% Post-project and general course clean up, final
design enhancement, TA evaluation of lab
preparation, performance & participation
13
What This Means to You
You get a chance to learn what you need to know
to select and apply microcontrollers to applications
of your own choosing
Specific tools you will be using
IDE (Integrated Development Environment)
C cross-compilers
Debuggers
Simulators
Logic Analyzers
14
Next Steps
Reprise the C8051F020 knowledge
Do things that you formerly did in Embedded Control
Host input/output
Interrupts
Hardware interfacing
etc.
15
Class Requirements
Writing Center
MPS requires written reports for each lab
exercise. You are expected to write well-
organized reports and will be graded on style as
well as content.
Use the Writing Center resources to improve
your reports
All software MUST be well documented in the
program listing
16
Lab Policies
Lab experiment work (other than project) must be done in
teams of only two students
Attendance will be taken and will count toward your
performance grade
Unfair to partner when you don’t show up
Students with missing partners may team up for experiments
Academic Integrity: collaboration is encouraged but
outright copying of other’s work is unacceptable
To get the highest grade on a lab exercise, something
unique beyond the required tasks must be accomplished
and demonstrated as an add-on to each exercise
[Final design enhancement may be done in teams of 4
students, if the group desires to tackle a more ambitious
effort]
17
Lab Policies (cont.)
Lab reports are due by the posted due date. A penalty of 5
points per day late will be assessed.
New labs build on the results of previous labs. Once a
program works for a given exercise, save it and archive it.
Use a copy to begin a new exercise. When things stop
working you will be able to go back to a known good
program and determine if the problem is in the hardware or
software.
Creating a new project file (.wsp) for each program is highly
recommended. This keeps track of all .c and .h files used in
a build.
Make sure you explain and demonstrate any enhancements
to the TA during check-off.
18
Important Dates
Since this is the third semester with the new format, the experiment
schedule will be fairly rigid
There will be a schedule posted on the web for when exercises should be
Note: dates may be subject to change; check the course WebCT calendar for the latest
information.
19
The End
(Let’s have some fun!)
20
Grade Computation
Grades are assigned based on both team
and individual effort
Teams of 2 (dates subject change, check WebCT calendar)
70% 6(?) C8051 exercises
Teams of 2 or 4
20% Student selected course project
• 5% Final demonstration
• 15% Final project report
Due Friday, Dec. 11, at 4:00 PM
10% Post-project and general course clean up, TA
evaluation of lab performance & participation
(13) 21
Important Dates
Since this is the third semester with the new format, the experiment
schedule will be fairly rigid
There will be a schedule posted on the web for when exercises should be
4:00 PM
Note: dates are subject to change; check the course WebCT calendar for the latest information.
(19) 22
Special Projects - 2003
Part of a MDL (Multidisciplinary Design Lab)
Project
Automobile Enhancements & Others
Using eye tracking & computer vision
Various Sponsors
Project to continue as Independent Senior Design
Project through next semester
More details will follow in later weeks
23