No matter how trivial the project or how sure we are about developing a project, we inevitably run into the need for troubleshooting. The need is so often greater for an embedded computing project because you don’t have the luxury of a core file dump to be analyzed like you would under Linux. You might also not have a display device at the point of the error.
In this chapter, we’ll first look at the debugging facilities that are available to the STM32 platform. Then, some troubleshooting techniques will be examined, along with other resources.
Gnu GDB
The Gnu GDB debugger is quite powerful and ...