2025-12-01 3:05 AM
Hello people,
I have been developing a firmware to be used in the stm32g051. One of the features is the ability to respon to request to get information from the uC. I used dma for the uart1 tx and rx. I was happily developing and testing the new feature added into the stm32g051. Then when I use it without the debugger, it is unable to stablish communications between the PC and the microcontroller.
The curious thing is the fact that I remove the debugger -I disconnect it- and the communication still works. It is the "reset" without debugger what is unable to stablish the connection.
I change the clocks following the several post regarding this problem but the solution still eludes me.
2025-12-02 6:18 AM
If PVD is triggered but the interrupt isn't implemented anywhere, that would show up as a random call to Default_Handler, which may show up as WWDG_IRQHandler as shown.
Implementing the handler isn't going to solve your power problems, of course.