I've been trying to flash a sample project (GPIOToggle) with Keil uVision 5 using ST-Link Debugger. However, I am getting an error message that reads - No Algorithm found for 08000000H-08000493H.Erase Skipped.Error:Flash Download Failed- "Cortex M3". I've checked and rechecked target options but it just won't work. Using Windows 8. Any help is greatly appreciated.
Hello Nishant,
have you also checked Target Options -> Debug -> ST-Link Debugger Settings -> Flash Download tab? If there is no Programming Algorithm, you need to "Add" one. Then you should get rid of this message.
Kind regards,
Christopher
Hello Christopher,
Yes I did add the ADuCM360 (On Chip Flash) algorithm. Still the same result.
Regards, Nishant
can you try the "STM32F4xx 2MB Flash" algorithm, please? The ADuCM360 is an Analog Devices chip. I'm not sure why it is shown in that context, but it will not flash a ST chip...
The only other option is "RC28F640J3x Dual Flash". No STM32F4xx 2MB Flash option in the Add Flash Programming Algorithm options.
Is there any way to externally download the STM32F4xx algorithm and include it in the options?
you need to download the Software Pack for the STM32F4xx family. Please use the Pack Installer (you can invoke it from within uVision using the Pack Installer button - fourth right from Target Options).
I did add the software packages after an update. But I'm still getting the same error message. I notice that in the target options (debug) when I select ST-Link Debugger, a section below that reads init file is empty. Am I supposed to specify a particular file there? Also, I tried doing the same exact exercise using Keil uVision 4 in Windows XP - I had no error messages and didn't have to change any settings. Is that due to a difference between uVision4 & 5. I tried installing uVision4 on Windows 8 but it won't start either.
Oops. I just realized when I updated the software packs it only updated the list of available packs and didn't actually install them. Installing the ones required right now. Will post updates.
Thanks!
View all questions in Keil forum