Microcomputers I (CE-320) : Spring 2012
News/Announcement
- 5/15/2012: Term project (5% extra credit). Due on Friday of 9th week.
- 5/02/2012: Midterm exam will be on Week 6 Wednesday, May 9.
- 5/02/2012: Quiz 3 is a take-home-exam. Due in class on Friday, May 4.
- 4/23/2012: Quiz 2 on Friday (April 27).
- 4/20/2012: Reduce schedule on April 20.
- 4/09/2012: Quiz 1 on Wednesday (April 11).
- 4/04/2012: Time to study Homework #1.
- 4/01/2012: Class starts!
Course description
This course covers the fundamentals of the very important field of microcomputers. Microcomputers are found in devices from microwave ovens to desktop computers. This class will cover topics of machine language, structured assembly programming, subroutines, interrupts, and basic C programming. An understanding of microcomputers is necessary to debug current systems, develop specifications for new chips, and use any already available microcomputer in our circuit designs. Although the concepts covered apply to an extremely large number of different microcomputers, we will primarily use the HCS12/9S12 as the focus for examples.
Contents
- Introduction to the HCS12 Microcontroller
- HCS12 Assembly Programming
- HW/SW Development Tools for HCS12
- Advanced Assembly Programming
-
Input and Output Devices
-
Input and Output (homework #6)
- Quiz 4
-
Input and Output (homework #6)
-
C Language Programming
- Introduction to C
- Functions and Program Structure
- C Programming in Embedded Systems
- Using Assembly Subroutines in C
- Interrupts, Clock Generation
Textbook
The HCS12/9S12: An Introduction to Software and Hardware Interfacing, Huang (2nd Edition)
ISBN-10: 1435427424 ISBN-13: 9781435427426
Instructor
Dr. Jaerock Kwon
Email: jkwon (at) kettering.edu
Office: 2-703 O
Phone: (810) 762-9500 ext. 5917
Hours
Class : MWF 10:15am-11:15am at AB 2-911
Office Hours: MW 11:15am-12:20pm or by appointment
Grading
All grades will be posted in Blackboard under the lecture class (including lab grades).
- 5 quizzes: 5% each = 25%
- Midterm exam: 20%
- Final exam: 25%
- Class participation: 5%
- Labs (CE-320L): 25%
- Term project: extra credit 5%
The Midterm grade will be calculated by Quiz 40% + Midterm 25% + Lab 35%.
Homework
Homework is fully the responsibility of the student. Homework sheets will become available on Blackboard as the material is covered in class. Each homework assignment is released as two files: one that just contains problems and the other with both problems and answers. It is strongly recommended that you attempt to complete the problems without looking at the answers first.
Quizzes
All quizzes are taken at the beginning of class. Each quiz is based primarily on the corresponding homework assignment and the related lectures and reading assignments, although the topics covered in the course typically require an understanding of the preceding material and a few questions from previous quizzes should be expected. These quizzes will be approximately 15 minutes and will be taken with no aids, (calculators, books, notes, crib sheets, etc.) unless explicitly stated.
Exams
There will be a midterm exam tentatively scheduled for the during of Week 6 and a final exam. The only aid allowed on the exams will be a copy of the S12 instruction set supplied by the instructor.
Responsibilities
The following describes what is expected of a student who wishes to do well in the course.
- Attend class regularly and inform the instructor in advance if you must miss a lecture.
- Spend a minimum of 2 to 2.5 hours per hour of lecture on course activities outside the classroom. These activities include reading the textbook, reviewing lecture notes, completing homework assignments, reviewing the course objectives, seeking help with the instructor, etc.
- Begin working on the homework shortly after it is released. This will enable you to better understand the following lectures and class discussions.
- Monitor your progress in the course through Blackboard.
- Ask the instructor if you have questions about anything (lecture material, homework questions, your performance in the course, etc.). It is your responsibility to seek help from the instructor when you do not yet feel you fully understand a topic.
The following is a list of responsibilities that you may expect from the instructor.
- Provide lectures that reach as broad a range of learning styles as is feasible within the constraints of the amount of material that must be covered and the time available for lectures.
- Be available outside of class for explanations and answers tailored to individual students.
- Make the student aware of the learning objectives and provide assignments that both teach basic use and application of the objectives.
Laboratory
There will be a separate syllabus for the lab portion distributed in lab.
Common Statement on Students with Documented Disabilities
The University will make reasonable accommodations for persons with documented disabilities. Students need to register with the Wellness Center every term they are enrolled in classes. To be assured of having services when they are needed, students should contact the Wellness Center during the first week of each term. Note that it is the student’s responsibility to arrange accommodations with each professor.
- http://www.kettering.edu/studentlife/docs/student_handbook.pdf (page 26)
- http://www.kettering.edu/registrar/docs/2011-12UndergraduateCatalog.pdf (page 46)
Common Statement on Ethics in the University and Academic Integrity
Kettering University values academic honesty and integrity. Cheating, collusion, misconduct, fabrication, and plagiarism are serious offenses. Each student has a responsibility to understand, accept, and comply with the University’s standards of academic conduct as set forth in our statement, “Ethics in the University,” and “Academic Integrity” as well as policies established by individual professors.
- http://www.kettering.edu/studentlife/docs/student_handbook.pdf (pages 40-42)
- http://www.kettering.edu/registrar/docs/2011-12UndergraduateCatalog.pdf (page 26)
Resources
- HCS12 Instruction Set
- Special Edition of the CodeWarrior for HCS12
- HCS12 CPU Reference guide
- HC12 Assembler (This can be used to study HCS12 assembly language as well)
- HC12 Hardware & Software Development Tools (This is for HC12 but still good reference for studying D-Bug12 commands)
- HCS12 Assembly Programming (Directives & Instructions)
- Addition and Subtraction of Hexadecimal Numbers
- CodeWarrior Assembler Tutorial
- Dragon12-Plus Trainer
- Essential C from Stanford CS
- C Crash Course from McGill University (C1.ppt, C2.ppt, C3.ppt)