STM32CubeIde: plotting data using SWV.

preview_player
Показать описание
A short description how to plot variables using SWV Data timeline graph .
The board I am using (NUCLEO-L476RG):

Configuring SWV for printf function:

Please check the website to get more detailed insights about programming STM32 microcontrollers:

0:00 General description
0:59 Opening SWV Data Trace Timeline graph and configuring it
1:36 Resuming the code and plotting data in real time
2:00 Using the Timer Update Interrupt to sample data at higher rate
3:03 Final demonstration
Рекомендации по теме
Комментарии
Автор

when i press the config trace nothing happenned is there any suggesstions

alihancoban
Автор

The terminology Data Trace Comparator 0-3 is kind of strange.. what is comparing? And what are the 32 ITM Stimulus ports for?

I thought Trace Streaming requires dedicated 1-4 TPIU Trace pins.. but here it looks like those signals are routed to the single SWV/SWO pin? For example, isn't SWV also used for ITM_SendChar()?

bennguyen
Автор

Trace become disable while debugging, what to do?

kalyanijog
visit shbcf.ru