Forum Discussion
Altera_Forum
Honored Contributor
10 years agoCopy back operation is not working in NAND Flash
Hi all, I'm using micron NAND flash device and able to read/write and erase the page.Now i want to use copy-back operation . Here is the sequence i followed, http://www.alteraforum.c...
Altera_Forum
Honored Contributor
10 years agoNow I'm able to get the Copy-back complete interrupt.But data is not copied from source to destination address.
I have written some value manually to source block and when i read back the values in destination block ,its 0xFF. Below code command i used for copy-back operation : OUTREG32(g_pNandData,0x08000000 | (srcBlkNum << 7) | 0x0); OUTREG32(g_pNandData+0x10,0x1000); OUTREG32(g_pNandData,0x08000000 | (dstBlkNum << 7) | 0x0); OUTREG32(g_pNandData + 0x10,(0x1100 | iNumPages)); What i am missing in this commands?? note: g_pNandData - Data memory(1 MB) srcBlkNum - source block address to be copied. dstBlkNum - Destination block address. iNumPages - number of pages need to be copied Regards, Surendran