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.
If not, why not just map your bitmap data ROM in XDATA space?...
Bitmap data is always constant for back-ground display. And if the bitmap data is stored by xdata type, the is required to be initialized every time when the system start-up.
You can't do that to a ROM mapped as XDATA. How do you propose to write to it?
Erik
"About programing w27c512, I did it by another EEPROM programmer not Keil tool early. I don't know..."
Early, I built a xxx.h00 by bank-switching and download the xxx.h00 in external flash.