Keil Logo

File Data Fragments

File Data Fragments are of variable size and are fully defined through the file allocation information record.

To make optimum use of the Flash Block, create big file fragments to reduce the total number of file fragments. It is not optimal to open a file for appending or writing a byte to it and close the file. This approach creates huge file allocation information records, which consumes 12 bytes of Flash in total; 8 bytes for the file allocation information and 4 bytes for the information. In addition, such an approach creates slow access times to files.

  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.