Keil Logo

LX51: Error L133 (SFR Symbol has Different Values)

Information in this article applies to:

  • L251 All Versions
  • LX51 All Versions


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


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


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.


Last Reviewed: Thursday, February 25, 2021

Did this article provide the answer you needed?
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.