Page 253 - The Art of Designing Embedded Systems
P. 253
240 THE ART OF DESIGNING EMBEDDED SYSTEMS
Formatting, assembly, 218-19 Inputs
FPGAs (field-programmable gate ar- unused, 114-15
rays), 129 leave unconnected when building
Functions. 214 prototypes, 1 15
most of bugs will be in few, 30 Inspection team, keep management off,
and reentrants, 67 17
using to do one thing, 59 Inspections, use Code, 16-22
INTANTA cycles, debugging, 64-66
Gate, CMOS, 113 Integration, 48
Glitches, diagnose all, 174 Intempt map, lay out, 57-58
Global variables, 68,213 Interruptions from work, 25
Globals, 38 Interrupts; See also ISRs (interrupt ser-
Grounders, using clip leads as, 177 vice routines), 54-64
Guesstimating, 75-76 C or assembly languages, 6 1-64
design guidelines, 57-59
Hacking peripheral drivers, 87-90 finding missing, 66-67
Handlers, keep short, 58 hardware issues, 59-61
Hardware from internal peripherals, 64
breakpoints, 40, 138 latency of, 80
is moving away from conventional vectoring, 55-57
prototypes, 105 INTR signal, generation of, 60
issues, 59-61,94-96 ISRs (interrupt service routines), 40,
changing PCBs (printed circuit 54-55,57,214-15
boards), 128-30 approximate complexity of, 58
clocks, 115-17 cardinal rule of, 58
debuggable designs, 109-1 I easy debugging, 71-72
making PCBs (printed circuit keeping simple, 59
boards), 126-28 using complex data structures in, 63
planning, 130-3 1
reset, 117-19 JTAG (Joint Test Access Group), 143,
resistors, 1 11-13 162
small CPUs, 1 19-23 and BDM (Back-ground Debug)
unused inputs, 114-15 hardware, 143-44
watchdog timers, 123-26 debuggers, 144
Hardware design, let software drive, 40
Heap issues, 208-9 Keyboard, seduction of, 5
Heat, being on lookout for excessive, 176 Knives, X-Acto, 129-30, 152
See also Overheating Knowledge is power, 9 1
Human nature and design process, 49
Languages
ICES (In-Circuit Emulators), 139, 184 assembly, 61-64
ICs (integrated circuits) C, 61-64
See also Chips CMSP, 63
software, 74 writing shells of drivers in selected, 89
Idle loops, 81-82 LCDs (liquid crystal displays), 166
Idle time, 8 1 Leads, clip, 17 1
Impossible, conquer, 50-5 1 Leasing most attractive way to get equip-
Inheritance, 38 ment, 157

