3.1.18. waf_tools.crc_bootloader

Implementation for handling and preparing an application binary for usage with the Bootloader. This includes e.g., calculating a CRC table of the application binary. Note: As the TMS570 is a big endian MCU, all operations are implemented as such.

Module Attributes

APP_MEMORY_MAP

Memory map of the application on the TMS570-based foxBMS BMS-Master

SIZE_OF_VECTOR_TABLE_IN_BYTES

TBD

Functions

get_sha256_file_hash(file_path[, ...])

Calculate the SHA256 hash of a file

get_sha256_file_hash_str(file_path[, ...])

Returns the string representation of a SHA256 hash of a file

Classes

BootloaderBinaryFile(app_file, crc64_table, ...)

Class to handle an application binary file and prepare the binary data for bootloader usage (e.g., calculate a CRC for of the application binary).

FlashSector(idx, size_in_bytes)

Description of the memory map of a flash memory