cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L0538-Disco Loses Programming

tom239955_stm1
Associate II
Posted on June 23, 2016 at 02:17

When I connect my board to my computer via usb (cn2) I lose the programming. I lost the factory programming to start with. I downloaded the Keil uVision5 compiler and downloaded the blinky app to the discovery board. It works until I either unplug the usb cable and plug it back in or shut my computer off and reboot. Has anybody else had this problem? If I program my board and unplug the usb cable and plug it into CN3 (USB User) it runs properly.

Tom

#lost-programming
7 REPLIES 7
Posted on June 23, 2016 at 02:21

Has anybody else had this problem?

No, can't say I've heard anyone either. What version of firmware is running on the ST-LINK? Is it current?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
tom239955_stm1
Associate II
Posted on June 23, 2016 at 15:25

How do I find the firmware version?

Walid FTITI_O
Senior II
Posted on June 23, 2016 at 17:03

Hi smuts.tom,

I recommend you to upgrade the ST-Link firmware version to V2-1 through this

http://www.st.com/content/st_com/en/products/embedded-software/development-tool-software/stsw-link009.html

-Hannibal-

Posted on June 23, 2016 at 17:23

How do I find the firmware version?

Well there is the debugger configuration pane in Keil, or you could use the ST-LINK Utilities.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
tom239955_stm1
Associate II
Posted on June 24, 2016 at 03:34

I have version 2-1 installed. I need to know whether it's my computer or the Discovery board so I ordered another board. I'll know Monday which it is.

Posted on June 24, 2016 at 08:48

The firmware version is something else, and can be updated to the current release via the ST-LINK Utilities.

0690X00000605VsQAI.png

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
tom239955_stm1
Associate II
Posted on June 25, 2016 at 15:48

OK. I just upgraded to V2.J27.M15 via ST-LinkUpgrade.exe