How to execute code from SRAM in ADUC7026 Processor
First result to a google search of "keil place function in ram"
ARMCC: EXECUTING FUNCTIONS IN RAM
It's for keil 3 but it's still valid.
Here's what it looks like on one of my Cortex M3 projects in Keil 5 but it would be the same for ADuC7026 except the addreses would be different.
It depends on the IDE you're using and what exactly you want to achieve.
In most IDEs there should be an option to place the functions from a source file in RAM.
The functions themselves will be stored in flash, but the c initialisation before main() will copy the code to SRAM and any calls to those functions will point into SRAM.
Thank you Alex for your reply,
I am using Keil V 5.1. I couldind find any related setting. Any idea about implementation of RAM execution in Keil IDE?
Retrieving data ...