cancel
Showing results for 
Search instead for 
Did you mean: 

How to get back the original demo on the STM32L476 Discovery board?

Sammy
Associate

I was using the preloaded demo for the STM32L476 Discovery board and everything was working, and then I followed the steps on the Getting started with STM32CubeL4 MCU Package user manual to try and run the first example. I followed the steps and once I uploaded the code nothing happened I pressed the reset button on the board, but then the LCD screen turned off and the preloaded demo is gone. The LD1 and LD2 still come on when the USB ST-Link is plugged in but nothing else happens and when I try and upload more code to it the LD1 flashed red and green but nothing else happens. I'm not sure if I accidentally got the board in standby mode or shutdown mode or if there is something else. Is there any way to just reset the whole board back to its original form? Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions

Well pulling BOOT0 HIGH, resetting, and then mass erasing should get it to the blank factory form.

There's perhaps a binary in the CubeL4 board/demo directory

There is, points at "Compiled Demo" here

https://www.st.com/en/evaluation-tools/32l476gdiscovery.html#

https://www.st.com/resource/en/compiled_demos/32l476gdiscovery_demo.zip

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

View solution in original post

1 REPLY 1

Well pulling BOOT0 HIGH, resetting, and then mass erasing should get it to the blank factory form.

There's perhaps a binary in the CubeL4 board/demo directory

There is, points at "Compiled Demo" here

https://www.st.com/en/evaluation-tools/32l476gdiscovery.html#

https://www.st.com/resource/en/compiled_demos/32l476gdiscovery_demo.zip

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