|ARM Technical Support Knowledge Articles|
Applies to: BL51 Code-banking Linker/Locator
Information in this article applies to:
I am writing an application that uses code banking and I receive the following warning:
WARNING L19: COMMON CODE SEGMENTS LOCATED TO BANKED AREA
Can you explain what this warning means?
This warning is issued if Common Area segments must be located in the Bank Area (because the Common Area is too small).
For example, if you specify a BANKAREA from 0x8000 to 0xFFFF and your Common Area is larger than 32K, the Common Area segments located above 0x8000 must be duplicated in every bank.
This warning is not issued if the BANKAREA is 64K (0-0FFFFh). In such a case, the Common Area is always located in the Bank Area.
This warning is intended to inform you that code memory in each code bank is wasted. Note that this is not a critical warning. The application is completely functional. The linker makes duplicate copies of Common Area segments in each Code Bank to make sure your program works.
To resolve this problem, you must reduce the size of the Common Area or decrease the size of the BANKAREA.
You may disable this warning with the DISABLEWARNING linker directive which you may select under uVision Project -> Options for Target -> Lx51 Misc -> disable Warning numbers.
Article last edited on: 2005-07-19 15:14:50
Did you find this article helpful? Yes No
How can we improve this article?