Revision 0.0
November 2008
K5N5629ABA-AD11
- 20 -
MCP MEMORY
Target
7 Program
The device can be programmed in units of a word. Programming is writing 0's into the memory array by executing the Internal Program Rou-
tine. In order to perform the Internal Program Routine, a four-cycle command sequence is necessary. The first two cycles are unlock cycles.
The third cycle is assigned for the program setup command. In the last cycle, the address of the memory location and the data to be pro-
grammed at that location are written. The device automatically generates adequate program pulses and verifies the programmed cell margin
by the Internal Program Routine. During the execution of the Routine, the system is not required to provide further controls or timings. During
the Internal Program Routine, commands written to the device will be ignored.
Note that a hardware reset during a program operation will cause data corruption at the corresponding location.
7.1 Accelerated Program
The device provides accelerated program operations through the Vpp input. Using this mode, faster manufacturing throughput at the factory is
possible. When V
ID is asserted on the Vpp input, the device automatically enters the Unlock Bypass mode, temporarily unprotects any pro-
tected blocks, and uses the higher voltage on the input to reduce the time required for program operations. In accelerated program mode, the
system would use a two-cycle program command sequence for only a word program. By removing V
ID returns the device to normal operation
mode.
Note that Read While Accelerated Program and Program suspend mode are not guaranteed.
• Program/Erase cycling must be limited below 100cycles for optimum performance.
• Ambient temperature requirements : T
A
= 30°C±10°C
Single word accelerated program operation
The system would use two-cycle program sequence (One-cycle (XXX - A0H) is for single word program command, and Next one-cycle (PA -
PD) is for program address and data)
7.2 Writer Buffer Programming
Write Buffer Programming allows the system write to a maximum of 32 words in one programming operation. This results in faster effective
programming time than the standard programming algorithms. The Write Buffer Programming command sequence is initi-ated by first writing
two unlock cycles. This is followed by a third write cycle containing the Write Buffer Load command written at the block address in which pro-
gramming will occur. The fourth cycle writes the block address and the number of word locations, minus one, to be programmed. For example,
if the system will program 19 unique address locations, then 12h should be written to the device. This tells the device how many write buffer
addresses will be loaded with data. The number of locations to program cannot exceed the size of the write buffer or the operation will abort.
The fifth cycle writes the first address location and data to be programmed. The write-buffer-page is selected by address bits A23(max.) ~
A5 entered at fifth cycle. All subsequent address/ data pairs must fall within the selected write-buffer-page, so that all subsequent
addresses must have the same address bit A23(max.) ~ A5 as those entered at fifth cycle. Write buffer locations may be loaded in
any order.
Once the specified number of write buffer locations have been loaded, the system must then write the "Program Buffer to Flash" com mand at
the block address. Any other command address/data combination aborts the Write Buffer Programming operation. The device then begins
programming. Data polling should be used while monitoring the last address location loaded into the write buffer. DQ7, DQ6, DQ5, and DQ1
should be monitored to determine the device status during Write Buffer Programming. The write-buffer programming operation can be sus-
pended using the standard program suspend/resume commands. Upon successful completion of the Write Buffer Programming operation, the
device is ready to execute the next command. Note also that an address loaction cannot be loaded more than once into the write-buffer-page.
The Write Buffer Programming Sequence can be aborted in the following ways:
• Loading a value that is greater than the buffer size(32-words) during then number of word locations to Program step.
(In case, WC > 1FH @Table5 )
• The number of Program address/data pairs entered is different to the number of word locations initially defined with WC (@Table5)
• Writing a Program address to have a different write-buffer-page with selected write-buffer-page
( Address bits A23(max) ~ A5 are different)
• Writing non-exact "Program Buffer to Flash" command
The abort condition is indicated by DQ1 = 1, DQ7 = DATA
(for the last address location loaded), DQ6 = toggle, and DQ5=0. A "Write-to-Buffer-
Abort Reset" command sequence must be written to reset the device for the next operation. Note that the third cycle of Write-to-Buffer-Abort
Reset command sequence(XXXh-F0h) is required when using Write-Buffer-Programming features in Unlock Bypass mode. And from the third
cycle to the last cycle of Write to Buffer command is also required when using Write-Buffer-Programming features in Unlock Bypass mode. A
bit cannot be programmed from “0” back to a “1.” Attempting to do so may cause the device to set DQ5 = 1, or cause the DQ7 and DQ6 status
bits to indicate the operation was successful. However, a succeeding read will show that the data is still “0.” Only erase operations can con-
vert a “0” to a “1."