Home |
The ISO 9660 File System Structure The exFAT File System Structure RTFiles-32 in Embedded Applications Optimizing for Best Throughput Optimizing for Best Data Security Using RTFiles-32 with RTTarget-32 Win32 API Emulation with RTTarget-32 Using RTFiles-32 with RTKernel-32 Custom Flash MTD Drivers |
Custom Flash MTD DriversThe linear flash disk driver does not know how to actually handle flash memory. Rather, it interfaces to an MTD (Memory Technology) driver to manipulate the flash. Thus, the same flash disk driver can support many different types of flash memory through different MTDs. MTDs have a similar structure as RTFiles-32 device drivers. They consist of structure RTF_MTD with function pointers to the driver's various entrypoints. To implement an MTD driver structure, you must:
Please refer to the source code of the supplied drivers for examples. File Driver\Rtf32\Mtdfile.c contains a simple MTD driver simulating flash memory in a memory mapped file under Windows. The complete reference of the MTD device driver API is included in the RTFiles-32 Reference Manual. Porting RTFiles-32 to other Platforms
|