MuxOneNAND2G(KFM2G16Q2A-DEBx)

FLASH MEMORY

MuxOneNAND4G(KFN4G16Q2A-DEBx)

3.12.1 Copy-Back Program Operation with Random Data Input

The Copy-Back Program Operation with Random Data Input in MuxOneNAND consists of 2 phase, Load data into DataRAM, Modify data and program into designated page. Data from the source page is saved in one of the on-chip DataRAM buffers and modified by the host, then pro- grammed into the destination page.

As shown in the flow chart, data modification is possible upon completion of load operation. ECC is also available at the end of load operation. Therefore, using hardware ECC of MuxOneNAND, accumulation of 1 bit error can be avoided.

Copy-Back Program Operation with Random Data Input will be effectively utilized at modifying certain bit, byte, word, or sector of source page to destination page while it is being copied.

Copy-Back Program Operation with Random Data Input Flow Chart

Start

Select DataRAM for DDP

Add: F101h DQ=DBS

Write ‘DFS*, FBA of Flash Add: F100h DQ=DFS, FBA

Write ‘FPA, FSA’ of Flash Add: F107h DQ=FPA, FSA

Write ‘BSA, BSC’ of DataRAM Add: F200h DQ=BSA, BSC

Write 0 to interrupt register1)

Add: F241h DQ=0000h

Write ‘Load’ Command

Add: F220h

DQ=0000h or 0013h

Wait for INT register low to high transition

Add: F241h DQ[15]=INT

Read Controller

Status Register

Add: F240h DQ[10]=Error

*DBS, DFS is for DDP (DFS must be same)

NO

DQ[10]=0?

 

Map Out

 

YES

Random Data Input

 

 

Add: Random Address in

 

 

Selected DataRAM

 

 

DQ=Data

 

 

 

DQ[10]=0?

 

Write ‘DFS, FBA of Flash

YES

NO

 

Add: F100h DQ=DFS, FBA

 

Copy back completed

Copy back Error

 

Write ‘FPA, FSA’ of Flash

 

 

Add: F107h DQ=FPA, FSA

 

 

Write 0 to interrupt register

 

 

Add: F241h DQ=0000h

 

 

Write ‘Program’ Command

 

 

Add: F220h

 

 

DQ=0080h or 001Ah

 

 

Wait for INT register

 

 

low to high transition

 

 

Add: F241h DQ[15]=INT

 

 

Read Interrupt register

 

 

Add: F241h DQ[6]=WI

 

 

NO

Read Controller Status Register

 

DQ[6]=1?

‘Lock’ bit high

 

YES

Add: F240h DQ[14]=Lock

 

 

 

Read Controller

 

 

Status Register

 

 

Add: F240h DQ[10]=Error

Copy back Program Lock Error

 

 

 

NOTE :

1) ‘Write 0 to interrupt register’ step may be ignored when using INT auto mode. (Refer to chapter 2.8.18.1)

- 115 -

Page 115
Image 115
Samsung KFN4G16Q2A, KFM2G16Q2A warranty Copy-Back Program Operation with Random Data Input, 115