-
Chapter 1 Introduction
-
What Is an Embedded System?
-
Variations on a Theme
-
Embedded Design Examples
-
Life As an Embedded Software Developer
-
The C Language: The Lowest Common Denominator
-
A Few Words About Hardware
-
-
Chapter 2 Getting to Know the Hardware
-
Understanding the Big Picture
-
Hardware Basics
-
Examine the Landscape
-
Learn How to Communicate
-
Getting to Know the Processor
-
Study the External Peripherals
-
Initialize the Hardware
-
-
Chapter 3 Your First Embedded Program
-
Hello, World!
-
The Blinking LED Program
-
The Role of the Infinite Loop
-
-
Chapter 4 Compiling, Linking, and Locating
-
The Build Process
-
Building the Blinking LED Program
-
A Quick Look at Makefiles
-
-
Chapter 5 Downloading and Debugging
-
Downloading the Blinking LED Program
-
Remote Debuggers
-
Emulators
-
Other Useful Tools
-
Dig into the Hardware
-
-
Chapter 6 Memory
-
Types of Memory
-
Direct Memory Access
-
Endian Issues
-
Memory Testing
-
Validating Memory Contents
-
Using Flash Memory
-
-
Chapter 7 Peripherals
-
Control and Status Registers
-
The Device Driver Philosophy
-
Device Driver Design
-
-
Chapter 8 Interrupts
-
Overview
-
Interrupt Map
-
Interrupt Service Routine
-
The Improved Blinking LED Program
-
Summary of Interrupt Issues
-
-
Chapter 9 Putting It All Together
-
Application Overview
-
Working with Serial Ports
-
Command-Line Interface Processing
-
-
Chapter 10 Operating Systems
-
History and Purpose
-
The Scheduler
-
Tasks
-
Task Synchronization
-
Message Passing
-
Other Functionality
-
Interrupt Handling
-
Real-Time Characteristics
-
To Use or Not to Use an RTOS
-
Additional Resources
-
-
Chapter 11 eCos Examples
-
Introduction
-
Task Mechanics
-
Mutex Task Synchronization
-
Semaphore Task Synchronization
-
Message Passing
-
eCos Interrupt Handling
-
-
Chapter 12 Embedded Linux Examples
-
Introduction
-
Accessing Hardware in Linux
-
Task Mechanics
-
Mutex Task Synchronization
-
Semaphore Task Synchronization
-
Message Passing
-
-
Chapter 13 Extending Functionality
-
Common Peripherals
-
Networking for All Devices Great and Small
-
-
Chapter 14 Optimization Techniques
-
Increasing Code Efficiency
-
Decreasing Code Size
-
Problems with Optimizing Compilers
-
Reducing Memory Usage
-
Power-Saving Techniques
-
Limiting the Impact of C++
-
-
Appendix 1 The Arcom VIPER-Lite Development Kit
-
Appendix 2 Setting Up Your Software Development Environment
-
Windows Host Installation
-
Linux Host Installation
-
Example Code Installation
-
-
Appendix 3 Building the GNU Software Tools
-
Extracting the Source Files
-
Building the Toolchain
-
-
Appendix 4 Setting Up the eCos Development Environment
-
The eCos Build Environment
-
-
Appendix 5 Setting Up the Embedded Linux Development Environment
-
Linux Build Environment Setup
-
Embedded Linux Examples
-
- Title:
- Programming Embedded Systems, Second Edition
- By:
- Michael Barr, Anthony Massa
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- October 2006
- Ebook Release:
- February 2009
- Pages:
- 336
- Print ISBN:
- 978-0-596-00983-0
- | ISBN 10:
- 0-596-00983-6
- Ebook ISBN:
- 978-0-596-10551-8
- | ISBN 10:
- 0-596-10551-7
The insects on the cover of Programming Embedded Systems with C and GNU Development Tools, Second Edition, are ticks. There are approximately 850 species of these small to microscopic, blood-feeding parasites distributed worldwide. They are particularly abundant in tropical and subtropical regions. There are two main families of ticks: hard ticks, whose mouth parts are visible from above, and soft ticks, whose mouth parts are hidden.
In both hard and soft ticks, the mouth is made up of three major parts: the palps, the chelicerae, and the hypostome. It is the hypostome that is inserted into the host's skin while the tick is feeding. A series of backward-facing projections on the hypostome make it difficult to remove the tick from the skin. Most ticks also secrete a sticky substance that glues them into place. This substance dissolves when the tick is done feeding. Their external body surface expands from 200 to 600 percent to accommodate the blood that is ingested.
Ticks go through three life stages: larva, nymph, and adult. At each stage they feed on a mammal, reptile, or bird host. Ticks wait for a host by perching on leaves or other surfaces with their front two legs extended. When a host brushes up against them they latch on and attach themselves. Adult female hard ticks lay a single batch of thousands of eggs and then die. Adult male ticks also die after a single mating.
As parasites go, ticks can be very nasty. They transmit more disease than any other blood-sucking parasite, including Lyme disease, Rocky Mountain spotted fever, and relapsing fever. They can also cause excessive blood loss. Some ticks secrete nerve poisons that can potentially cause death. A tick can be removed from skin by grasping it with a tweezer or a special tick-removing device as close to the skin as possible, and pulling in one steady motion. Do not squeeze the tick. Immediately flush it down the toilet-or place it in a sealed container and hold onto it for one month, in case you develop symptoms of a disease.
The cover image is a 19th-century engraving from the Dover Pictorial Archive. The cover font is Adobe ITC Garamond. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed.The production editors for
