Debugging Heisenbugs: The Nightmare of Every Embedded...
summary
Claims concrete fixes and repeatable techniques: use Ftrace and boot-arg filters to narrow traces, collect paired memory dumps to find overlapping pointers that caused U-Boot data-abort, run git diffs to recover a missing DDR timing patch that eliminated a boot regression, and detect an FDT alignment failure caused by a dirty build string. Edit the ELF to insert a self-branch opcode for JTAG stepping, use a map-diff script to visualize layout shifts, and know when to escalate to logic analyzers or silicon errata; results include reproducible fixes, merged linker patches, and one confirmed IP errata.
AI-written summary · about
chapters (10)
- 0:00Introduction to heisenbugs
- 0:36Defining heisenbugs
- 3:50Debugging strategies overview
- 8:28Tracing and elimination
- 11:11Binary editing techniques
- 13:59Binary patching and analysis
- 23:10Diagnostic and static tools
- 25:33Thought process and approach
- 27:18Real-world debugging cases
- 44:31Q&A and concluding remarks
