This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error flash download failed on discovery board

Hi guys,
I have recently switched from arduino to arm, so I am a total beginner, so please bare with me :-).
I have bought stm32f051 discovery board and now I want to start with ARMs.
I have downloaded cubemx, keil and st link drivers with st link utility.
I Have created new project in cubemx, just simple one, I wanted to blink builtin LED on board, configured few pins and than opened project in KEIL V5.
I wrote simple blinky code, which just toggles pin with delay.
I have configured all necesary things in target ultilities (clock, reset, st link) and checked, that all necesary packs are installed.

When I try to download file to my board, it puts out error: Flash download failed cortex m0.

Down in editor it says:

Load "discovery\\discovery.axf"
No Algorithm found for: 08000000H - 080013CBH
Erase skipped!
Error: Flash Download failed  -  "Cortex-M0"
Flash Load finished at 21:34:34

I tried all advices, which I found, such as reinstalling drivers, packs and so on, but it still doesnt work. Now I am hopeless. )-:

I would appreciate anything, that could help me with this thing, anyone?

Thank you very much!!

marouncz