STM32CubeIDE Advanced Debug Features: Part 1
Channel: STMicroelectronics
Date: 2020-11-05

Find out more information: http://bit.ly/STM32CubeIDE-AdvDebug
Development board used: http://bit.ly/NUCLEO-F401RE
STM32CubeIDE quick start guide: http://bit.ly/CubeIDE-QuickStart

Learn how to create your STM32-based application using STM32CubeIDE and use its Advanced Debug Features to enhance your debugging skill set with the NUCLEO-F401RE board and use this knowledge as the basis for your own application using any STM32 with ARM Cortex M3/M4/M7/M23 or M33 cores.

The STM32CubeIDE can be used to create applications for STM32 devices using STM32Cube libraries (HAL and Low Layer versions) and this video series will cover the features for debugging one simple application firmware using that as the basis and augment the debug experience by using the Instrumentation Trace Macrocell (ITM) and the Serial Wire Viewer (SWV) with several different hands-on sessions to explain all possible views and setups in the debug session.

Benefits you will take away:
• Understand the hardware needs to use the SWD + Serial Wire Output (SWO)
• Understand differences between SWD and JTAG, and which ARM Cortex cores can be used
• Understand how to manage the debugger settings in the STM32CubeIDE to access the SWV 
• Learn how to use special breakpoints and live watch during the debug session
• Learn how to retarget the printf() function using the Serial Wire Output (SWO)
• Learn how to use all SWV features, including Data Trace, Time Measurement, Exception Trace and Log, and Statistical Profiling

The code example used in this video series can be downloaded here: http://bit.ly/AdvDebugMaterials

In this video:
We’ll start with the agenda and what to expect for the entire series, as well as a deeper understanding of what the resources are available in the STM32CubeIDE from three major perspectives: 
• code editing
• code writing 
• debugging and programming

Learn the details that allow the STM32 to use the debug interface that supports the Serial Wire Viewer (SWV) and a full description of the elements and features that compose the SWV debug capabilities.

Hardware requirements:
Preferable board: NUCLEO-F401RE, but any Cortex M3 or higher can be used for the hands on session with some minor changes.