Post Go back to editing

What Are the Consequences of Power Interruption During the Programming Process of DS28E07?

Category: Datasheet/Specs
Product Number: DS28E07
From the datasheet, I understand that after sending the "Copy Scratchpad" command to the DS28E07, the chip will enter the programming state, which lasts for a maximum of 12ms. I would like to ask: what specific internal steps does the chip execute during this period, and what consequences will occur if there is a power interruption midway?
In my own tests, I observed that during the programming state, the chip first erases the original data. Notably, it erases 16 bytes at a time to the value of 8'hFF. For example:
  • If I edit bytes 0~7, the entire range of bytes 0~15 will be erased.
  • If I edit bytes 24~31, the entire range of bytes 16~31 will be erased.
After this erasure step, the chip proceeds to write the new data. Given this process, if a power interruption happens midway, will it result in scenarios such as:
  1. The data being erased but not rewritten, leaving all relevant bytes as FF?
  2. Corrupted (garbled) data due to incomplete programming?