LX51: ERROR L133 (SFR SYMBOL HAS DIFFERENT VALUES)
Information in this article applies to:
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?
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: Friday, July 15, 2005
of your data.