314
314
314
243-133, 243-143
COURSE CO-REQUISITES
No Co-Requisites required
COURSE DESCRIPTION
This course will familiarize the student with the internal workings of a microprocessor, how to modify its
code, and debug an Embedded C language program.
1
Lecture/lab-stage/homework hours per week
COURSE OUTLINE
Digital Systems
2
Statement of Competence:
To program a microprocessor/Microcontroller-based system.
Methodology
Individual work
Starting from directions.
Using debugging tools
The course will cover Embedded C language programming using the AVR MCU instruction set
as well as the application software development tools such as the CodeVisionAVR C compiler
and IDE which will be conducted on the IBM PC compatible computers.
Course Contents
Embedded C Language Tutorial
Beginning concepts
Variables and constants
I/O operations
Operators and expressions
Control statements
Functions
Pointers and arrays
Structures and unions
Memory types
Real-Time methods
3
The CodeVisionAVR C Compiler and IDE
IDE operation
C compiler options
Compile and make projects
Program the target device
Codewizardavr Code Generator
Terminal Tool
The ATMEL AVR Studio Debugger
Attendance
Regular attendance in course activities is essential for active participation in student learning.
Students have an obligation to attend course activities and to arrive on time. Students who miss
classes on a regular basis are not considered to be participating actively and thus decrease the
possibility of academic success.
Professor Availability
The professor’s teaching schedule will be posted outside Rm. 209C. When a student requires
additional assistance, the student should approach the professor informally at the end of a class or
during a lab that the professor is attending, or between these scheduled times in his office or in
the electronics classroom area. If more time is required for assistance, a time and place to meet
will be arranged for the student.
1. Richard Barnett, Larry O’Cull, Sarah Cox, (2003), Embedded C Programming and the Atmel
AVR, Thomson-Delmar Learning, ISBN: 1401812066
2. Atmel AVR data sheets.
Bibliography
Evaluation
Academic Integrity: In accordance with Heritage College’s Policy #33, Article 3, “Heritage
College believes that the academic value of the diplomas and attestations it grants rests upon the
honesty of the learning relationship that exists between students and teachers. An act of academic
dishonesty (such as cheating, plagiarism, or the fabrication of records) undermining the integrity
of this relationship shall be considered a grievous offence.” (please refer to articles 3.1 and 3.2 for
offences and sanctions)
4
Participation 15%
Assignments 10%
Tests 20%
Labs 25%
Final Exam 30%
• A mid-term grade will be provided in this course and serves as a progress report.
• A passing grade in this course is 60%.