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

Loading a bigger program via Keil Monitor

Hi,
I like to simulate the program larger than 8KB via Keil monitor, and separate the functions and constant data and put constant data to a extra eeprom.

The steps I did are as follows.
1. My test board has a eeprom for bank-switching.
2. Genrated 2 hex file, bank 1 and common area. (xxx.hex and xxx.h00)
3. Loading xxx.h00 to the eeprom early.
4. Using "Start the debug session" to start the simulation.

Got a Monitor Error and "illegal write access at CODE address ...etc."

Please give a help. Tks.

Parents
  • So, you basically have a standard 8051-with-external-CODE-memory system.

    You have a full 64K of code memory - there should be no reason to do any cunning tricks to fit your 8K code into this memory!
    You should have plenty of room!

    What exactly are you trying to do?

Reply
  • So, you basically have a standard 8051-with-external-CODE-memory system.

    You have a full 64K of code memory - there should be no reason to do any cunning tricks to fit your 8K code into this memory!
    You should have plenty of room!

    What exactly are you trying to do?

Children
No data