Skip to main content
Associate
February 12, 2025
Question

Serial Wire Viewer on STM32H7S78-DK

  • February 12, 2025
  • 2 replies
  • 1082 views

I have a STM32H7S78-DK which is equipped with a STM32H7S7L8H6H MCU. I'm trying to get the Serial Wire Viewer (SWV) to work, but so far without succes. I have also tried it with Core Clock frequency set to 600MHz in the debugger SWV settings.

I'm new to the toolchain so I think it is likely I'm just overseeing something. Any help would be appreciated!

My current settings:

Knipsel.PNGKnipsel2.PNGKnipsel3.PNGKnipsel4.PNGKnipsel5.PNGKnipsel6.PNGKnipsel7.PNG

2 replies

Technical Moderator
February 12, 2025

Hello @Haveyoutriedturningitoffandon ,

The core clock is important, you should set it correctly in the debugger SWV settings at 600MHz.

Please follow these resources:

"When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"
Associate
February 12, 2025

Hi @Imen.D ,

Thank you for your reply! I have followed both the "How to solve debugger cennection issues" pages and paragraph 7.3 "Printf via SWO/SWV" of the app note, but unfortunately without result.

Associate II
March 13, 2025

Having gone through the same trouble with an H7S3L8 board, have you tried to divide the core clock by 3 ?
(Our board has a 600Mhz core clock by default, setting it to 200Mhz worked)

The information should be available in the RCC charter of the reference manual.
(Slower devices use the core clock, while the H7 is core / 3)