I have a STM32 CortexM4 microcontroller that has a limited flash memory size. There are many classes in my keil project that they'r never run together. So i have decided to run these classes distinctly after compile and converting them to a bin file in SD card memory. Whenever i need a class, i want to copy the bin file from SD Card to internal RAM (in the correct fixed address for example 0x20010000). How can i implement this procedure correctly in the KEIL compiler? of course i don't want to do any change to my hardware. and i have many other function and classes in my project that they will called by the other classes that i want to copy to RAM, i means that useing Boot loader does not help me in this case.
You should look up detail on overlays.
Good luck. You'll need it!!!
i read about OVERLAY now and i think it is exactly what i need. thank you so much.