Keil Logo

LX51: ERROR L133 (SFR SYMBOL HAS DIFFERENT VALUES)


Information in this article applies to:

  • L251 All Versions
  • LX51 All Versions

QUESTION

I'm recompiling an old project and just noticed that I get the following linker error:

L133: SFR HAS DIFFERENT VALUES

The error message refers to SFR C0TE (CAN 0 Transmit Error Register in the 80C390). What is the problem?

ANSWER

The linker now checks to make sure that the address assigned to an SFR is consistent across all modules in the program. This is a safety feature of the linker that confirms SFR values are the same from module to module. If an SFR is declared with different values in two or more modules in the linkage, the error you received is output.

To resolve this problem, carefully check your source and include files to be sure the SFR is defined with the same address everywhere.

MORE INFORMATION

Last Reviewed: Friday, July 15, 2005


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.