We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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.
Did you enable in L51_BANK.A51:
?B_RTX EQU 1 ; 0 for applications without real-time OS
Are you perhaps not using the latest L51_BANK.A51 file?
I set B_RTX to 1. I used L51_BANK.A51 Version 2.08. Is it the latest version? If it not the latest version, How can I get the latest version?
Erez
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.