??? 11/16/07 07:27 Read: times |
#147053 - Use the Linker Responding to: ???'s previous message |
Shehryar Shaukat said:
For this reason i have to be aware of the exact locations of my external XDATA locations since my CODE that will run in the External RAM will also have variable declarations. I see. But manually assigning absolute addresses to individual variables is an extremely cumbersome way to do this! It will be a maintenance nightmare! It is the Linker's job to assign addresses to program "objects" (code & data) - you can either tell it an address range to exclude from data use, or a range to allow for data use. See the Linker Manual. Yes i have started reading the user manual of the KEIL Uvision. Better late than never! Remember, though, that you need to understand the whole tool chain - including Linker and Compiler... |