Writing to NAND 最好 use fmd (FLASH Media Driver)
FMD 可以和 FAL Link 成一個 Block driver
You can link the FMD with the flash abstraction layer (FAL) to create a block driver that a file system such as FAT can use.
FMD Interface ( FMD_Init, FMD_Read ... )
+
FAL ( FLASH Abstraction Layer, DSK_Init, DSK_Read ... )
+
FSD ( File System Driver, FSD_MountDisk, FSD_UnmountDisk, FSD_HookVolume, FSD_UnhookVolume )
FAL 的Source Code 在 WINCE 6.0中才有
\PRIVATE\WINCEOS\DRIVERS\MSFLASH\SRC
FAL 的下層好像是 FSD, FAL是做一些 Wear Leveling 的處理
讓FMD和FSD接軌
沒有留言:
張貼留言