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

I have to place one function at specific address using scatter file please give me any idea.

i have to place one function at specific address using scatter file please give me any idea.

Means i have 2 scatter file so i want to call from 1st scatter file to 2nd scatter file 'function'.

in the 1st scatter memory reason my function call is there and 2nd scatter memory reason my function definition

so i have to link them at run time.

Parents
  • Hello, I don't understand why you want or need to use multiple scatter files, can you not simply create an execution region for that address containing only this function? This is the type of functionality that scatterloading was designed for.

    ...
        SPECIAL_EXEC_REGION 0xfff00000
        {
            special_function.o (+RO)
        }
    ...

Reply
  • Hello, I don't understand why you want or need to use multiple scatter files, can you not simply create an execution region for that address containing only this function? This is the type of functionality that scatterloading was designed for.

    ...
        SPECIAL_EXEC_REGION 0xfff00000
        {
            special_function.o (+RO)
        }
    ...

Children