Bootloader
1.1.1
Files
The Serial Bootloader application includes the following files:
•
..\applications\serial_bootloader\bootloader.mcp, project file
•
..\applications\serial_bootloader\bootloader.c, main program
•
..\applications\serial_bootloader\bootloader.h, header file with common parameters
•
..\applications\serial_bootloader\com.c, communication module
•
..\applications\serial_bootloader\com.h, header for communication module
•
..\applications\serial_bootloader\sparser.c, S-Record format parser module
•
..\applications\serial_bootloader\sparser.h, header for S-Record parser module
•
..\applications\serial_bootloader\prog.c, flash programming module
•
..\applications\serial_bootloader\prog.h, header for flash programming module
•
..\applications\serial_bootloader\bootstart.c, startup module
•
..\applications\serial_bootloader\constdata.asm, description of strings data
•
..\applications\serial_bootloader\resetvector.asm, Reset and COP Reset interrupt
vectors description
•
..\applications\serial_bootloader\flashprog.c, flash programming subsystem
•
..\applications\serial_bootloader\flashprog.h, flash programming subsystem
•
..\applications\serial_bootloader\TargetDirectives, Board name definition
•
..\applications\serial_bootloader\config\linker.cmd, linker command file used for Boot
Flash
•
..\applications\serial_bootloader\config\flash.cfg, Metrowerks CodeWarrior
configuration file to work with Flash
•
..\config\, configuration files
•
..\include\, include files
The Bootloader application also uses the files port.h, arch.h and periph.h, found in the \include
directory.
Note:
The Bootloader application relies on the TargetDirectives and linker.cmd files to define
the target for which the application will be built.
1.1.2
Bootloader Hardware Set-up
To use the Bootloader, these requirements must be met:
•
It must be programmed into Boot Flash
•
The RS-232 socket must be connected by serial cable with the host PC's COM serial port (See
Figure
1-2)
•
The jumpers on the EVM board must be set to the use of internal memory without debug interface
1-2
Freescale Semiconductor, Inc.
(See
56F8xx: Serial Bootloader User Manual
For More Information On This Product,
Go to: www.freescale.com
)
Section 1.1.3
MOTOROLA