Freescale Semiconductor 802.15.4 manual EmbeddedBootloader.mcp, 2 HCS08FlashLib.Lib, Source Files

Page 44

Source file:

hw_hc08_libmaker.dll, version 5.0.8.0

Setting:None

6.2 Product Deliverables

The Freescale Embedded Bootloaader consists of four major components. Refer to Appendix A for a complete list of released files.

6.2.1 Embedded_Bootloader.mcp

This is the Metrowerks Codewarrior mcp project file. This file is used to build the release of the Embedded Bootloader.

NOTE

It is required that you have Metrowerks Codewarrior installed on your PC to build the Embedded Bootloader.

6.2.2 HCS08_Flash_Lib.Lib

The library contains functions to write to the internal flash of the HCS08 MCU. The library also contains functions to handle NVM run-time updates.

The flash library version number is found by searching for the ASCII text string “HCS08 Flash Lib” in the ‘HCS08_Flash_Lib.Lib’. The version number is only available from flash library version 5.00.

NOTE

The HCS0_Flash_Lib.Lib can also be included directly in an application for run-time update of NVM. Refer to the HCSO8 Flash Application Note, AN2770/D for more information.

6.2.3 Embedded_Bootloader_Functionality_Lib.Lib

The library contains the internal functionality of the Embedded Bootloader. For example, the state machine which handles the firmware download, the UART drivers, checksum verification functions and others.

The Embedded Bootloader functionality library version number is found by searching for the ASCII text string “EB Func Lib” in the ‘Embedded_Bootloader_Functionality_Lib.Lib’ file.

6.2.4 Source Files

This section provides a brief description of the source files. Refer to Appendix A for more details. The source files described are those which define the PCB interface. For example, the I/O mapping that connects the MCU and RF chip.

Embedded_Bootloader_Target.h

Specific Embedded Bootloader defines

 

 

For example, the Embedded Bootloader version number.

 

 

 

6-2

Embedded Bootloader Reference Manual, Rev 0.0

Freescale Semiconductor

Image 44
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 Chapter Embedded Bootloader Description TargetPorted Targets Axiom AXM-0308Benefits FeaturesPotential Issues Optional Firmware Upload Settings Use Case One Chapter Using the Embedded BootloaderUpload Firmware Safe Mode Boot Use Case TwoAn Example of How to Change the MAC Address Updating Non-volatile Memory NVMSystem Bus Frequency Uart Baud RateChapter Test Tool Zigbee Flash Tool Using the Tools Menu Option Graphical User Interface GUI VersionUsing the View Menu Option View Menu OptionSelecting the Firmware File to Upload Firmware UploadAfter a Successful Firmware Upload Using the Help Menu Changing the NVM Data in Flash or FileSystem Configuration Window Command Line Version CMD Command Line Version Parameter ListNormal Use Example Default Flash Erase Disabled ExampleEmbedded Bootloader Reference Manual, Rev Chapter Embedded Bootloader Programming Programming To An Empty Erased BoardConnection 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 Embedded Bootloader Image Chapter Application Integration Reference GuideProduct Deliverables Application Support FilesUnreferenced Symbols ApplicationApplication Linker File Compiler DefinesSystem Clock Setup Application Support FilesDigiType.h 2 Gb60io.h3 Crt0.c and Crt.h ISRVectors.c EmbeddedBootloader.h and EmbeddedBootloader.cNVData.c and NVData.h DummyIsr.c Embedded Bootloader Build Environment Chapter Port Integration Reference Guide1 HCS08 Compiler 2 HCS08 LinkerEmbeddedBootloader.mcp EmbeddedBootloaderFunctionalityLib.Lib2 HCS08FlashLib.Lib Source FilesPorting to a Specific Target Code and Data SegmentsStandard Libraries Compiler #definesSource Files Target.hResetVector.c EmbeddedBootloaderTarget.hMain.c HWInit.hHWInit.c EnableDownloadFirmware Chapter Embedded Bootloader Public Function Description802.15.4/Zigbee Application Accessible Functions Embedded Bootloader boot flag HardReset UpdateNVRAMNVFlashSetup FLICGSetupUARTPortSelect Output NoneEmbedded Bootloader Reference Manual, Rev Chapter Embedded Bootloader Memory Map 128 Direct Port Registers1BFF 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 Appendix a Release Folder and File Structure Folder StructureFile Structure EmbeddedBootloaderFunctionalityLib.Lib Functionality library Embedded Bootloader Reference Manual, Rev