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

How to simulate write operation to FLASH?

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!

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

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

Children