We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
Ok, so go to the Options -> Debug -> Settings -> Flash Download, and pick an appropriate Flash Algorithm for the STM32L0 part in question.
Google should have gotten you a better answer than "reinstall everything" from the outset.
Definitely need to work on those skillz www.google.com/search