OneNAND512Mb(KFG1216U2B-xIB6)
3.9 Copy-Back Program Operation
FLASH MEMORY
The Copy-Back program is configured to quickly rewrite data stored in one page without utilizing memory other than OneNAND.
Since the time-consuming cycles of serial access and re-loading cycles are removed, the system performance is improved. The ben-
efit is especially obvious when a portion of block is updated and the rest of the block also need to be copied to the newly assigned
free block.
Data from the source page is saved in one of the on-chip DataRAM buffers and then programmed directly into the destination page.
The DataRAM is overwritten the previous data using the Buffer Sector Address (BSA) and Buffer Sector Count (BSC).
The Copy-Back Program Operation does this by performing sequential page-reads without a serial access and executing a
copy-program using the address of the destination page.
Copy-Back Program Operation Flow Chart
Write ’Copy-back Program’
command
Start
Add: F220h DQ=001Bh
Write ’FBA’ of Flash
Add: F100h DQ=FBA
Wait for INT register
low to high transition
Write ’FPA, FSA’ of Flash
Add: F107h DQ=FPA, FSA
Add: F241h DQ[15]=INT
Read Interrupt register
Add: F241h DQ[6]=WI
Write ’FCBA’ of Flash
Add: F102h DQ=FCBA
Read Controller
Status Register ‘Lock’ bit high
NO
Write ’FCPA, FCSA’ of Flash
Add: F103h DQ=FCPA, FCSA
DQ[6]=1?
YES
Add: F240h DQ[14]=Lock
Write ’BSA, BSC’ of DataRAM
Add: F200h DQ=BSA, BSC1)
Read Controller
Status Register
Add: F240h DQ[10]=Error
Copy-Back Program Lock Error
Write 0 to interrupt register
Add: F241h DQ=0000h
DQ[10]=0?
YES
NO
Copy-Back Program completed
Copy-Back Program Error
: If program operation results in an error, map out
the block including the page in error and copy the
target data to another block.
*
Note 1) Selected DataRAM by BSA & BSC is used for Copy back operation, so previous data is overwritten.
2) FBA, FPA and FSA should be input prior to FCBA, FCPA and FCSA.
3) ’Write 0 to interrupt register’ step may be ignored when using INT auto mode. Refer to chapter 2.8.18.1
71