This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RTX with code banking

Compilation to C8051F124 device using code banking and RTX full generate the error
linking...
*** ERROR L127: UNRESOLVED EXTERNAL SYMBOL SYMBOL: ?B_RESTORE_BANK MODULE: U:\Bin\RTXCONF.obj (?RTX?CONFIGURATION)
*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL SYMBOL: ?B_RESTORE_BANK MODULE: U:\Bin\RTXCONF.obj (?RTX?CONFIGURATION) ADDRESS: 10013FEH

The file RTXCONF.A51 (release 7.10 from 7-JAN-2004) contains the lines
EXTRN CODE (?B_RESTORE_BANK)
?RTX_SWITCHBANK:
; Entry in L51_BANK that restores an old bank
JMP ?B_RESTORE_BANK

B_RESTORE_BANK does not appear in any other line or file.

Parents Reply Children
  • I found L51_BANK.A51 Version 2.22.
    Now (thanks to your advice) the compilation completed.
    However this raised new problems.
    a) Linker warning
    b) Creating hex file failed.

    The messages are

    linking...
    *** WARNING L9: EMPTY SEGMENTS ENCOUNTERED
    Program Size: data=238.7 xdata=3821 const=2417 code=57053
    creating hex file from "U:\Bin\TCU"...
    Extended 8051/251 Object to Hex File Converter V1.36
    COPYRIGHT KEIL ELEKTRONIK GmbH 2000 - 2004
    GENERATING INTEL HEX FILE: U:\Bin\TCU.hex
    *** ERROR: ADDRESS OUTSIDE INTEL-HEX RANGE (USE 'H386' CONTROL)
    *** OHX51 ABORTED.

    Erez