Exclude Function out of Program Memory
Dear all,
I'm currently working on ADSP2181. I got some issues that need to be shared to you:
1) Exclude functions out of Programming Memory (PM) when system boot, for example:
int main ()
{
......
......
Function1();
Function2();
......
}
Function1(), Function2(): should be load into Flash (Not to PM now). Whenever Main() call, Function1-Function2 will be load after to run.
2) How can I allocate exactly the beginning-address of each Function in Flash ?
Thanks and Best Regards,
Mike.
Hi Mike,
Are you looking to call these functions in-situ from Flash Memory, or are you looking to copy them into internal memory when they need to be run, i.e. Software Overlays?
If your intention is the latter, which I believe it is from your description below, I would recommend taking a look at EE-100 and EE-249 which cover overlays on the 218x. These can be found via the 'Application Notes' link for 21xx processors from the following page on our website:
http://www.analog.com/ee-notes
regards,
Craig.
Please log in to reply.