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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-23 9:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-23 9:12 AM
Go into the Debugger setting, Flash Download tab, and PICK a flash algorithm suitable for your specific device.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-23 9:18 AM
I've already tried that. It didn't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-23 10:07 AM
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.
Up vote any posts that you find helpful, it shows what's working..
