cancel
Showing results for 
Search instead for 
Did you mean: 

Hello, i got STM32F4 and i am working on it with Keil. When i try to load my code i got "Cannot Load Flash Programming Algorithm" error. Can anybody help me with this issue?

COcak
Associate
 
3 REPLIES 3

Go into the Debugger setting, Flash Download tab, and PICK a flash algorithm suitable for your specific device.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
COcak
Associate

I've already tried that. It didn't work.

Ok, then you're going to need to review where the compiler/linker is placing your code.

The algorithms for internal FLASH will assume a base of 0x08000000, and a size of 1MB, or perhaps 2MB depending on model selected.

Flash algorithms won't work for RAM in the 0x10000000 or 0x20000000 regions, for those you'll be wanting to use a Debugger Script, and LOAD the firmware image into RAM more directly.

Got very little to work with here. Perhaps get more expansive on the detail and context, with things like error messages, logs, and map files.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..