Hi everyone,
I have a need to store my program in the internal flash memory of the LPC24xx but execute the code from RAM. I tried to use scatter-loading. The problem is that I cannot get my complete memory image copied to RAM. The linker puts my provided sections only in one of the required regions. Could I get a example of how to generate a project that loads the image to flash but at execution time copies the image to RAM and executes from RAM
Thank you, Frank
Hi Robert,
this is exactly what I do but the library code always crashed. Now I found the reason. I accidentally selected MicroLib in my project and this causes the crash in the library code. After deselecting the MicroLib my scatterloading works.
Frank