MDK-ARM Keil, MDK-ARM Datasheet - Page 54
![KIT REALVIEW MCU DEVELOPMENT](/photos/9/32/93274/mdk-arm_sml.jpg)
MDK-ARM
Manufacturer Part Number
MDK-ARM
Description
KIT REALVIEW MCU DEVELOPMENT
Manufacturer
Keil
Type
Compiler and IDEr
Specifications of MDK-ARM
For Use With/related Products
ARM MCUs
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 54 of 156
- Download datasheet (3Mb)
54
Volume Maintenance Routines
As you create and update files, it is important to maintain the health of the drive.
A number of functions maintain the volume and manipulate the content of the
drive. The file system provides five drive and three file maintenance functions.
We have already used the fcheck() and fformat() functions. The additional drive
maintenance functions include ffree() that will report the available free disk space
and fanalyse() that can be used to check the fragmentation level of a selected
drive. This function returns a value 0 – 255 to indicate the current level of drive
fragmentation. Once a drive becomes too fragmented, the fdefrag() function may
be used to reorganize the volume memory and maximize the available space.
if (ffree ("R:") < THRESHOLD)
}
Three functions are also provided to allow you to manage the files stored within
the drive volume. The functions frename() and fdelete() allow you to rename and
delete a selected file within a chosen drive.
frename ("R:Test1.txt", "New_Test.txt");
fdelete ("R:Test2.txt");
You can also search the contents of the drive with the ffind() function. This will
find files that match a specified pattern. When a file is found, its details are
reported in a structure called info.
Function
fformat
fcheck
ffree
fanalyse
fdefrag
Function
fdelete
frename
ffind
if (fanalyse ("R:") > 100)
}
fdefrag ("R:");
Description
Formats the drive.
Checks the consistency of the drive.
Reports the free space available in the drive.
Checks the drive for fragmentation.
Defragments the drive.
Description
Deletes a selected file.
Renames a selected file.
Locates files by name or extension.
{
{
// When free space reaches a minimum
// Check the fragmentation
// If necessary defrag the drive
// Rename file
// Delete file
Chapter 3. RL-Flash Introduction
Related parts for MDK-ARM
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![MDK-ARM-B](/photos/28/43/284363/mdk-arm-basic_tmb.jpg)
Part Number:
Description:
KIT REALVIEW MCU DEVELOPMENT
Manufacturer:
Keil
Datasheet:
![MDK-ARM-B-SM](/photos/15/87/158780/keil_software_tmb.jpg)
Part Number:
Description:
Development Software SUPPORT EXTENSION FOR MDK-ARM-B
Manufacturer:
Keil Software
![MDK-ARM-SM](/photos/15/87/158780/keil_software_tmb.jpg)
Part Number:
Description:
Development Software SUPPORT EXTENSION FOR MDK-ARM
Manufacturer:
Keil Software
![MDK-ARM-BASIC](/photos/28/43/284363/mdk-arm-basic_tmb.jpg)
Part Number:
Description:
KIT REALVIEW MCU DEVELOPMENT
Manufacturer:
Keil
Datasheet:
![MDK-ARM-UF](/photos/15/87/158780/keil_software_tmb.jpg)
Part Number:
Description:
Development Software MCU DEV KIT FOR ARM UPG TO FLOATING LIC
Manufacturer:
Keil Tools
![MDK-ARM-F](/photos/15/87/158780/keil_software_tmb.jpg)
Part Number:
Description:
Development Software MCU DEV KIT FOR ARM W/ FLOATING LICENSE
Manufacturer:
Keil Software
![MDK-ARM3.1](/photos/26/86/268691/landingpagekeilrealviewarmkit_tmb.jpg)
Part Number:
Description:
Development Software MCU DEV KIT FOR ARM uVISION & C++ & RTX
Manufacturer:
Keil Tools
![MDK-ARM-SMB](/images/no-image3.png)
Part Number:
Description:
Development Software SUPP LICENSE RENEWAL 90+ DAYS NO TECH SUP
Manufacturer:
Keil Software
![KEIL-PK51-INTL](/images/manufacturer_photos/0/6/609/silicon_laboratories_inc_tmb.jpg)
Part Number:
Description:
KEIL C-COMPILER INTERNATIONAL
Manufacturer:
Silicon Laboratories Inc
![OM10045](/photos/9/21/92162/om10045_tmb.jpg)
Part Number:
Description:
BOARD EVAL FOR LPC213X ARM MCU
Manufacturer:
NXP Semiconductors
Datasheet:
![TWR-K60N512-KEIL](/images/manufacturer_photos/0/2/262/freescale_semiconductor_tmb.jpg)
Part Number:
Description:
K60N512 Keil Tower Kit
Manufacturer:
Freescale Semiconductor
Datasheet: