
56800E Flash Programmer User Guide, Rev. 0
4
Freescale Semiconductor
1. Corrections to CodeWarrior v7.2 Configuration Files
The configuration files in CodeWarrior v7.2 may need to be modified depending on the device or devices
to be programmed. These files will be corrected in CodeWarrior v7.3. They are typically found in the
following location:
C:\Program Files\Metrowerks\CodeWarrior\M56800E Support\initialization
For the 56F801x devices, change the following line in the file 56801x_flash.cfg
set_hfm_programmer_base 0x8746 # shared p-ram
to
set_hfm_programmer_base 0x8700 # shared p-ram
For the 56F835x device, change the following line in the file 56835x_flash.cfg
set_hfm_config_base 0x00FFF7
to
set_hfm_config_base 0x01FFF7
The first correction is required for the 56F8013 and 56F8014; programming will fail if the modification is
not applied. The second correction for the 56F8355, 56F8356, and 56F8357 is only required if it is desired
to use the
lock flash after programming
feature.
2. 56800E Flash Programmer Description
The 56800E Flash Programmer runs under 32-bit Windows operating systems.
Before loading to the actual device, the 56800E Flash Programmer will first create a
Virtual Device Image
on the Host PC. The
Virtual Device Image
contains all of the memory to be programmed on the device
allowing for all of the S-Record, or executable and linking format (ELF) files, to be loaded and verified
before any programming begins. Additionally, the 56800E Flash Programmer allows certain operations to
be performed on the
Virtual Device Image
as if it was a real device; however, this feature is only supported
in the Command-Line version.
2.1 Command-Line Version
The command line version executes in a DOS window and accepts command line parameters to control its
operation. The command line interface is very effective when the 56800E Flash Programmer needs to be
integrated into scripts or executed by other programs controlling the manufacturing process. All the
mandatory parameters are indicated by ‘<>’ brackets and optional parameters are indicated by ‘[]’
brackets. The syntax has the following two variants: