Keil™, An ARM® Company

RL-ARM User's Guide

Program and Erase Code

The RL-FlashFS uses three low-level user-provided functions to control the Flash device. These functions are located in FS_FlashPrg.c in the \KEIL\ARM\RL\FlashFS\Flash\ folder.

  • fs_Init
    This function is called when the RL-FlashFS is initialized by the finit function.
  • fs_EraseSector
    This function is called by the RL-FlashFS to erase a flash sector andfrom the fformat function to format the device.
  • fs_ProgramPage
    This function is used to program data into a Flash Device.