ST-Link burns the microcontroler while debuging (Solved)
I'm working on a custom circuit based on STM32 mcu. I can connect the controller and read the memory on ST-LINK utility; then I open atollic, generate a basic code with CubeMX and try to debug.
Atollic is able to connect the MCU but, as soon as I click "start" debuging, it takes less than 1s to lose the connection and after that I can't connect with the controller anymore. No even with the ST-Link utillity.
In the circuit there is nothing else than the MCU and the decoupling caps. The current is around 6mA so I want to believe that the controller is still alive. I've changed the device 3 times and, tried two different boards. Every time I had the same response.
I was working with this circuit for one month (programming and debuging) and it worked fine. Then suddenly this problem showed up and I don't know what to do...
Is there any hardware feature in the STM32 familly which may, somehow, block the processor preventing the debug? also I have the Boot pin unconnected, I don't know how important is to ground this pin during the debugh process.
Thanks
Diego B
