By Mcuzone
调试串口波特率:115200-uart2
基于MDKK70-EK_T7硬件平台
关于MQX的nandflash相关驱动可以参考MQX_IO_用户手册Page207
串口输出:
MQX NAND Flash Example Application
==================================
NAND Flash device nandflash: opened
Obtaining NAND Flash organization data ...
ID: 0x2cda9095
Physical page size: 2048 bytes
Spare area size: 64 bytes
Block size: 131072 bytes
Number of blocks: 2048
Width: 8
Number of virtual pages: 524288
Virtual page size: 512 bytes
Size of the write buffer allocated in RAM: 16384 bytes
Erasing block #0 passed.
Writing data to 16 virtual pages of block #0 ... Done
Reading data back from 16 virtual pages of block #0 ... Done
Comparing data ... Compare OK
Erasing block #1 passed.
NAND Flash closed.
基于MDKK70-EK_T7硬件平台
关于MQX的nandflash相关驱动可以参考MQX_IO_用户手册Page207
串口输出:
MQX NAND Flash Example Application
==================================
NAND Flash device nandflash: opened
Obtaining NAND Flash organization data ...
ID: 0x2cda9095
Physical page size: 2048 bytes
Spare area size: 64 bytes
Block size: 131072 bytes
Number of blocks: 2048
Width: 8
Number of virtual pages: 524288
Virtual page size: 512 bytes
Size of the write buffer allocated in RAM: 16384 bytes
Erasing block #0 passed.
Writing data to 16 virtual pages of block #0 ... Done
Reading data back from 16 virtual pages of block #0 ... Done
Comparing data ... Compare OK
Erasing block #1 passed.
NAND Flash closed.