Run a code from RAM

I have 32k code and xdata - 32KB size in my design.
If i want to place a C function into RAM and execute from the RAM how should i do it?what are all the settings i need to do? whether can it be done?

For example if we call function2 from function1, can this function1 be placed inside the RAM?

Will there be any errors?

Parents Reply Children
No data
More questions in this forum