I'm using a STM32L031 with Eclipse for my application. When in debug mode everything works fine. But when I stop debug mode or power off and on again, the STM32L031 stops working.
I had expected that after downloading the code into the chip, it should work whenever I power it on.
And since I'm not using an evaluation board, there is no reset button so I cannot reset it.
How to solve this problem? Or is there a way to reset the chip without requiring the Reset button hardware?