cancel
Showing results for 
Search instead for 
Did you mean: 

Debug losing connection with Stm32WB55 target

GYV
Associate II

Code is written using stm32CubeMX. Connecting with stmlink V3 Minie. 
Executing step by step, it appears that debug fails (lose connection) when executing debug_init. In fact debug_init creates the problem when programming pa13.
When removing the initialization of PA13 and PA14 in debug init, things seems to work but I have no idea of potential side effect. 
An recommendation?

10 REPLIES 10

Yes. this is true. I am at a very early stage of my project amd will likely have to refine the CubeMx definitions. So I choose to place it in a place that should survive code re-generation from cubeMX.