Freescale Semiconductor 802.15.4 manual Chapter Embedded Bootloader Description, Target

Page 9

Chapter 1

Embedded Bootloader Description

The Embedded Bootloader is intended for use with the IEEE® 802.15.4 evaluation kits (EVK). However, it is possible to upload applications with the Embedded Bootloader in the development phase, but the Embedded Bootloader will not provide any debug functions.

The Embedded Bootloader provides an easy and inexpensive way to upload new firmware and eliminate the requirements for expensive debug/development tools. The only requirement is a standard PC with an RS232 UART/USB1) interface running Windows 2000 or XP.

The Embedded Bootloader must be used with the Zigbee Flash Tool which can be found in the Test Tool Suite ‘Test Tool.exe’.

This document describes Embedded Bootloader version 5.01.

The Embedded Bootloader is located in a protected 4 KB flash block in the highest memory area (0xF000-0xFFFF) of the Freescale MC908HCS08GB60/GT60 microcontroller. (It cannot be accidentally erased.) A BDM debugger is required to erase the Embedded Bootloader. See the Handling MAC Address Erasure Application Note, AN2825/D

1)At least one of these communication interfaces must be supported by the target PCB.

1.1 Target

The Embedded Bootloader runs on the Freescale MC908HCS08GB60/GT60 MCU.

The MC908HCS08GB60/GT60 is a member of Freescale’s low-cost, high-performance HCS08 family. It has 60 KB embedded flash (flash sector size of 512 bytes) and 4 KB embedded RAM..

The Embedded Bootloader uses the MC13192 CLKO. See Chapter 2 for more information.

Freescale Semiconductor

Embedded Bootloader Reference Manual, Rev. 0.0

1-1

Image 9
Contents 802.15.4/Zigbee Embedded Bootloader How to Reach Us USA/Europe/Locations Not Listed Contents Embedded Bootloader Programming Embedded Bootloader Public Function Description Audience Conventions References Target Chapter Embedded Bootloader DescriptionAxiom AXM-0308 Ported TargetsFeatures Potential IssuesBenefits Optional Firmware Upload Settings Chapter Using the Embedded Bootloader Upload FirmwareUse Case One Use Case Two Safe Mode BootUpdating Non-volatile Memory NVM An Example of How to Change the MAC AddressUart Baud Rate System Bus FrequencyChapter Test Tool Zigbee Flash Tool Graphical User Interface GUI Version Using the Tools Menu OptionView Menu Option Using the View Menu OptionFirmware Upload Selecting the Firmware File to UploadAfter a Successful Firmware Upload Changing the NVM Data in Flash or File Using the Help MenuSystem Configuration Window Command Line Version Parameter List Command Line Version CMDFlash Erase Disabled Example Normal Use Example DefaultEmbedded Bootloader Reference Manual, Rev Programming To An Empty Erased Board Chapter Embedded Bootloader ProgrammingConnection Assistant Window Load Executable Window Status Window Upgrading The Embedded Bootloader Connection Assistant Window Programmer Expert Window S19 File Window Status Window Embedded Bootloader Reference Manual, Rev Chapter Application Integration Reference Guide Embedded Bootloader ImageProduct Deliverables Application Support FilesApplication Unreferenced SymbolsApplication Linker File Compiler DefinesApplication Support Files System Clock SetupDigiType.h 2 Gb60io.h3 Crt0.c and Crt.h EmbeddedBootloader.h and EmbeddedBootloader.c NVData.c and NVData.hISRVectors.c DummyIsr.c Chapter Port Integration Reference Guide Embedded Bootloader Build Environment1 HCS08 Compiler 2 HCS08 LinkerEmbeddedBootloaderFunctionalityLib.Lib EmbeddedBootloader.mcp2 HCS08FlashLib.Lib Source FilesCode and Data Segments Porting to a Specific TargetStandard Libraries Compiler #definesTarget.h Source FilesEmbeddedBootloaderTarget.h ResetVector.cHWInit.h HWInit.cMain.c Chapter Embedded Bootloader Public Function Description 802.15.4/Zigbee Application Accessible FunctionsEnableDownloadFirmware Embedded Bootloader boot flag UpdateNVRAM HardResetFLICGSetup NVFlashSetupOutput None UARTPortSelectEmbedded Bootloader Reference Manual, Rev 128 Direct Port Registers Chapter Embedded Bootloader Memory Map1BFF 4BFF 4DFF 4FFF 8BFF 8DFF 8FFF Embedded Bootloader Reference Manual, Rev FFB0 Ffbf Cursive = fixed register and vectors in flash Embedded Bootloader Reference Manual, Rev Folder Structure Appendix a Release Folder and File StructureFile Structure EmbeddedBootloaderFunctionalityLib.Lib Functionality library Embedded Bootloader Reference Manual, Rev