Specifications

Developer’s Serial Bootloader, Rev. 13
Merging bootloader and application images
Freescale Semiconductor70
5. Erase - this button invokes erase of whole user flash memory area.
6. Blank check - this command check the memory if it’s erased. The command is implemented by
read command.
7. Program - the button try to download the prepared image to the target. Be sure that before this
operation the target memory is already erased.
8. Compare - this button compare the content of the target memory with prepared image
9. Read - this command read the full target user area and store it into new S19 file.
10. AutoProgram - this command invoke exactly same procedure as is using command line version of
the AN2295 master application. To add extra verification after write the image the AutoProgram
Verify must be checked.
11. Exit - this button exits from the bootloader application
11 Merging bootloader and application images
This section provides a detailed description of the computer software that merges the bootloader and user
application S19 files into one output S19 file, which is downloadable as a zip file from the Freescale
Semiconductor website, freescale.com. All code is written in C language and is compatible with the
Win32
platform.
Typical case of a merged bootloader and user application S19 file is the final mass production of the MCU
flash image with bootloader capability. The merge tool simplifies the operation of flashing the bootloader
itself by debugging the interface of bootloading the application by the flashed bootloader.
The merge tool application is using the same base of source files as all other AN2295 PC software (Master
bootloader applications: command line and standard windows form versions).
The Merge tool windows form application is designed to load two S19 files (application and bootloader),
and select the type of MCU and interrupt vector tables (original and redirected). The application also
contains the log window that provides all detailed information on the merge process and all possible
warnings.