I am using AT89C51RD2 with KEIL and Proteus VSM 7.1 SP2. The problem i am facing is: I am using "Small" memory model for AT89S52 (256 bytes RAM). Due to Address Overflow (Lot of variables), now I am using AT89C51RD2 (256 + 1792 bytes on-chip XRAM) So i have selected "Compact" memory model to use XRAM. Now Compiler Side there is no problem, Keil succesfully Creates HEX files. But when i am simulating this hex file with Proteus there is Blank Display and nothing at all.
Proteus Simulation log gives message: [HD44780]Controller received data whilst busy.
What is the problem ?
Same code creates this problem if "Compact" memory model is selected.
Please Help !
Thank You Very Much Erik! and Andy! for help. 'xdata' specifier is working, Now Proteus simulating very well.
Thanx again.
"Now Proteus simulating very well."
It was probably simulating very well all the time!
Quite possibly, your PDATA was not correctly configured, and the simulator was faithfully simulating the resulting problems!
Anyhow, good luck with the rest of the project...