Skip to main content
Garnett.Robert
Senior III
March 8, 2025
Question

STM32H7B3I-DK - Getting the SWV ITM To work

  • March 8, 2025
  • 2 replies
  • 838 views

Hi,

 

I noticed a few people were having problems getting the SWV Console to work.  I had the same trouble with the STM32H7B3I-DK. Trace would work, but neither the ITM or the Profiler would produce anything.  I fixed it by making the clock frequency setting halsf of the SytemCoreClock frequency which was maxed out at 280 MHz.

 

Setting the Core Clock MHz to 140 did the trick:

 

2025-03-08_17-31-52.png

2 replies

Semer CHERNI
ST Employee
April 10, 2025

Hello @Garnett.Robert 

First let me thank you for posting.

In fact the STM32H7B the traceportclk can take one of 4 clock sources:

  • HSI
  • CSI
  • HSE
  • PLL1 R

If the project is started from the MCU selector, the default value is HSI and if the project is started from the board selector the default value is PLL1R.

BR,
Semer.

Pavel A.
Super User
April 11, 2025

.