MCU goes to STANDBY after bootup - how to program it again?
- November 8, 2020
- 4 replies
- 1673 views
Hello,
I was trying to configure Internal Wakeup Timer to wake up the STM32L062K8Ux MCU from standby.
I did a mistake (really dumb one) and I dit not placed any delay into the code so after bootup the MCU goes directly into standby mode. Because there is no delay, I do not have any time to connect the programmer again and change the code. In the standby mode the SWD interface seems to be disconnected.
When I was programming the MCU via STM32 Cube Programmer I used the Software reset mode only. The Hardware reset mode is not working in my case. (I do not know why)
Is there are way how to connect and reprogram the MCU please? Or it is unfixible and I need to replace it?
Also, I still does not understand why the code is not working. Could you also give a hint what is wrong there please?
Thanks in advance!
Jiri
