| |||||
Technical Support Support Resources
Product Information | BL51: GENERATING USER EXCEPTIONS FOR XDATAInformation in this article applies to:
QUESTIONIs 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? ANSWERNo, 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; Last Reviewed: Tuesday, June 08, 2004 | ||||
| |||||