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

locating a piece of code

Hi all,

i am using keil uvision3 with ulink.(mcb2100)
can i locate a piece of code to a specific location in internal rom or in internal ram?

What i want to do is,i want to locate some piece of code in rom and some(frequently changed while developing) in ram. i dont want to reload code in ROM every time (as flash writes are limited).i need to just load code which is located in ram.how would i do this?? I think scatter file may be a solution but how?

Thanks,
Dimple.

Parents
  • Use scatter loading file and define different load regions.
    Generate a binary/hex from the axf file using "fromelf" command prompt utility. The output will be two different files for the load regions defined.
    Sample scatter loading description and usage of "fromelf" can be found in the realview linker manual.

    Suvidh

Reply
  • Use scatter loading file and define different load regions.
    Generate a binary/hex from the axf file using "fromelf" command prompt utility. The output will be two different files for the load regions defined.
    Sample scatter loading description and usage of "fromelf" can be found in the realview linker manual.

    Suvidh

Children
No data