Keil Logo

Flash Drive

Flash Drive options allow configuring RL-FlashFS to use Flash devices. Set the options manually or use the Configuration Wizard.

Flash Drive Options

The following options can be configured:

  • Flash Drive enables support for a Flash Drive. The Flash drive is not used when this option is disabled. It must be set to 1 to enable it and 0 to disable it.
    #define FL0_EN      1
    
  • Base address specifies the device base address in the memory space of the processor.
    #define FL0_BADR    0x80000000
    
  • Device Size specifies the size of the flash device to be used for storing files. Typically, this is the whole size of the flash device, specified in bytes. It is allowed to specify only a part of the device to be used for the Flash File System. The rest of the device might be used for the application code. In this case, the function EraseChip must not be provided in the driver control block. The value for the EraseChip function must be set to NULL.
    #define FL0_SIZE    0x0200000
    
  • Content of Erased Memory specifies the initial content of the erased Flash Device. In most cases, this value is set to 0xFF. Accepted values are 0xFF or 0x00.
    #define FL0_INITV   0xFF
    
  • Device Description file specifies a file containing the Flash device sector layout description. The file is named FS_FlashDev.h and is tailored to a specific Flash device. Several description files are available in the folder \ARM\RL\FlashFS\Flash.
    #define FL0_HFILE   "FS_FlashDev.h"
    
  • Default Drive [F:] enables the Flash Drive as a default system drive. This drive is used, when a drive letter is not specified in a file name.
    #define FL0_DEF     1
    
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.