nandflash测试程序
附件是我写的nandflash测试程序,这个程序是对斑竹写的lumit-test_nandflash程序的扩充,能够对nandflash擦除块、写页和读页。这个程序使用步骤:
(1)使用tftp程序中的dn命令
(2)使用终端中的transmit文本文件传送uue文件。
(3)go执行
:D 测试结果如下:
\>go
go at address 0x8000
REFEXTCON = ce2983fd
*** lumit4510 test nand flash id program ***
Nand Flash K9F2808Q0B chip id = 0xec73
*** end ***
Begin to erase the last block...
OK! Compeleted.
Begin to Write the first Page of the last block...
OK! Compeleted.
Begin to Read the first Page of the last block...
528 Bytes verify match!
应该是这样的输出结果么? 输出结果是对的,表示写到page 中的528字节和读到page中的528字节的内容是一致的。 FF Zhi Ci ni!
页:
[1]