Freescale Semiconductor Embedded Bootloader Reference Manual, Rev. 0.0 6-1
Chapter 6 Port Integration Reference Guide
This chapter describes the Embedded Bootloader source code release deliverables and how to integrate
them to make an executable Embedded Bootloader for a specific PCB.
NOTE
For user convenience, several readme.txt files containing more
information are located in various subfolders.

6.1 Embedded Bootloader Build Environment

This chapter describes the Embedded Bootloader build environment. The Embedded Bootloader
application is built under the Metrowerks IDE CodeWarrior Development Studio for Freescale HC08 3.0,
build 030506.

6.1.1 HCS08 Compiler

All Embedded Bootloader source files are compiled with the following compiler and with the ‘Generate
Code for HCS08’ Code Generation option enabled.
Source file: hw_hc08_compiler.dll, version 5.0.8.0
Setting: -Cs08 -CswMaxLF0 -CswMinLF0 -CswMinSLB9999 -Lasm=%n.lst -Lasmc=h -
Ot -Ou -Onf -OnB=alr -OnCstVar -OnPMNC -Or -TE1uE -WmsgNu=acdet

6.1.2 HCS08 Linker

All Embedded Bootloader object files are linked with the following linker to build an executable file.
Source file: hw_hc08_linker.dll, version 5.0.8.0
Setting: -B -EnvSRECORD=s19 -EnvTEXTPATH=Zigbee_Data\Zigbee_Debug\ -
WStdoutOn
The Embedded Bootlaoder MUST be linked with the following linker file.
.\Embedded_Bootloader\prm\Embedded_Bootloader_HCS08.ach
Specific allocated code and variables must not be reallocated, but users can add new code and data
segments.
NOTE
The 802.15.4 and Zigbee applications that interface to the Embedded
Bootloader must be linked with the "Ptc_w_Embedded_Bootloader.ach"
file for proper functionality.

6.1.3 HCS08 LibMaker

The delivered libraries were made with the following libmaker.