2.1.1.4 Functions

  • static void CRC32_Calculate (uint32_t startAddress, uint32_t length, uint32_t *crc)

    Calculates the CRC32 checksum for a specified memory region.

  • static bl_result_t CRC32_Validate (uint32_t startAddress, uint32_t length, uint32_t crcAddress)

    Validates the CRC32 checksum for a specified memory region.

  • bl_result_t BL_ImageVerify (void)

    Performs a verification sequence on the staging area image memory space.

  • static bl_result_t BootloaderProcessorUnlock (uint8_t *bufferPtr)

    Unlocks the bootloader processor using the provided buffer.

  • static void DownloadAreaErase (uint32_t startAddress)

    Erases the entire area used to download the image data.

  • bl_result_t BL_Initialize (void)

    Performs the initialization steps required to configure the bootloader peripherals.

  • bl_result_t BL_BootCommandProcess (uint8_t *commandBuffer, uint16_t commandLength)

    Executes the required action based on the block type received in the bootloader data buffer.

  • void BL_ApplicationStart (void)

    Performs actions to jump the MCU program counter to the application start address.

  • bool BL_CheckForcedEntry (void)

    Checks the software entry flags for a forced entry into Boot mode.