Hi! I have some problems linking my program on a P5MX Chip with the LX51 V3.54. All my files are compiling succesfully and I want to use a linear addressing without banking and I have the following error : ERROR L210: I/O ERROR ON INPUT FILE: EXCEPTION 0021H: PATH OR FILE NOT FOUND FILE: D:\KEIL\C51\LIB\MX51BANK.OBJ Do I need this file anyway with no banks settings or is there a solution to link without this file?
I already use the ROM(HUGE) Directive. here are my compilation options, perhaps, there is a problem with some of these : AX51 = DB XR LI OJ($@) MOD_MX51 CX51 = PRBROWSE DB OE CD NOIP ROM(HUGE) SMALL OT(9,SPEED) OJ($@) RF(proj.REG) LX51 = TO proj.ABS CLASSES (XDATA (0x000000 - 0x0007FF), ECODE (0x800000 - 0x817FFF)) SEGMENTS(...,...,...,) IXREF SY DL RF(proj.REG) Thanks.
Take a look to Application Note 160 ("http://www.keil.com/appnotes/docs/apnt_160.asp"). It explains the ROM HUGE mode that does not require this banking file at all.
You must include MX51BANK.A51 in your project and you must configure it for the number of banks of code space. Jon
View all questions in Keil forum