2026-02-03 8:28 AM - last edited on 2026-02-27 1:29 AM by Imen.D
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?
Solved! Go to Solution.
2026-02-09 7:53 AM
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.