Keil Logo

BL51: WARNING 3 (ASSIGNED ADDRESS NOT COMPATIBLE)


Information in this article applies to:

  • C51 Version 5.50

SYMPTOMS

When linking your project, the linker reports the following diagnostic:

WARNING L3: ASSIGNED ADDRESS NOT COMPATIBLE WITH ALIGNMENT

CAUSE

This warning is generated if you are using explicit addresses in the CODE/XDATA/DATA directives in four situations :

  • If INPAGE segments are forced at addresses where they will not fit within a 256 byte PAGE.
  • If INBLOCK CODE segments are forced at addresses where they will not fit within a 2KB BLOCK.
  • If PAGE segments are forced at addresses that are not a 256 byte page beginning.
  • if BITADDRESSABLE DATA segments are forced outside the bitaddressable space.

RESOLUTION

You need to analyze the source of the address incompatibility and correct it. If your bit addressable segments are too long, adjust them. If your PAGE data is too long, shorten it or change the memory type.

MORE INFORMATION

Last Reviewed: Monday, October 23, 2006


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.