STM32F3 programming and debug using SWO

This post will guide you through steps to print values from any part of the program. This functionality will allow the user to debug the code easily and doesn’t need to add any extra hardware like LCD. Working with serial monitor eases the process of development and quite helpful in experimentation.

I am working on STM32F3 Cortex M-4 board in IAR workbench environment. I hope the user has prior knowledge of how to configure the workspace and write the basic program. This link is helpful in understanding the basic things to get start with basic steps and run your first blink program. Only needed some library name modification which is not difficult for a logical person. 🙂 Continue reading