cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to enable SWV.

MPark.5
Associate

Hi, I use an stm32f429 discovery board to examine some exercises.

When I enter debug mode, SWV error message appears.

That message appears today, not until yesterday, but I didn't change any settings.

error message

Failed to enable SWV.

SWV will be disabled for this debug session.

Tell me how to solve it, please...

7 REPLIES 7
Edimahler
Associate III

Same here.

Yesterday all was still fine, then I put my laptop in sleep mode over night and logged in this morning like every day. Yesterday the SWV communitaction was still possible, today this error message. Already restarted CubeIDE, un/replugged the ST-Link programmer. Programming and debugging is still possible, but not the tracing functionality...

@MPark.5: Could you already find a solution for this?

Thanks a lot.

AT38
Associate III

FWI, I have this problem today. No reason, nothing has changed. Suddenly "Failed to enable SWV".

This forum post is the only google hit I got.

Will report back if I solve it.

AT38
Associate III

Reboot fixed it.

ASaye.3
Associate II

I am facing the same problem. I am newly using Microcontroller. I don't know how to reboot it. How can I reboot it??

Restart your computer and then run the application again. ​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

I did that, but still, I am getting that error.

Garnett.Robert
Senior III

Hi

 

I am also getting this error:

Snag_1e81a950.png

 

The project compiles fine.

 

Snag_1e98eb3b.png

I would assume, although I am probably incorrect, that symbols are retrieved from the map file which is being generated and is not locked or otherwise inaccessible.

 

I tried restarting the IDE and my computer but the problem remains.

 

This version of CubeIDE:

Version: 1.16.1

Build: 22882_20240916_0822 (UTC)

 

seems to have a few issues. This error and the mis-framing of Live Expressions structures hasn't occurred in previous versions of the IDE, (in the thousands of hours of my experience of course.)

 

See my post:

https://community.st.com/t5/stm32-mcus-boards-and-hardware/smcubeide-live-expressions-incorrect-data-framing-weird/m-p/723598#M21511

 

Kind Regards

Rob