cancel
Showing results for 
Search instead for 
Did you mean: 

STM32U5 debugger connection issue only when including a specific library.

brohr01
Associate III

I am working with an SMT32u5g9vjt6q and a genuine stlink-v3set from mouser, everything was working as expected until I #included a library...at that point when trying to upload the code via the debug button I would get an "Could not verify ST Device! Please verify that the latest version of gdb-server is used for the connection" error.

Just to be clear this error happens even when I am not using the library, just adding the #include causes the error via the debug button.  Further I can use the run button to successfully upload and ran the code, as soon as I comment out the #include of the library I can go back to debugging as usual.  The code will compile with no errors or warnings even when I implement the library in my code, as well as even running the code w/ library being used.

1 REPLY 1
Shirley.Ye
ST Employee

which library do you include? 

could you please paste your code?