Introduction To Microcomputer Systems: Outline
Introduction To Microcomputer Systems: Outline
Introduction To Microcomputer Systems: Outline
Outline
What is a Microcomputer? Types of Microcomputers Modular Microcomputer Clock and CPU Control Circuits Address Decoder Address and Data Bus Buffers Buffer Control Bus Arbitration Control Memory Management Memory Module Peripherals Module
Goal
Understand components of modular microcomputer
Reading
Microprocessor Systems Design, Clements, Ch. 1
Hardware/software combinations
the essence of computer engineering
Course Organization
Lectures
fundamentals of microcomputer systems details of Motorola ColdFire single-board computer used in labs
Labs
learn ColdFire hardware learn how to program the board in C and assembler learn how to control ColdFire resources learn how to add and interface hardware peripherals learn how to implement applications
References
Microprocessor Systems Design, 68000 Hardware, Software, and Interfacing, Third Edition, Alan Clements, PWS-KENT, 1997.
text, in bookstore
Web Site
lecture notes lab manual
Grading
Topics
Microcomputer systems 68k programmer model 68k signal description 68k memory hierarchy 68k instruction set - briefly 68k C and assembly code programming Static RAM Memory read and write cycles Address decoding Exceptions - interrupts, exceptions
Topics
I/O fundamentals Parallel I/O & Timers Serial I/O Microcomputer buses Dynamic RAM - organization and timing Microcomputer systems design
Assignment
Assignment (cont.)
Everyone
What is a Microcomputer?
Microcomputer (uC) = microprocessor-based computer Microprocessor (uP) = single-chip or chipset CPU Chipset - few closely-interacting chips
68020 - integer+control, MMU, floating point VAX 8200 - integer+control+MMU, microcode, floating point
Types of Microcomputers
Single board computer (SBC)
usually an embedded computer - buried inside a product
Features
dedicated to a single fixed task minimum hardware to support the task minimize cost, power, weight, size
Examples
PostScript printer, ATM, microwave oven, cell phone
Microcontroller
board shrunk to single chip - most common uC CPU, memory, I/O Examples: ARM, 68HC11, 8051
Types of Microcomputers
Modular microcomputer
modules connected by a bus usually a general-purpose computer
Features
used for wide range of applications flexible hardware to support application range can mix and match modules as needed example - add more memory modules
Examples
personal computer, factory controller
Modular Microcomputer
System = modules linked by system bus
system bus - data transfer between modules local bus - data transfer within module
Advantages
standard modules assembled to form computer large number of module types available can easily customize computer to application needs
Figure 1.1
System Bus
Buffers
Buffers
Parallel I/O Serial I/O Timer Disk Cntlr USB Firewire ...
CPU Module
Memory Module
Peripherals Module
Power-on reset
force CPU to initialize and execute start-up routine bootstrap code initiated when power first turned on can also initiate manually - the reset button
Address Decoder
Divide up address space
allocate to individual memory units
Interface between uP and local and system buses Need buffer control to coordinate drivers
Buffer Control
Determines operating mode of bus drivers and receivers
only turn on drivers when they need to send data e.g. disable system bus drivers during local memory access
Multi-master system
multiple devices can access bus DMA (direct memory access) controller moves data between memory and peripheral autonomous of CPU multiprocessor - multiple uPs
Memory Management
Translate uP logical address to memory physical address
logical address - any address in uP architecture address space issued by program physical address - actual memory location
Virtual memory
make small physical memory look like large logical memory store part of data on disk system vs. user protection domains
Location independence
programmers use logical address operating system figures out what physical address to use
Memory Module
Types of memory
read/write random access memory (RAM) read-only memory (ROM) programmed when manufactured use for bootstrap programs, fixed code example: PostScript interpreter EPROM, EEPROM, flash program once, or once in a while use for program storage, preferences
Interface
bus interface - buffers, buffer control address decoders refresh logic
Peripheral Module
Interfaces to outside world Serial input/output (I/O)
terminal line
Parallel I/O
printer cable
Timer
measure time generate series of pulses - e.g. interrupt uP at fixed interval used for real-time systems
Disk controller
disk operations data format conversion
Network interface
Ethernet, IEEE 488 bus, etc.
MVME 162
MVME 167
Microcontroller
ColdFire MCF5206e