ARM Technical Support Knowledge Articles

UNRESOLVED EXTERNAL SYMBOL ?C?XPAGE1SFR

Applies to: C51 C Compiler

Answer


Information in this article applies to:


QUESTION

I am using the Dallas 400 in Contiguous Mode. Why do I get the following linker error messages?

*** ERROR L127: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  ?C?XPAGE1SFR
    MODULE:  interr.obj (INTERR)

*** ERROR L127: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  ?C?XPAGE1RST
    MODULE:  interr.obj (INTERR)

I have already tried this project with the Dallas 390, but get the same messages. What is wrong?

ANSWER

Most likely, in uVision, the address extension SFR is being saved in interrupts (see Project — Options for Target — Target — Save Address Extension SFR in Interrupts). However, the Dallas Contiguous Mode only requires that you enable far memory support (see Project — Options for Target — Target — 'far' memory type support).

Disable Project — Options for Target — Target — Save Address Extension SFR in Interrupts since the C51 Compiler always saves the DPX register in interrupt functions for Dallas 390 and 400 compatible devices.

MORE INFORMATION

SEE ALSO

Article last edited on: 2006-10-24 14:14:26

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