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

Document created by Monica Arvizu Employee on Sep 9, 2012Last modified by Diana Torres on Feb 28, 2017
Version 2Show Document
  • View in full screen mode

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:


http://pcdn.500px.net/4130499/a271bcea97e80e8d223b3338b27c9f116cdd98a3/3.jpg• INFO applet ─ Collects information about the

module.

• 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!

Attachments

    Outcomes