Cool and useful, how to write Flash Programming Applets...

Showing results for 
Search instead for 
Did you mean: 

Cool and useful, how to write Flash Programming Applets...

Cool and useful, how to write Flash Programming Applets...

The purpose of this document is to help understand and create Flash configuration files for the Flash Programming interface.


A Flash Configuration file is an XML format file. Its file extension is always “XML”. It is possible to open and edit this file with any text editor. This file is a “handmade” file and is not created automatically with any tool.


Some microcontrollers can address the flash in multiple ways ─ banked and paged. Therefore, multiple overlapping devices can be defined for one microcontroller. Each of them is defined in its own Flash

Configuration XML file.


The *.XML files contain microcontroller- dependent parameters and applets to handle internal flash modules. Applets are small programs which are loaded into the on-chip RAM. They will run at well-defined speed (depending on the microcontroller clock speed) and can collect data about the state of the memory modules, can control the memory modules (including erasing and programming).

There are three applets for each flash module:• INFO applet ─ Collects information about the


• CONTROL applet ─ Controls and erases the module.

• PROGRAM applet ─ Programs the module.


Parameters are passed to these applets at fixed memory addresses, which are relative to the workspace.

*.XML files are written by Freescale and are delivered within the installation.


Keep learning and pull off your own applet with this Application Note!

Labels (1)
Version history
Revision #:
1 of 1
Last update:
‎09-09-2012 01:54 PM
Updated by: