0%

Book Description

Debugging Embedded Microprocessor Systems provides techniques for engineers, technicians, and students who need to correct design faults in embedded systems. Using real-world scenarios, designers can learn practical, time-saving ways to avoid and repair potentially costly problems. Prevention is stressed.

In this book, the author addresses hardware and software issues, including up-front design techniques to prevent bugs and contain design creep. Practical advice includes descriptions of common tools which can be used to help identify and repair bugs, as well as test routines. RTOS and embedded PC environments are also covered.

Each chapter of Debugging Embedded Microprocessor Systems opens with an example design problem which illustrates real-world issues such as design changes, time pressures, equipment or component availability, etc. Case studies of past debugging projects are presented in the final chapter.

  • Addresses real-world issues like design changes, time pressures, equipment or component availability
  • Practical, time-saving methods for preventing and correcting design problems
  • Covers debugging tools and programmer test routines

Table of Contents

  1. Cover image
  2. Title page
  3. Table of Contents
  4. Copyright
  5. Introduction
  6. Chapter 1: Tools for Debugging Embedded Systems
    1. Test Equipment
  7. Chapter 2: Adding Diagnostic Helps to the Target System
    1. Trace Buffer
    2. Other Methods of Generating Trace Data
  8. Chapter 3: General Debugging Tips
    1. Debugging: General Strategies
    2. Debugging Step by Step
  9. Chapter 4: Hardware Debug
    1. Tests
    2. Hardware Problems and Solutions
    3. EMI Problems
  10. Chapter 5: Debugging the Software
    1. Overview of Programmer Code
    2. Modular Testing
    3. Functional Testing
    4. Debugging
  11. Chapter 6: Debugging the Interrupts
    1. New ISR
    2. New ISR
    3. Interrupt Overview
    4. 8031 Interrupt Addresses
    5. Potential Interrupt Problems
    6. UART Transmit Lockup
    7. Interrupt Time
    8. Prioritizing Interrupts
    9. Problems with Vectored Interrupts
    10. Daisy-Chained Interrupts
    11. Missing Interrupts
  12. Chapter 7: Debugging in an RTOS Environment
    1. Real-Time Operating System Functions
    2. Interrupts in a Kernel Environment
    3. Priority Inversion
    4. General Preemption Problems
    5. Deadlock
    6. Action Codes
    7. Debugging Tools
  13. Chapter 8: Debugging in an Embedded PC Environment
    1. Advantages to Using a PC Platform
    2. Disadvantages to Using a PC Platform
    3. PC Debugging Tools
  14. Chapter 9: Debugging Scenarios from the Trenches
    1. A Debugging Scenario Using Action Codes
    2. Debugging a Problem in the PC Environment
    3. An International Incident
    4. Christmas in England (Almost)
    5. California Dreamin’
    6. Would You Like ICE in Your Drink?
  15. Appendix 1: Programmer Test Routines
  16. Glossary
  17. Index
3.145.151.141