MOTOROLA
Bootloader
1-7
Figure 1-4. Programming the 56F827 Bootloader
1.1.4
Build
To build the Serial Bootloader, open the bootloader.mcp project file in the CodeWarrior IDE and
execute the Project/Make command. This will build and link the Serial Bootloader application.
1.1.4.1
Download into Boot Flash
To download, build the Bootloader from Codewarrior and load it into the board by choosing the
Project/Debug command in the CodeWarrior IDE. Make sure that jumpers are set for loading as
described in
Section 1.1.2.1
.
0x0000 - 0x0003
Program Memory
Boot Reset
Vectors
(Using
CodeWarrior
Tools )
56F827 Memory Map
Load
56F827
Memory
Flash1
Boot Flash
RAM
0x0004 - 0x7FFF
0x7C00 - 0x7FFF
Flash2
0x8000 - 0xF7FF
0xF800 - 0xFFFF
User Application
Code for Flash 1
User Application
Code for Flash 2
bootstart.c
prog.c
bootloader.c
sparser.c
com.c
(Bootloader Serial
and S Record
Parser)
Bootloader
Program Code
reservector.asm
Bootloader Reset
Vectors
Linker.cmd
File
flashprog.c
Bootloader Flash
Programming
Operations
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..