Modules

The following is a list of the different bootloader APIs, both those that are internal to the bootloader, and those available to any application running alongside the bootloader.
 Application InterfaceApplication interface to the bootloader
 Application Parser InterfaceApplication interface for the bootloader image parser
 Application PropertiesProperties of the application that can be accessed by the bootloader
 Application Storage InterfaceApplication interface for interfacing with the bootloader storage
 Common Application InterfaceGeneric application interface available on all versions of the bootloader, regardless of the available components
 Reset InformationPassing information when resetting into and out of the bootloader
 Bootloader CoreCore bootloader functionality
 BootloadMethods to verify and bootload application images
 FlashInterface to internal flash
 ResetMethods to reset from the bootloader to the app
 UpgradeMethods to verify and upgrade the main bootloader
 Components
 CommunicationHost communication interface
 Utils
 XMODEM ParserParser for XMODEM packets
 Commands
 DebugDebug Component
 DecompressorDecompressors for Gecko Bootloader
 LZ4 DecompressorLZ4 decompressor
 GPIO ActivationEnter bootloader based on GPIO state
 Button GPIOEnter bootloader based on Button GPIO state
 EZSP GPIOEnter bootloader based on EZSP GPIO state
 Image ParserImage parser component
 GBL ParserGBL parser implementation
 Custom GBL TagsHandle custom GBL tags for added functionality in the GBL parser
 LZ4 Programming TagTag to handle LZ4 compressed programming data
 LZMA Programming TagTag to handle LZMA compressed programming data
 GBL FormatGBL file specification
 SecurityCollection of security components
 AESAES decryption functionality for bootloader
 CRC16CRC16 functionality for the bootloader
 CRC32CRC32 functionality for the bootloader
 DecryptionGeneric decryption functionality for bootloader
 ECDSAECDSA signing functionality for the bootloader
 ECC LibraryElliptic Curve Cryptography Library
 SHA256SHA-256 Cryptography Library
 SHA_256SHA-256 digest functionality for the bootloader
 TokensManufacturing token handling for the bootloader
 StorageStorage component
 Bootload InfoIndicates which firmware update image should be bootloaded next
 SPI Flash ConfigurationsConfiguration parameters for SPI flashes
 SPI Flash Configurations using SFDPConfiguration parameters for SPI flashes Using JEDEC SFDP Standard
 DriverHardware drivers for bootloader
 DelayBasic delay functionality
 SPIBasic Serial Peripheral Interface driver
 SPI PeripheralSPI Peripheral Interface driver
 Error CodesBootloader error codes
 Bootloading Error CodesBootloader error codes returned by the bootloading process
 Communication Component Error CodesBootloader error codes returned by communication components
 Compression Error CodesBootloader error codes returned by the decompressor
 Error Code Base ValuesBootloader error code base values, per logical function
 Image Parser Error CodesBootloader error codes returned by the image file parser
 Initialization Error CodesBootloader error codes returned by initialization code
 Parse Error CodesBootloader error codes returned by image parsing
 SPI Peripheral Driver Error CodesBootloader error codes returned by the SPI Peripheral driver
 Security Error CodesBootloader error codes returned by security algorithms
 Storage Driver Error CodesBootloader error codes returned by a storage driver
 UART Driver Error CodesBootloader error codes returned by the UART driver
 XMODEM Error CodesBootloader error codes returned by the XMODEM parser