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

No Algorithm found for: 00000000H - 0000038BH

Hi,

While setting up an experimental project on Keil for STM32F4- DISCOVERY board I came across this error when trying to flash the code.

No Algorithm found for: 00000000H - 0000038BH Erase skipped! Error: Flash Download failed - "Cortex-M4"

I am posting the solution which worked for me as I did not find any threads with solutions mentioned in the forum.

First the cause:

As suggested in many forums this error is occuring becuase you are trying to flash to memory area 0x0000000.

For some reason the flash programming algorithm thinks it needs to flash and program that memory address- this is impossible since that memory is RAM, not Flash.

If you can resolve that issue, then you should be able to flash.

The solution:

Goto "Options for target XXXX"-> Linker ->

Tick the option box for "use memory layout from Target dialog"

Now, there is no confusion of where RAM is and where the Flash is..

Thanks and regards,
Nikhil

0