MDK-ARM Keil, MDK-ARM Datasheet - Page 61

KIT REALVIEW MCU DEVELOPMENT

MDK-ARM

Manufacturer Part Number
MDK-ARM
Description
KIT REALVIEW MCU DEVELOPMENT
Manufacturer
Keil
Type
Compiler and IDEr
Datasheets

Specifications of MDK-ARM

For Use With/related Products
ARM MCUs
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Getting Started: Building Applications with RL-ARM
From this point onwards, the file system API can be used as normal. However,
as we are communicating with an external memory card, which may have some
timing latencies, it may fail the finit() call. To ensure that the file system always
initializes correctly, it is advisable to allow for retries as shown below.
count = 3;
while (finit() != 0)
}
By default, the file system uses the FAT16 file format. It is possible to enable
FAT32 support for SD/MMC-based file systems. A memory card can be
formatted with a FAT32 file system as follows:
fformat ("M:SD_CARD / FAT32");
A full erase of the card can also be performed during a format as follows:
fformat ("M:SD_CARD / WIPE");
If your microcontroller does not have a dedicated MCI peripheral, then it is
possible to configure the file system library to communicate with the memory
card in SPI mode. SPI driver files are provided in the same file system drivers’
directory. You simply need to add the SPI driver in place of the MCI driver, in
order to configure your microcontroller to access the memory card in SPI mode.
Exercise: MMC-Based File System
This project demonstrates configuration of a memory-card-based file system,
using either a dedicated MCI peripheral or SPI interface.
if (!(count--))
}
errorflag = 1;
break;
{
{
61

Related parts for MDK-ARM