Hi,
i am using keil ide and controller LPC1837. i want to execute the function which is using IAP commands from RAM.
I found options are available to make that executable code in RAM in following link.
http://www.keil.com/support/docs/3228.htm
I followed the steps given in above link, but i don't find the code gets stored in RAM memory area i have given.
In alternate method, i tried to copy a functions to RAM area using memcpy(). After doing, i was able to see that my code (function) was copied in the RAM area i passed in memcpy. Now i need to execute that functions in RAM.
How to do that. Can anyone help me on this.
Then don't use the same names. Use the memory method, or have the linker place the function in RAM in the first place.