Introduction to Embedded Microcomputer Systems: Motorola 6811 and 6812 Simulation,
Jonathan W. Valvano, Brooks-Cole Publishers, ISBN 0-534-39177-x
1. INTRODUCTION TO EMBEDDED MICROCOMPUTER SYSTEMS
OVERVIEW
ATTITUDE
BASIC COMPONENTS OF AN EMBEDDED SYSTEM
FLOWCHARTS AND STRUCTURED PROGRAMMING
PRODUCT DEVELOPMENT CYCLE
QUALITY PROGRAMMING
TUTORIAL 1. GETTING STARTED.
HOMEWORK ASSIGNMENTS
2. INFORMATION.
HEXADECIMAL REPRESENTATION
BOOLEAN INFORMATION
8-BIT NUMBERS
EXTENDED PRECISION NUMBERS
PROGRAMMING NUMBERS IN ASSEMBLY LANGUAGE
LOGICAL OPERATIONS
SHIFT OPERATIONS
ARITHMETIC OPERATIONS
CONVERSIONS
FIXED-POINT NUMBERS
*FLOATING-POINT NUMBERS
TUTORIAL 2. ARITHMETIC AND LOGICAL OPERATIONS
HOMEWORK ASSIGNMENTS
3. MICROCOMPUTER ARCHITECTURE
INTRODUCTION
COMMON ARCHITECTURE OF THE 6811 AND 6812
INTRODUCTION TO PROGRAMMING
6811 ARCHITECTURE
6812 ARCHITECTURE
MEMORY ALLOCATION
TUTORIAL 3. BUILDING A MICROCOMPUTER AND EXECUTING MACHINE
CODE
HOMEWORK ASSIGNMENTS
LABORATORY ASSIGNMENTS
4. ASSEMBLY LANGUAGE PROGRAMMING
INTRODUCTION
TEXAS HELP SYSTEM
TEXAS EDITOR
ASSEMBLY LANGUAGE SYNTAX
S-19 OBJECT CODE
TUTORIAL 4. EDITING AND ASSEMBLING
HOMEWORK ASSIGNMENTS
LABORATORY ASSIGNMENTS
5. I/O PROGRAMMING
BASIC CONCEPT OF AN I/O PORT ADDRESS AND DIRECTION REGISTER
PARALLEL PORT I/O PROGRAMMING
SERIAL COMMUNICATIONS INTERFACE, SCI
SYNCHRONOUS PERIPHERAL INTERFACE, SPI
ADC CONVERTERS
16-BIT TIMER
PULSE ACCUMULATOR
TUTORIAL 5. I/O PROGRAMMING
HOMEWORK PROBLEMS
LABORATORY ASSIGNMENTS
6. MICROCOMPUTER INTERFACING
INTRODUCTION
SWITCH INTERFACING
LED INTERFACING
SERIAL PORT INTERFACING
LCD INTERFACING
ANALOG INTERFACING
SCANNED KEY PAD INTERFACING
DC MOTOR INTERFACING
INFRARED REMOTE INTERFACING
HITACHI HD44780 LCD DISPLAY
STEPPER MOTOR
TUTORIAL 6. MICROCOMPUTER-BASED LOCK
HOMEWORK PROBLEMS
LABORATORY ASSIGNMENTS
7. DEBUGGING
DEBUGGING THEORY
*HARDWARE DEBUGGING TOOLS
TEXAS VIEWBOX
FUNCTIONAL DEBUGGING
PERFORMANCE DEBUGGING
PROFILING
TUTORIAL 7. DEBUGGING TECHNIQUES
HOMEWORK PROBLEMS
LABORATORY ASSIGNMENTS
8. PROGRAM STRUCTURES
LOCAL VARIABLES
PARAMETER PASSING
CONTROL STRUCTURES
EXTENDED PRECISION CALCULATIONS
EXPRESSION EVALUATION
OS CALLS USING SOFTWARE INTERRUPTS
FINITE STATE MACHINES WITH STATICALLY-ALLOCATED LINKED STRUCTURES
*6812 PAGED MEMORY
TUTORIAL 8. SOFTWARE ABSTRACTION.
HOMEWORK PROBLEMS
LABORATORY PROBLEMS
9. ADVANCED PROGRAMMING TECHNIQUES
MODULAR DESIGN
LAYERED SOFTWARE SYSTEMS
NAMING CONVENTION
ASSEMBLE LANGUAGE STYLE GUIDELINES
*C LANGUAGE STYLE GUIDELINES
*RELOCATABLE CODE
COMMENTS
TUTORIAL 9. LAYERED PROGRAMMING
HOMEWORK PROBLEMS
LABORATORY ASSIGNMENTS
10. ELEMENTARY DATA STRUCTURES
MEMORY ALLOCATION AND INITIALIZATION
ARRAYS
STRINGS
MATRICES
STRUCTURES
TABLES
MULTIPLE ACCESS CIRCULAR QUEUES
FIRST IN FIRST OUT QUEUE AND DOUBLE BUFFERS
TREES
*DYNAMICALLY ALLOCATED DATA STRUCTURES
TUTORIAL 10. COMMAND INTERPRETERS
HOMEWORK PROBLEMS
LABORATORY ASSIGNMENTS
11. INTERRUPT SYNCHRONIZATION
BASIC CONCEPTS
FIRST IN FIRST OUT QUEUE
INTERTHREAD COMMUNICATION AND SYNCHRONIZATION
REENTRANT PROGRAMMING.
INTERRUPTS ON THE 6811/6812
EXTERNAL EDGE INTERRUPT
SERIAL PORT INTERFACE USING INTERRUPT SYNCHRONIZATION
PERIODIC INTERRUPTS
POLLED VERSUS VECTORED INTERRUPTS
TUTORIAL 11. PROFILING
HOMEWORK PROBLEMS
LABORATORY ASSIGNMENTS
APPENDIX 1. EMBEDDED SYSTEM DEVELOPMENT USING TEXAS
INTRODUCTION TO TEXAS
MAJOR COMPONENTS OF TEXAS
*DEVELOPING C LANGUAGE SOFTWARE
TUTORIAL A1. GETTING STARTED
APPENDIX 2. GLOSSARY OF TERMS
APPENDIX 3. SOLUTIONS MANUAL
CHECKPOINT SOLUTIONS
TUTORIAL SOLUTIONS
INDEX
Last updated September 9, 2007 Send comments to: Jonathan W. Valvano .