Chapter 4 Embedded Bootloader Programming; Programming To An Empty (Erased) Board - Freescale Semiconductor 802.15.4/Zigbee Reference Manual

802.15.4/zigbee embedded bootloader
Table of Contents

Advertisement

Chapter 4
Embedded Bootloader Programming
This chapter describes how to program the Embedded Bootloader with a P&E Multilink for HCS08 BDM
debugger. The Embedded Bootloader is normally downloaded to the PCB where production data is also
written. Users must employ different procedures depending on what needs to be programmed. Users can
program the Embedded Bootloader to an empty (erased) PCB or they can upgrade to a newer version of
the Embedded Bootloader. Follow the procedures in
Board
if the PCB is empty (erased).
Users must make a copy of the production data section in the NVM (see
NV_Data.h) if they need to upgrade the Embedded Bootloader. This can be done either manually or
automatically by a custom made script with the command line version of the CPROG tool. The command
line version is not described further. Follow the procedures as shown in
copy of the production data.

4.1 Programming To An Empty (Erased) Board

This section describes how to program the Embedded Bootloader to an empty (erased) board.
1. Execute the HIWAVE.EXE file from your chosen installation directory. For example,
[installation directory]\Metrowerks\CodeWarrior_CW08_V3.0\Prog\
2. From the main window, setup the target by selecting the "Component" menu, then click on "Set
Target". The "Set Target" window appears as shown in
3. In the "Processor" drop down menu, select HCS08. From the "Target Interface" drop down menu,
select P&E Target Interface, the click on the "OK" button.
Freescale Semiconductor
Section 4.1, Programming To An Empty (Erased)
Figure
Figure 12 Set Target Window
Embedded Bootloader Reference Manual, Rev. 0.0
Section 5.3.5, NV_Data.c and
Section 4.2
on how to make a
12.
4-1

Advertisement

Table of Contents
loading

Table of Contents