Skip to main content
Associate II
March 10, 2025
Question

STM32F4 - Issue with SWV

  • March 10, 2025
  • 1 reply
  • 401 views

Hello,

I am using the Nucleo-STM32F411RE development board, I have enabled SWV and configured it as per the instructions. But, Getting error saying below.

"

Failed to Enable SWV.

SWV will be disabled for this debug session.

I am not sure, What is missing. I have followed all the instructions mentioned.
Please find the attached detailed configuration and error message snapshots.

Thank you!!
Akash



Akash_M_0-1741591635871.pngAkash_M_1-1741591699210.pngAkash_M_2-1741591727022.png

Akash_M_3-1741591757019.png

 

1 reply

KDJEM.1
Technical Moderator
March 25, 2025

Hello @Akash_M;

 

I recommend you to take a look at UM2609 and precisely section 3.2 Debug with Serial Wire Viewer tracing (SWV). This section can help you to check all SWV debug configuration steps.

Also, I advise you to check the Nucleo-F411RE jumpers. For that please take a look at  STM32 Nucleo-64 boards (MB1136) - UM1724.

 

I hope this help you.

Thank you.

Kaouthar

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.