Hello, gantleman!
I met some difficulties when simulating AT89C51RE2. The project written on Assembler works correctly in the hardware, but doesn't work in Keil 3 Simulator. The problem consist in that simulator doesn't write to FLASH, (after WRITE operation the content of FLASH remains unchanged).
But I say again, the real chip operates correctly.
May be I should set some flags/options etc., or write somewhat in the *.ini file before simulation?
Please, help me!
Maybe they do - you would have to ask the specific providers.
Note the operation would be proprietary to the chip manufacturer - in this case, Atmel - so have you tried asking Atmel?
Yes, I did. I wrote a code exactly matching to the recommendations given in Atmel datasheet (figures 13 and 14). But nothing happened with FLASH content.
I wonder - does somewhat way exist to workarount this problem? Or, maybe other simulators support FLASH WRITE operation in AT89C51RE2?
Does your "writing to flash" involve the use of Atmel ROM calls?
uVision doesn't simulate that kind of thing...
View all questions in Keil forum