About LPC1788 NandFlash Block Erase!

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

About LPC1788 NandFlash Block Erase!

646 Views
yanpengwang
Contributor I

NandFlash using K9F1G08U0D, Use Nand Flash in the NXP firmware library, I have a problem about nandflash block erase, in the nandflash block addres compute, the K9F1G08U0D datasheet Row.png and the NXP firmware code iscode.png

so the problem is:how to  calculate this rowAddr?  when blockNum = 0 or 16 or 32...... this is not the same as the value of pALE?

Who can explain the problem in detail? help me

Labels (1)
Tags (1)
2 Replies

455 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Yanpeng Wang,

On the following link you can find some documents provided by madD7 that might be helpful to understand the NAND flash interfacing:

Flash File system on Nand Flash memory LPC1788 | www.LPCware.com 

Have you tried using the nandflash_prog example from the LPCOpen Embedded Artists LPC1788 board package? It comes with a driver for the K9F1G NAND flash:

LPCOpen Software for LPC17XX|NXP

Hope it helps!

Best Regards,
Carlos Mendoza
Technical Support Engineer

0 Kudos

455 Views
yanpengwang
Contributor I

Thank you, I think I have resolved.