The less-experienced engineer will be able to apply Ball's advice to everyday projects and challenges immediately with amazing results. In this new edition, the author has expanded the section on debug to include avoiding common hardware, software and interrupt problems. Other new features include an expanded section on system integration and debug to address the capabilities of more recent emulators and debuggers, a section about combination microcontroller/PLD devices, and expanded information on industry standard embedded platforms.
- Covers all 'species' of embedded system chips rather than specific hardware
- Learn how to cope with 'real world' problems
- Design embedded systems products that are reliable and work in real applications
Inhaltsverzeichnis
1;Front Cover;1 2;Embedded Microprocessor Systems Real World Design;4 3;Copyright Page;5 4;Contents;6 5;Introduction;12 6;Special Introduction to the Third Edition;15 7;Chapter 1. System Design;16 7.1;Requirements Definition;18 7.2;Processor Selection;20 7.3;Development Environment;32 7.4;Development Costs;34 7.5;Hardware and Software Requirements;35 7.6;Hardware/Software Partitioning;37 7.7;Distributed Processor Systems;39 7.8;Specifications Summary;40 7.9;A Requirements Document Outline;41 7.10;Communication;43 8;Chapter 2. Hardware Design 1;44 8.1;Single-Chip Designs;44 8.2;Multichip Designs;46 8.3;Wait States;50 8.4;Memory;53 8.5;Types of PROM;54 8.6;RAM;60 8.7;I/O;69 8.8;Peripheral ICs;73 8.9;Data Bus Loading;83 8.10;Nonvolatile Memory;85 8.11;Microwire;88 8.12;DMA;89 8.13;Watchdog Timers;96 8.14;In-Circuit Programming;98 8.15;Internal Peripherals;100 8.16;Design Shortcuts;100 8.17;EMC Considerations;101 8.18;Microprocessor Clocks;105 8.19;Hardware Checklist;107 9;Chapter 3. Hardware Design 2;110 9.1;Dynamic Bus Sizing;110 9.2;Fast Cycle Termination;110 9.3;Bus Sizing at Reset;111 9.4;Clock-Synchronized Buses;112 9.5;Built-in Dynamic Ram Interface;114 9.6;Combination ICs;115 9.7;Digital-to-Analog Converters;116 9.8;Analog-to-Digital Converters;118 9.9;SPI/Microwire in Multichip Designs;121 9.10;Timer Basics;122 9.11;Example System;130 9.12;Hardware Specifications Outline;130 10;Chapter 4. Software Design;134 10.1;Data Flow Diagram;135 10.2;State Diagram;136 10.3;Flowcharts;138 10.4;Pseudocode;138 10.5;Partitioning the Code;140 10.6;Software Architecture;144 10.7;The Development Language;146 10.8;Microprocessor Hardware;150 10.9;Hard Deadlines Versus Soft Deadlines;153 10.10;Dangerous Independence;153 10.11;Software Specifications;155 10.12;Software Specifications Outline;156 11;Chapter 5. Interrupts in Embedded Systems;158 11.1;Interrupt Basics;158 11.2;Interrupt Vectors;159 11.3;Edge- and Level-Sensitive Interrupts;161 11.4;Interrupt Priority;161 11.5;Interrup
t Hardware;161 11.6;Interrupt Bus Cycles;163 11.7;Daisy-Chained Interrupts;163 11.8;Other Types of Interrupts;164 11.9;Using Interrupt Hardware;165 11.10;Interrupt Software;170 11.11;Interrupt Service Mechanics;170 11.12;Nested Interrupts;172 11.13;Passing Data to or from the ISR;173 11.14;Some Real World Dos and Donts;174 11.15;Minimizing Low-Priority Interrupt Service Time;181 11.16;When to Use Interrupts;183 12;Chapter 6. Adding Debug Hardware and Software;186 12.1;Action Codes;187 12.2;Hardware Output;188 12.3;Write to ROM;190 12.4;Read from ROM;191 12.5;Software Timing;192 12.6;Software Throughput;192 12.7;Circular Trace Buffers;193 12.8;Monitor Programs;194 12.9;Logic Analyzer Breakpoints;195 12.10;Memory Dumps;196 12.11;Serial Condition Monitor;197 13;Chapter 7. System Integration and Debug;204 13.1;Hardware Testing;205 13.2;Software Debug;206 13.3;Debugging in RAM;208 13.4;Functional Test Plan;209 13.5;Stress Testing;211 13.6;Problem Log;212 13.7;A Real-World Example;213 13.8;Emulators/Debuggers;216 14;Chapter 8. Multiprocessor Systems;218 14.1;Communication Between Processors;220 14.2;Dual-Port RAM (DPRAM);227 15;Chapter 9. Real-Time Operating Systems;250 15.1;Multitasking;253 15.2;Keeping Track of Tasks;257 15.3;Communication Between Tasks;258 15.4;Memory Management;259 15.5;Resource Management;260 15.6;RTOS and Interrupts;262 15.7;Typical RTOS Communication;262 15.8;Preemption Considerations;263 15.9;Applicability of RTOS;265 15.10;Debuggers;268 16;Chapter 10. Industry-Standard Embedded Platforms;270 16.1;Advantages of Using a PC Platform;270 16.2;Drawbacks of Using a PC Platform;273 16.3;Some Solutions to These Problems;275 16.4;ISA- and PCI-Based Embedded Boards;276 16.5;Other Platforms for Embedded Systems;277 16.6;Example Real-Time PC Application;282 17;Chapter 11. Advanced Microprocessor Concepts;286 17.1;Pipeline (Prefetch) Queue;286 17.2;Interleaving;287 17.3;DRAM Burst Mode;288 17.4;SDRAM;289 17.5;High-Speed, High-Integration Processors and Multip
le Buses;292 17.6;Cache Memory;293 17.7;Processors with Multiple Clock Inputs and Phase-Locked Loops;294 17.8;Multiple-Instruction Fetch and Decode;295 17.9;Microcontroller/FPGA Combinations;296 17.10;On-Chip Debug;297 17.11;Memory Management Hardware;299 17.12;Application-Specific Microcontrollers;301 18;Appendix A. Example System Specifications;302 18.1;System Description;302 18.2;User Interface;302 18.3;Setting Time;303 18.4;Water Low;303 18.5;Example System Hardware Specifications;303 18.6;Example System Software Description;305 18.7;Example System Software Pseudocode;307 19;Appendix B. Number Systems;318 19.1;Number Bases;318 19.2;Converting Numbers Between Bases;321 19.3;Math with Binary and Hex Numbers;322 19.4;Negative Numbers and Computer Representation of Numbers;323 19.5;Number Suffixes;325 19.6;Floating Point;326 20;Appendix C. Digital Logic Review;330 20.1;Basic Logic Functions;331 20.2;Registers and Latches;335 21;Appendix D. Basic Microprocessor Concepts;340 21.1;A Simple Microprocessor;340 21.2;A More Complex Microprocessor;348 21.3;Addressing Modes;352 21.4;Code Formats;355 22;Appendix E. Embedded Web Sites;358 22.1;Organizations and Literature;358 22.2;Manufacturers;358 22.3;Software, Operating Systems, and Emulators;359 23;Glossary;360 24;Index;365