2015-03-26 06:59 AM
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 #programming2015-03-26 07:36 AM
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.