Hi, My code doesn't work if I compile it with ROM(HUGE) mode, but works fine if compile it under ROM(LARGE) mode. Any comments would be appreciated. Thank you! Processor: p87c51MB2 CX51: V7.04d LX51: V3.54
Hi, Thank you very much! It is great help! I changed bit ECRM from "1" to "0" in START_MX.A51 and created my project. It started running from my emulator(NOHAU. Code mapped in emulator and XDATA mapped on target). But it still doesn't run if I load code to target. If code is less than 64k, I can run code from target without any problems. I made EAM,ESMM and EIFM all "1". Is there anything I should do for code beyond 64k? Thank you!
P89c669 does not support ecrm,but how can I to use or not use ecrm in keil
Such problems often stem from some bit in some SFR not being (re)set in startup.a51. I have not looked at the 669 for a long time but somwhere in the old DNA computer is floating around something about a bit that need be set to switch to 24 bit mode. Erik
such as EAM1:0=00 After reset, bits EAM1:0=00 (default value) place MX2 part in fully pin-to-pin 80C51 binary compatible micro = 16 bit address Erik