How to use Printf with STM32 Microcontroller- Serial Wire Viewer (SWV)

Published: 21 April 2023
on channel: BINARYUPDATES
17,115
159

Learn how to use printf with STM32 microcontroller using STM32CubeIDE. We’ll debug STM32 using ST-LinkV2 Debugger on STM32 Nucleo Board. We’ll use Serial Wire Viewer (SWV) of STM32 MCU. As all ARM Cortex-M3+ microcontroller supports SWO and SWV feature. Printf style debugging is very popular with STM32 Microcontrollers.

[SUPPORT]

►► Try Altium Student Lab! You get FREE access to Altium Designer and Altium 365 https://www.altium.com/in/yt/binaryup...

►► Learn about Altium 365, the electronics product design platform that unites PCB design, MCAD, data management, and teamwork: https://www.altium.com/altium-365

[RESOURCES]

►► Need Help? To Learn Embedded Systems: https://courses.binaryupdates.com

[TIMESTAMPS]
00:00 Introduction
00:18 Altium Free Trial
00:42 Create STM32 Project
02:47 add ITM_SendChar
05:21 write printf function
07:20 Debug Settings
07:57 Add printf in program
08:50 SWV ITM Data Console
09:00 Configure trace SWV Settings
09:22 Start trace
09:42 Output on SWV Console
12:25 outro


Watch video How to use Printf with STM32 Microcontroller- Serial Wire Viewer (SWV) online without registration, duration hours minute second in high quality. This video was added by user BINARYUPDATES 21 April 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 17,115 once and liked it 159 people.