Freescale Semiconductor 802.15.4 manual Features, Benefits, Potential Issues

Page 11

1.2 Features

The following features are supported:

Upload firmware (802.15.4/Zigbee application) in Motorola S19 record format through UART/USB. The S1 data record length must be set to 32 bytes

Auto-Detection of the PC communication interface (see Section 1.1.1, Ported Targets).

Initialize memory including stack of uploaded firmware

Initialize the system clock. Self clocked mode and MC13192 clock setup. Power save mode supported

Run time update/change of the NVM

NOTE

See the Freescale 802.15.4 MAC/PHY Software Reference Manual, 802154MPSRM/D, for a detailed description on NVM layout and values.

1.3 Benefits

Users do not have to buy expensive third party debug/development tools to get started.

Users can update the 802.15.4/Zigbee application firmware without having to build in additional code for interfacing to the Embedded Bootloader (See Section 2.1.3, Safe Mode Boot).

Application firmware can be updated after production by users. However, this requires that the final product has a communication interface (UART/USB).

Users can update the 802.15.4/Zigbee application firmware even when it is malfunctioning (See Section 2.1.3, Safe Mode Boot).

The 802.15.4/Zigbee application firmware does not have to include initializing or flash programming code and can thereby minimize code size.

Can update any NVM data specified by the 802.15.4/Zigbee application.

1.4 Potential Issues

Uses 4 KB of flash (~6.7 % on a MC908HCS08GB60/GT60) and 93 bytes of RAM (~2,3 % on a MC908HCS08GB60/GT60)

Extended power/boot up time (~17ms) because the Embedded Bootloader must detect the presence of an application.

Freescale Semiconductor

Embedded Bootloader Reference Manual, Rev. 0.0

1-3

Image 11
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 TargetsBenefits FeaturesPotential Issues Optional Firmware Upload Settings Use Case One Chapter Using the Embedded BootloaderUpload Firmware 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 Application Support Files Embedded Bootloader ImageChapter Application Integration Reference Guide Product DeliverablesCompiler Defines Unreferenced SymbolsApplication Application Linker File2 Gb60io.h System Clock SetupApplication Support Files DigiType.h3 Crt0.c and Crt.h ISRVectors.c EmbeddedBootloader.h and EmbeddedBootloader.cNVData.c and NVData.h DummyIsr.c 2 HCS08 Linker Embedded Bootloader Build EnvironmentChapter Port Integration Reference Guide 1 HCS08 CompilerSource Files EmbeddedBootloader.mcpEmbeddedBootloaderFunctionalityLib.Lib 2 HCS08FlashLib.LibCompiler #defines Porting to a Specific TargetCode and Data Segments Standard LibrariesTarget.h Source FilesEmbeddedBootloaderTarget.h ResetVector.cMain.c HWInit.hHWInit.c EnableDownloadFirmware Chapter Embedded Bootloader Public Function Description802.15.4/Zigbee Application Accessible Functions 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