2019-09-23 09:01 AM
2019-09-23 09:12 AM
Go into the Debugger setting, Flash Download tab, and PICK a flash algorithm suitable for your specific device.
2019-09-23 09:18 AM
I've already tried that. It didn't work.
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.