|ARM Technical Support Knowledge Articles|
Applies to: BL51 Code-banking Linker/Locator
Information in this article applies to:
Is there a way to get the linker to recognize a maximum size of 4K or 8K for code space?
By default, the linker recognizes that the address space of the CODE memory space is from 0x0000 to 0xFFFF or 64K. You may change the starting and ending address of the CODE space using the linker's CODE directive as follows:
BL51 PROG.OBJ CODE ( 0 - 0x7FFF )
In uVision, you may open the "Options for Target" window, find the "Eprom" field and type the starting address and the memory size. For example, if you desire 32K for CODE space starting at address zero, you may type 0x0000 as the starting address and 0x8000 for memory size; this results in an address range from 0x0000 to 0x7FFF.
Article last edited on: 2004-06-17 13:39:21
Did you find this article helpful? Yes No
How can we improve this article?