29.04.2015 Views

DevKit8500D/A User Manual - DMCS Pages for Students

DevKit8500D/A User Manual - DMCS Pages for Students

DevKit8500D/A User Manual - DMCS Pages for Students

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

drivers/usb/gadget.<br />

3.5 Introduction of driver<br />

3.5.1 NAND<br />

App, System call<br />

<strong>User</strong><br />

VFS<br />

MTD user module<br />

JFFS2 JFFS Char device Block device<br />

Memory technology device<br />

Generic NAND driver<br />

Kernel<br />

MTD chip driver<br />

NAND flash<br />

chip<br />

driver<br />

CFI flash<br />

er<br />

driv<br />

RAM,ROM<br />

etc<br />

Chips<br />

GPMC module<br />

NAND flash<br />

Hardware<br />

Figure 3.5.1 Modular structure <strong>for</strong> NAND<br />

Solid-state memory used in embedded systems is mainly flash; it is NAND flash in this system.<br />

NAND flash is used as a block device, on which the file system is arranged; interaction between<br />

user and NAND flash is mainly realized by a specific file system. In order to shield difference in<br />

different flash memories, kernel inserts an MTD subsystem between the file system and the<br />

specific flash driver <strong>for</strong> management.<br />

There<strong>for</strong>e, the user accesses NAND flash through the following process:<br />

<strong>User</strong>->System Call->VFS->Block Device Driver->MTD->NAND Flash Driver->NAND Flash。<br />

39

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!