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

Question about ROM(HUGE) compiler directive

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

Parents
  • 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!

Reply
  • 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!

Children