Skip to content

Keil uVision on STM32F030 : Fixing Error: Flash Download failed – “Cortex-M0”

July 25, 2015

Recently bump into below error when I want to run my program in STlink/V2 debugger. The Build output pane is showing below message:

No Algorithm found for: 08000000H - 08000877H
Erase skipped!
Error: Flash Download failed  -  "Cortex-M0"

Error MessageIn order to fix this problem, bring up ‘Cortex-M Target Driver Setup’ window using steps below:

  1. Click on menu bar ‘Project’
  2. Options for Target, this will bring up ‘Options for Target’ window
  3. Click on ‘Debug’ tab
  4. In the debugger device selection, click on ‘Settings’, this will bring up ‘Cortex-M Target Driver Setup’
  5. Click on ‘Flash Download’ tab
  6. In ‘Download Function’, select ‘Erase Full Chip’
  7. Below are the snapshot of the above selection steps

FixProblemMethod

Then I perform ‘Flash Download’ by

  1. In menu bar, click Flash
  2. Select ‘Download’

Above steps only require to perform once, then I can enter start/stop debugging session. ‘Flash Download’ steps probably is not require, but since I have perform those steps, I just added it here.

Advertisements

From → Embedded System

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: