|ARM Technical Support Knowledge Articles|
Applies to: BL51 Code-banking Linker/Locator
Information in this article applies to:
Is it possible to configure the BL51 Code Banking Linker so that if I go beyond 01FFH in XDATA memory, an error or exception is generated to warn me?
No, this is not possible in the BL51 linker. However, you can fill the XDATA memory from 0200H to FFFFH using an array. If you then reach 01FFH and therefore run out of XDATA memory, the linker will generate an address space overflow error.
The following will work:
static const xdata dummy_array[0xFDFF] _at_ 0x200;
Article last edited on: 2004-06-08 15:14:54
Did you find this article helpful? Yes No
How can we improve this article?