Programming Embedded Systems. With C and GNU Development Tools. 2nd Edition (e-book) Katowice

If you have programming experience and a familiarity with C--the dominant language in embedded systems--Programming Embedded Systems, Second Edition is exactly what you need to get started with embedded software. This software is ubiquitous, hidden away inside our watches, DVD players, mobile …

od 135,15 Najbliżej: 26 km

Liczba ofert: 1

Oferta sklepu

Opis

If you have programming experience and a familiarity with C--the dominant language in embedded systems--Programming Embedded Systems, Second Edition is exactly what you need to get started with embedded software. This software is ubiquitous, hidden away inside our watches, DVD players, mobile phones, anti-lock brakes, and even a few toasters. The military uses embedded software to guide missiles, detect enemy aircraft, and pilot UAVs. Communication satellites, deep-space probes, and many medical instruments would have been nearly impossible to create without embedded software.The first edition of Programming Embedded Systems taught the subject to tens of thousands ofpeople around the world and is now considered the bible of embedded programming. This second edition has been updated to cover all the latest hardware designs and development methodologies.The techniques and code examples presented here are directly applicable to real-world embedded software projects of all sorts. Examples use the free GNU software programming tools, the eCos and Linux operating systems, and a low-cost hardware platform specially developed for this book. If you obtain these tools along withProgramming Embedded Systems, Second Edition, you'll have a full environment for exploring embedded systems in depth. But even if you work with different hardware and software, the principles covered in this bookapply.Whether you are new to embedded systems or have done embedded work before, you'll benefit from the topics in this book, which include:How building and loading programs differ from desktop or servercomputersBasic debugging techniques--a critical skill when working withminimally endowed embedded systemsHandling different types of memoryInterrupts, and the monitoring and control of on-chip and externalperipheralsDetermining whether you have real-time requirements, and whetheryour operating system and application can meet those requirementsTask synchronization with real-time operating systems and embeddedLinuxOptimizing embedded software for size, speed, and power consumptionWorking examples for eCos and embedded LinuxSo whether you're writing your first embedded program, designing thelatest generation of hand-held whatchamacalits, or managing the peoplewho do, this book is for you. Programming EmbeddedSystems will help you develop the knowledge and skills youneed to achieve proficiency with embedded software.Praise for the first edition:"This lively and readable book is the perfect introduction for those venturing into embedded systems software development for the first time. It provides in one place all the important topics necessary to orient programmers to the embedded development process.--Lindsey Vereen, Editor-in-Chief, Embedded Systems Programming Spis treści: Programming Embedded Systems SPECIAL OFFER: Upgrade this ebook with OReilly A Note Regarding Supplemental Files Foreword Preface Why We Wrote This Book Intended Audience Organization Conventions, Typographical and Otherwise Obtaining the Examples Online Using Code Examples Comments and Questions Safari Enabled Personal Comments and Acknowledgments From Michael Barr From Anthony Massa 1. Introduction What Is an Embedded System? History and Future Real-Time Systems Variations on a Theme Common System Components Requirements That Affect Design Choices Embedded Design Examples Digital Watch Video Game Player Mars Rover Life As an Embedded Software Developer The C Language: The Lowest Common Denominator Other Embedded Languages Choosing a Language for the Book Consistent Coding Practices A Few Words About Hardware 2. Getting to Know the Hardware Understanding the Big Picture Hardware Basics Schematic Fundamentals Examine the Landscape Memory Map Learn How to Communicate Getting to Know the Processor Processors in General The PXA255 XScale Processor Study the External Peripherals Initialize the Hardware 3. Your First Embedded Program Hello, World! The Blinking LED Program The ledInit Function The ledToggle Function The delay_ms Function The Role of the Infinite Loop 4. Compiling, Linking, and Locating The Build Process Compiling Linking Startup code Locating Building the Blinking LED Program Compile Link and Locate Format the Output File A Quick Look at Makefiles 5. Downloading and Debugging Downloading the Blinking LED Program Debug Monitors RedBoot Downloading with RedBoot Running programs with RedBoot When in ROM... Managing ROM with RedBoot Remote Debuggers Debugging on the Arcom Board Emulators Other Useful Tools Simulators Hardware Tools Lint Version Control Dig into the Hardware 6. Memory Types of Memory Types of RAM Types of ROM Hybrid Types Direct Memory Access Endian Issues Endianness in Devices Endianness in Networking Memory Testing Common Memory Problems Electrical wiring problems Missing memory chips Improperly inserted chips Developing a Test Strategy Data bus test Address bus test Device test Putting it all together Validating Memory Contents Checksums Cyclic Redundancy Checks Using Flash Memory Working with Flash Memory Flash Drivers 7. Peripherals Control and Status Registers Bit Manipulation Testing bits Setting bits Clearing bits Toggling bits Shifting bits Bitmasks Bitfields Struct Overlays The Device Driver Philosophy A Serial Device Driver Register interface State variables Initialization routine Device driver API Testing the Serial Device Driver Extending the Functionality of the Serial Device Driver Device Driver Design 8. Interrupts Overview Priorities Levels and Edges Enabling and Disabling Interrupt Map Interrupt Service Routine Shared Data and Race Conditions The Improved Blinking LED Program How Timers Work Summary of Interrupt Issues 9. Putting It All Together Application Overview Working with Serial Ports Command-Line Interface Processing 10. Operating Systems History and Purpose The Scheduler Real-Time Scheduling Scheduling Points Locking and Unlocking Tasks Task States Context switch The idle task Task Context Task Priorities Rate monotonic scheduling Task Mechanics Task Synchronization Mutexes and Semaphores Deadlock and priority inversion Message Passing Other Functionality Interrupt Handling Real-Time Characteristics To Use or Not to Use an RTOS RTOS Selection Process Additional Resources 11. eCos Examples Introduction Task Mechanics Mutex Task Synchronization Semaphore Task Synchronization Message Passing eCos Interrupt Handling 12. Embedded Linux Examples Introduction Accessing Hardware in Linux Task Mechanics Mutex Task Synchronization Semaphore Task Synchronization Message Passing 13. Extending Functionality Common Peripherals Inter-Integrated Circuit Bus Serial Peripheral Interface Programmable Logic Programmable Logic Device Complex Programmable Logic Device Field Programmable Gate Array Pulse Width Modulation Analog circuits Digital control Networking for All Devices Great and Small Benefits of Network Support Networking Solutions for Embedded Systems 14. Optimization Techniques Increasing Code Efficiency Decreasing Code Size Problems with Optimizing Compilers Reducing Memory Usage Power-Saving Techniques Processor Modes Clock Frequency External Memory Access Limiting the Impact of C++ 1. The Arcom VIPER-Lite Development Kit 2. Setting Up Your Software Development Environment Windows Host Installation Cygwin Installation GNU Software Tools Installation Linux Host Installation GNU Software Tools Installation Example Code Installation 3. Building the GNU Software Tools Extracting the Source Files Building the Toolchain 4. Setting Up the eCos Development Environment The eCos Build Environment eCos Source Code Installation Building the eCos Library 5. Setting Up the Embedded Linux Development Environment Linux Build Environment Setup Embedded Linux Examples Building the Linux Examples Downloading and Running the Linux Examples Debugging Embedded Linux Examples About the Authors SPECIAL OFFER: Upgrade this ebook with OReilly

Specyfikacja

Podstawowe informacje

Autor
  • Michael Barr, Anthony Massa
Rok wydania
  • 2006
Format
  • MOBI
  • EPUB
Ilość stron
  • 336
Kategorie
  • Programowanie
Wybrane wydawnictwa
  • O'Reilly Media