|ARM Technical Support Knowledge Articles|
Applies to: LX51 Linker/Locator
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.
Article last edited on: 2005-07-15 14:32:03
Did you find this article helpful? Yes No
How can we improve this article?