
Debugging Embedded and Real-Time Systems
The Art, Science, Technology, and Tools of Real-Time System Debugging
- 1st Edition - July 17, 2020
- Imprint: Newnes
- Author: Arnold S. Berger
- Language: English
- Paperback ISBN:9 7 8 - 0 - 1 2 - 8 1 7 8 1 1 - 9
- eBook ISBN:9 7 8 - 0 - 1 2 - 8 1 7 8 1 2 - 6
Debugging Embedded and Real-Time Systems: The Art, Science, Technology and Tools of Real-Time System Debugging gives a unique introduction to debugging skills and strategie… Read more

Purchase options

Institutional subscription on ScienceDirect
Request a sales quoteDebugging Embedded and Real-Time Systems: The Art, Science, Technology and Tools of Real-Time System Debugging gives a unique introduction to debugging skills and strategies for embedded and real-time systems. Practically focused, it draws on application notes and white papers written by the companies who create design and debug tools.
Debugging Embedded and Real Time Systems
presents best practice strategies for debugging real-time systems, through real-life case studies and coverage of specialized tools such as logic analysis, JTAG debuggers and performance analyzers. It follows the traditional design life cycle of an embedded system and points out where defects can be introduced and how to find them and prevent them in future designs. It also studies application performance monitoring, the execution trace recording of individual applications, and other tactics to debug and control individual running applications in the multitasking OS.Suitable for the professional engineer and student, this book is a compendium of best practices based on the literature as well as the author’s considerable experience as a tools’ developer.
- Provides a unique reference on Debugging Embedded and Real-Time Systems
- Presents best practice strategies for debugging real-time systems
- Written by an author with many years of experience as a tools developer
- Includes real-life case studies that show how debugging skills can be improved
- Covers logic analysis, JTAG debuggers and performance analyzers that are used for designing and debugging embedded systems
Professional embedded systems engineers, software engineers developing embedded systems, students studying embedded systems
- Cover image
- Title page
- Table of Contents
- Copyright
- Preface
- 1: What’s the problem?
- Abstract
- 2: A systematic approach to debugging
- Abstract
- The six stages of debugging
- 3: Best practices for debugging embedded software
- Abstract
- Introduction
- What makes embedded systems different?
- What are the best practices for debugging an embedded system?
- Best practices for software in general
- Best practices for debugging embedded software in particular
- Memory leaks
- Jitter
- Priority inversion
- Stack overflow
- Wrapping-up
- Additional resources
- 4: Best practices for debugging embedded hardware
- Abstract
- Introduction
- The debug process for hardware
- Design reviews
- Test plan
- Design for testability
- Have a process
- Know your tools
- Microprocessor design best practices
- Wrapping up
- Additional resources
- 5: An overview of the tools for embedded design and debug
- Abstract
- Introduction
- Debugger
- HW/SW coverification
- ROM emulator
- Logic analyzer
- Logic analyzer benefits
- Logic analyzer issues
- In-circuit emulator
- Additional resources
- 6: The hardware/software integration phase
- Abstract
- Introduction
- The HW/SW integration diagram
- The case of the nonstandard hard disk drive interface
- The last gasp of the vector display
- Underpowered emulator card cage
- Feature creep and the big customer
- 7: On-chip debugging resources
- Abstract
- Introduction
- Background debug mode
- JTAG
- MIPS EJTAG
- Final remarks
- 8: Systems on a chip
- Abstract
- Introduction
- Field-programmable gate arrays
- Virtualization
- Conclusion
- Additional resources
- 9: Testing methods for isolating defects
- Abstract
- Introduction
- Barriers to finding problems
- Quick and dirty
- Asking for help
- Fault isolation
- Performance-related faults
- Reproducible faults
- Intermittent faults
- Compliance faults
- Spread spectrum oscillators
- Thermal faults
- Mechanical issues
- Power supply-related faults
- Final thoughts
- 10: Debugging real-time operating systems (RTOS)
- Abstract
- Introduction
- Defect issues in RTOS systems
- Synchronization problems
- Memory corruption
- Interrupt-related problems
- Unintended compiler optimizations
- Exceptions
- RTOS-aware tools: An example
- 11: Serial communication systems
- Abstract
- Introduction
- RS-232
- Wrong COM port assignment
- Improper cable pinout
- Wrong baud rate (clock frequency)
- Improper flow control
- I2C and SMBus protocols
- SPI protocol
- Tools
- Controller area network (CAN-bus)
- Closing remarks
- Additional resources
- 12: Memory systems
- Abstract
- Introduction
- General testing strategies
- Static RAM
- Dynamic RAM
- Soft errors
- Jitter
- Software-based memory errors
- Concluding remarks
- Index
- Edition: 1
- Published: July 17, 2020
- Imprint: Newnes
- No. of pages: 302
- Language: English
- Paperback ISBN: 9780128178119
- eBook ISBN: 9780128178126
AB