BL51: WARNING 20 (NBANKS LESS THAN # OF CODE BANKS), PT 1
Information in this article applies to:
I have a project which uses code banking, but I get the following error when I link my project:
*** WARNING L20: L51_BANK.A51: NBANKS < NUMBER OF CODE BANKS NBANKS: 16 ACTUAL: 229 LINK/LOCATE RUN COMPLETE. 1 WARNING(S), 0 ERROR(S)
This warning is not documented in the 8051 Utilities Manual.
You need to specify which code banks to put your object files into.
This can be solved in two ways. Either in µVision or on the command line.
In µVision choose 'Edit Project' from the Project menu:
If you are calling BL51 from the command line, then you must use the BANKx directive. For example, to put 'c_bank0.obj' into bank 1, use:
Last Reviewed: Wednesday, August 3, 2005
of your data.