
M58WR064HU M58WR064HL
Command interface - Factory program commands
6.3.2
Program Phase
The Program Phase requires n+1 cycles, where n is the number of Words (refer to Table 7: Three successive steps are required to issue and execute the Program Phase of the
command.
1.
Use one Bus Write operation to latch the Start Address and the first Word to be
programmed. The Status Register Bank Write Status bit SR0 should be read to check
that the P/E.C. is ready for the next Word.
2.
Each subsequent Word to be programmed is latched with a new Bus Write operation.
The address can either remain the Start Address, in which case the P/E.C. increments
the address location or the address can be incremented in which case the P/E.C.
jumps to the new address. If any address that is not in the same block as the Start
Address is given with data FFFFh, the Program Phase terminates and the Verify Phase
begins. The Status Register bit SR0 should be read between each Bus Write cycle to
check that the P/E.C. is ready for the next Word.
3.
Finally, after all Words have been programmed, write one Bus Write operation with data
FFFFh to any address outside the block containing the Start Address, to terminate the
programming phase. If the data is not FFFFh, the command is ignored.
The memory is now set to enter the Verify Phase.
6.3.3
Verify Phase
The Verify Phase is similar to the Program Phase in that all Words must be resent to the
memory for them to be checked against the programmed data. The Program/Erase
Controller checks the stream of data with the data that was programmed in the Program
Phase and reprograms the memory location if necessary.
Three successive steps are required to execute the Verify Phase of the command.
1.
Use one Bus Write operation to latch the Start Address and the first Word, to be
verified. The Status Register bit SR0 should be read to check that the Program/Erase
Controller is ready for the next Word.
2.
Each subsequent Word to be verified is latched with a new Bus Write operation. The
Words must be written in the same order as in the Program Phase. The address can
remain the Start Address or be incremented. If any address that is not in the same
block as the Start Address is given with data FFFFh, the Verify Phase terminates.
Status Register bit SR0 should be read to check that the P/E.C. is ready for the next
Word.
3.
Finally, after all Words have been verified, write one Bus Write operation with data
FFFFh to any address outside the block containing the Start Address, to terminate the
Verify Phase.
If the Verify Phase is successfully completed the memory remains in Read Status Register
mode. If the Program/Erase Controller fails to reprogram a given location, the error will be
signaled in the Status Register.
6.3.4
Exit Phase
Status Register P/E.C. bit SR7 set to ‘1’ indicates that the device has returned to Read
mode. A full Status Register check should be done to ensure that the block has been
successfully programmed. See the section on the Status Register for more details.