This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Relocating all Code

Hi,

My boot code copys all code from Flash into faster SRAM for execution on startup. How can I relocate all of the code to ensure the jumps work.

I've read App note 138 about relocating functions but doing it this way would mean that I have to relocate each C file (there's 19 in this project) and the project would become unmantainable as you have to specify a store and execution address which will change with each code update.
Is it possible to relocate an entire code space?

Any suggestions greatly appreciated.

Thanks

Mark.

0