The oldest, tried-and-true debugging technique in embedded development is to sprinkle printf statements throughout the software in the hope of gleaning insight into system behavior. Using printf is ...
It’s no surprise to anyone that newly written software is rarely 100% bug-free. However, steps can be taken in the beginning to help reduce the number of issues that may appear in your code. Or, to ...
The printf command offers well-defined behavior following the POSIX standard, which means it works the same way across shells ...
We don’t always JTAG, but when we do, we use a Black Magic Probe. It’s a completely open ARM-chip debugging powerhouse. If you program the small ARM chips and you don’t have a BMP, you need a BMP.
Debugging with printf is something [StorePeter] has always found super handy, and as a result he’s always been interested in tweaking the process for improvements. This kind of debugging usually has ...
GUI debuggers are the norm these days, however, I still feel the urge to do a little printf-debugging now and then. It might be wrong, it might be silly but it works. I like to develop the odd ...
Debugging embedded software is my least favorite activity, but unfortunately it's a necessary evil. Thankfully, advances in technology and tool chain innovation have resulted in a plethora of ...