cancel
Showing results for 
Search instead for 
Did you mean: 

Programming error on STM32L051 during MCU in stop mode

krishna
Associate
Posted on March 26, 2015 at 14:59

Hi,

I am trying to program stm32l051 MCU using IAR workbench and stlink V2 debugger.

I am facing an issue while trying to program it when MCU is in stop mode. In normal mode it works fine.

It is also observed that during stop mode if I pull down the reset line just before starting the download for a small duration, the program could be downloaded successfully.

Please let me know if someone faced similar issue and also possible fix. Please feel free to ask me if any other information is needed.

Thanks & Regards,

Krishna.

#stop-mode #stm32l0 #programming
1 REPLY 1
Posted on March 26, 2015 at 15:36

Select ''program/connect under reset'' or whatever the equivalent programming/connection mode is provided via the debugger options. Make sure your SWD/JTAG interface has NRESET on it.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..