ARM Technical Support Knowledge Articles

ERROR L133 (SFR SYMBOL HAS DIFFERENT VALUES)

Applies to: LX51 Linker/Locator

Answer


Information in this article applies to:


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

Article last edited on: 2005-07-15 14:32:03

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential