Mosaic
Well-Known Member
Hello,
While the Proteus simulator permits a 16F886 to trigger a single eeprom write (WR set) and then reactivate GIE and continue processing instructions before the 10mS write wait period. The actual chip does not complete the write unless the prg loop waits the 10 mS or so for WR to clr b4 doing anything else..
Can anyone suggest a workaround?
Edit:
Sorted it out: none of the key eprom registers can be altered b4 the write is complete. Eg. EEADR.
While the Proteus simulator permits a 16F886 to trigger a single eeprom write (WR set) and then reactivate GIE and continue processing instructions before the 10mS write wait period. The actual chip does not complete the write unless the prg loop waits the 10 mS or so for WR to clr b4 doing anything else..
Can anyone suggest a workaround?
Edit:
Sorted it out: none of the key eprom registers can be altered b4 the write is complete. Eg. EEADR.
Last edited: