Docsity

Single-Chip Microcomputer - Lecture Slides | ECE 447, Study notes of Electrical and Electronics Engineering

Toggle sidebar
bg1
1
ECE 447 - Single-Chip Microcomputers
Organization
Course designed by Professor Kenneth J. Hintz
Instructor: Kris Gaj
S&T II, Room 223
993-1575
Office hours: T, R 4:30-5:30 PM
Teaching assistants: Kevin Lilly (T,W), Ely Soto (R)
[email protected], elysoto@sovanto.com
Course web page:
http://ece.gmu.edu/courses/ECE447/ece447.htm
ECE website →
→→
→Courses →
→→
→Course web pages →
→→
→ECE 447
ECE 447 - Single-Chip Microcomputers
Prerequisites
1. Knowledge of computer programming in C or C++,
e.g., CS 112/211
2. Knowledge of digital system design and computer organization,
e.g., ECE 331/332/445
Useful but not required
Required
Programming in assembly language,
e.g., CS 265 Assembly Language Programming
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Single-Chip Microcomputer - Lecture Slides | ECE 447 and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

ECE 447 - Single-Chip Microcomputers

Organization Course designed by Professor Kenneth J. Hintz

Instructor: Kris Gaj S&T II, Room 223 [email protected] 993-

Office hours: T, R 4:30-5:30 PM

Teaching assistants: Kevin Lilly (T,W), Ely Soto (R) [email protected], [email protected] Course web page: http://ece.gmu.edu/courses/ECE447/ece447.htm ECE website →→→→ Courses →→→→ Course web pages →→→→ ECE 447

ECE 447 - Single-Chip Microcomputers

Prerequisites

  1. Knowledge of computer programming in C or C++, e.g ., CS 112/
  2. Knowledge of digital system design and computer organization, e.g ., ECE 331/332/

Useful but not required

Required

Programming in assembly language, e.g. , CS 265 Assembly Language Programming

ECE 331 ECE 332

ECE 280 ≥ C

ECE 445

≥ C

ECE 442 ECE 447

≥ C

≥ C

ECE 449

Digital Systems & Computers

PHYS 261 PHYS 262 or

ECE

Lecture Project

Laboratory

Homework

Assignments

Midterm exams

Demonstration

Final Report

Midterm reports

  1. Addressing Modes of 68HC11. Instruction Set of 68HC11.
  2. Control Instructions and Logic Instructions
  3. Arithmetic Operations of 68HC11.
  4. Assembler directives. Sections.
  5. Stack operations.
  6. Typical Assembly Language Program Bugs.
  7. Common Errors and Good Programming Style.

Design with Assembly Language

Outline of the course (2)

Literature Required Texts To be purchased

  1. P. Spasov, Microcontroller Technology , The 68HC11 , 4th Ed., NJ:Prentice Hall, 2002.
  2. B. W. Kernighan, and D. M. Ritchie, The C Programming Language , 2nd Ed., Englewood Cliffs, NJ:Prentice-Hall, 1988.

Free handouts

  1. MC68HC11E, Technical Data (provided by Motorola Ltd.).
  2. MC68HC11, Reference Manual (provided by Motorola Ltd.).
  3. MC68HC11, Reference Guide (provided by Motorola Ltd.).
  4. K. J. Hintz, “Merging C and assembly language in microcontroller applications,” Journal of Microcomputer Applications , vol. 15, 1992, pp. 267-278.

Literature Recommended Texts

Available on reserve in the Johnson Center

  1. K. J. Hintz and D. Tabak, Microcontrollers: Architecture, Implementation and Programming , New York:McGraw-Hill, 1992 (first 4 chapters).
  2. J. D. Greenfield, The 68HC11 Microcontroller , Saunders College Publishing, 1992.
  3. G. J. Lipovski, Single- and Multiple-Chip Microcomputer Interfacing , Englewood Cliffs, NJ:Prentice-Hall, 1988.
  4. T. Van Sickle, Programming Microcontrollers in C , Llh Technology Pub, 1994.

Free handouts Circuit Cellar INK: The Computer Applications Journal (Nov. 2001- Sep. 2003 issues).

Midterm exams

  • 1 hour 15 minutes each
  • 4 out of 5 short problems
  • practice exams will be made available on the web

I - 10th^ week of classes, hardware & programming in C II - 15th^ week of classes, hardware & programming in ASM

  • open books, open notes

Motorola Evaluation Board

Board from New Micros, Inc. ($71)

  • MC68HC11 Single-chip microcomputer
  • MC68HC24 Port Replacement Unit
  • 32 kbytes RAM
  • Serial I/O
  • Miscellaneous I/O

Additionally required

Power supply, single + 5V, 2.5 A 8 kbytes EPROM for Buffalo monitor

Serial cable from New Micros ($5)

Software design environment

  • CODE , the CO ntroller D evelopment E nvironment, from Introl Corporation ,
  • includes C cross-compiler, cross-assembler, simulator and debugger for the PC, running under Windows
  • installed in the FPGA lab, S&T II, room 203, and made available for individual use for free

Licence for non-commercial use ONLY!

Project development

1. Project Specification - initial version - Thursday, September 18 - revised version - Thursday, September 25 2. Initial Software and Hardware Design 3. Final Software and Hardware Design 4. Project Demonstration

  • Tuesday, Wednesday, Thursday, December 9- 5. Final Report
  • Friday, December 12, noon
  • Saturday, October 11
  • Saturday, November 8

Verifying work of other students

  • You will receive a copy of work of another randomly chosen student
  • You will verify final software/hardware design of another student and report your findings to the instructor
  • The results of your verification will be graded by the instructor (with up to 5 bonus points for a thorough verification) and passed to the author of the report
  • Errors found by your colleague will not affect your grade
  1. Setup of the board Adding power supply. Programming EPROM. Initializing the board. Communicating with the board using hyperterminal. Loading a simple program to the board. Directives of Buffalo monitor.

Introductory laboratory lectures (2)

  1. Motorola Evaluation Board Understanding schematic of the board. Specification of major components.
  2. Searching for peripheral components

Major websites. Searching techniques. Understanding component specification.

Introductory laboratory lectures (3)

October 22, 23

November 11-                              

November

Why is this a challenging course?

  • breadth of knowledge
    • software (C, assembly language / stack, interrupts, polling)
    • hardware (microcomputer, peripheral devices / address decoding, parallel input/output, serial communication)
    • interfacing software with hardware
  • practical skills
    • choosing/buying components
    • understanding component specification
    • mounting components on the board (wirewrapping, soldering)
    • debugging software and hardware
  • financial responsibility
  • time pressure
  • individual projects