File System Component  Version 6.3
MDK-Professional Middleware for Devices with Flash File System
 All Data Structures Files Functions Variables Enumerations Enumerator Macros Groups Pages
Using USB Memory Sticks

A project using an external USB memory stick as storage device is set up as explained in Create an Application Using the File System. To make use of a USB drive please set File System:Drive:USB to at least '1'. From the USB Component, please select the USB:CORE, set USB:Host to '1', and select USB:Host:MSC. From the Drivers Component, please select your desired USB driver from USB Host (API). When you are finished with the configuration, click OK to apply the new RTE settings to your target. The Project window should look like the following:

usb_drive_proj_window.png
Project Window

For a proper USB drive operation, you need to set the drive characteristics in the FS_Config_USB_n.h file. The following table shows the most important settings in that file:

Name Definition
USBn_FAT_JOURNAL Enable the Journaling to protect the drive from data loss
Note
General System Resource Configuration requirements apply.