Résumé
"I sincerely wish (this book) had been available when I had to learn all this stuff the hard way."
Steve Vinoski
"An excellent job of introducing and defining the jargon associated with embedded systems.This makes the text extremely easy to read."
David Cuka
An Embedded Software Primer is a clearly written, insightful manual for engineers interested in writing embedded-system software. The example-driven approach puts you on a fast track to understanding embedded system programming and applying what you learn to your projects. This book will give you the necessary foundation to work confidently in this field.
Building on a basic knowledge of computer programming concepts, this book will help you to:
- Learn core principles and advanced techniques of embedded-system software
- Find out what a real-time operating system (RTOS) does and how to use one effectively
- Experiment with sample code and the ?C/OS RTOS version 1.11 (on the accompanying CD)
- Apply what you learn, no matter which microprocessor or RTOS you use.
After reading this book, you will be able to tackle the
challenges of embedded system programming and quickly reap
the benefits of your new skills.
Table of contents
Preface xi
Acknowledgments xiii
About This Book and the Accompanying CD-ROM xv
Chapter 1: A First Look at Embedded Systems 1
1.1 Examples of Embedded Systems
1.1.2 Typical Hardware 8
Chapter Summary 10
Chapter 2: Hardware Fundamentals for the Software Engineer 13
2.1 Terminology 132.2 Gates 16
2.3 A Few Other Basic Considerations 20
2.4 Timing Diagrams 28
2.5 Memory 33
Chapter Summary 40
Problems 41
Chapter 3: Advanced Hardware Fundamentals 45
3.1 Microprocessors 45
3.2 Buses 47
3.3 Direct Memory Access 57
3.4 Interrupts 61
3.5 Other Common Parts 62
3.6 Built-Ins on the Microprocessor 72
3.7 Conventions Used on Schematics 75
3.8 A Sample Schematic 75
3.9 A Last Word about Hardware 77
Chapter Summary 78
Problems 79
Chapter 4: Interrupts 81
4.1 Microprocessor Architecture 81
4.2 Interrupt Basics 85
4.3 The Shared-Data Problem 92
4.4 Interrupt Latency 103
Chapter Summary 111
Problems 112
Chapter 5: Survey of Software Architectures 115
5.1 Round-Robin 115
5.2 Round-Robin with Interrupts 119
5.3 Function-Queue-Scheduling Architecture 127
5.4 Real-Time Operating System Architecture 129
5.5 Selecting an Architecture 132
Chapter Summary 133
Problems 134
Chapter 6: Introduction to Real-Time Operating Systems 137
6.1 Tasks and Task States 139
6.2 Tasks and Data 144
6.3 Semaphores and Shared Data 153
Chapter Summary 168
Problems 169
Chapter 7: More Operating System Services 173
7.1 Message Queues, Mailboxes, and Pipes 173
7.2 Timer Functions 184
7.3 Events 191
7.4 Memory Management 195
7.5 Interrupt Routines in an RTOS Environment 199
Chapter Summary 206
Problems 207
Chapter 8: Basic Design Using a Real-Time Operating System 215
8.1 Overview 215
8.2 Principles 217
8.3 An Example 233
8.4 Encapsulating Semaphores and Queues 244
8.5 Hard Real-Time Scheduling Considerations 253
8.6 Saving Memory Space 254
8.7 Saving Power 257
Chapter Summary 259
Problems 260
Chapter 9: Embedded Software Development Tools 261
9.1 Host and Target Machines 261
9.2 Linker/Locators for Embedded Software 263
9.3 Getting Embedded Software into the Target System 276
Chapter Summary 280
Chapter 10: Debugging Techniques 283
10.1 Testing on Your Host Machine 284
10.2 Instruction Set Simulators 302
10.3 The assert Macro 304
10.4 Using Laboratory Tools 307
Chapter Summary 326
Problems 327
Chapter 11: An Example System 329
11.1 What the Program Does 330
11.2 Environment in Which the Program Operates 333
11.3 A Guide to the Source Code 336
11.4 Source Code 339
Summary 402
Problems 403
Afterword 405
Further Reading 407
Index 409
Caractéristiques techniques
PAPIER | |
Éditeur(s) | Addison Wesley |
Auteur(s) | David Simon |
Parution | 15/09/1999 |
Nb. de pages | 424 |
Format | 18,7 x 23,2 |
Poids | 750g |
EAN13 | 9780201615692 |
ISBN13 | 978-0-201-61569-2 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse