|ARM Technical Support Knowledge Articles|
Applies to: BL51 Code-banking Linker/Locator
I have used a '138 to decode an 8K RAM at address 2000h to 3FFFh. What's the best way to address that memory? Should I use the _at_ keyword in the C compiler or should I use the linker?
Accessing this memory is best done using the linker. If you link your program with the following command line:
BL51 myprog.obj ... XDATA(2000h)
the linker will automatically locate your XDATA variables at 0x2000.
Article last edited on: 2006-10-16 10:41:13
Did you find this article helpful? Yes No
How can we improve this article?