war_stories

Stay in your lane, the shifty MIPI bug

WARNING: DRAFT POST tl;dr While tossing together my last post about ThreadX and debugging the video pipeline I was reminded of other exciting debugging adventures from our camera work; this is the next in that series. Disclaimers This bug occurred roughly a decade ago, my notes from debugging it date to October 2010. I no longer have access to the hardware, the source code, documentation, or my full write up from the time.
Read more

Debugging Threading issues in ThreadX circa 2011

WARNING: DRAFT POST (alternative title: How to procrastinate on your 2020 self review by writing one form 2010) Catching up on cppcast last week, I learned that MSFT acquired ThreadX and it is now Azure-RTOS1. This brought up some old memories. Once upon a time, in a universe far far away… We built a tool for logging all the context switches occurring on a system based on ThreadX. A while back, I found a patch file containing most of the code necessary to page how we did this back into my brain.
Read more