MDK-ARM Keil, MDK-ARM Datasheet - Page 56

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
56
Flash Drive Configuration
Although a RAM-based file system can be battery-backed, or can be used to store
temporary files during the run time of an application, we usually think of a file
system as having non-volatile storage. To this end, we can configure the file
system to use the internal Flash memory of a microcontroller, or external parallel
Flash, which is memory-mapped onto the microcontroller’s external bus.
First, modify the
This time select the Flash drive
as the target drive. Once
selected, we must define the
start. Next, configure the target
base address and drive size. This
should map onto the Flash
sectors of the microcontroller’s
memory. Next, we must add the
programming algorithms for the internal Flash memory. These algorithms are
defined for supported microcontrollers and are located in
C:\KEIL\ARM\RL\FLASHFS\FLASH
Each subdirectory contains the necessary support files for a given microcontroller
or parallel Flash device. Each of these directories contains
FS_FlashPrg.c
your project. If there is no direct support for your particular microcontroller, do
not be concerned; we will look at developing Flash drivers next.
To use parallel Flash as a file system we
must add two new files:
1. The
2. The
The file
FS_FlashDev.h
file maps all of the available Flash sectors to the file system by default. We must
modify this file to map only the sectors that are actually being used by our file
system.
mapping of the physical Flash sectors.
level Flash write and erase routines.
FS_Flash.h
Flash_page.c
FS_FlashPrg.c
. Copy these files to your project directory and add
provides the mapping to the physical Flash sectors. The
File_Config.c
include file that contains a
file that contains the low
provides the necessary Flash programming algorithm and
file.
.
Chapter 3. RL-Flash Introduction
FS_FlashDev.h
FS_FlashPrg.c
FlashDev.h
and
to

Related parts for MDK-ARM