Skip to content

Struct SYN_FwImageHeader

ClassList > SYN_FwImageHeader

Firmware image header — stored at the start of each flash slot. More...

  • #include <syn_fwimage.h>

Public Attributes

Type Name
uint32_t header_crc
uint32_t image_crc
uint32_t image_size
uint32_t magic
uint8_t reserved
uint8_t state
uint32_t version_code

Detailed Description

Base size: 24 bytes. When SYN_FW_USE_HMAC is enabled, adds a 32-byte HMAC field for a total of 56 bytes.

Public Attributes Documentation

variable header_crc

uint32_t SYN_FwImageHeader::header_crc;

CRC-32 over all preceding fields


variable image_crc

uint32_t SYN_FwImageHeader::image_crc;

CRC-32 over the firmware binary


variable image_size

uint32_t SYN_FwImageHeader::image_size;

Firmware binary size (excl. header)


variable magic

uint32_t SYN_FwImageHeader::magic;

SYN_FW_MAGIC


variable reserved

uint8_t SYN_FwImageHeader::reserved[3];

Pad to 4-byte alignment


variable state

uint8_t SYN_FwImageHeader::state;

SYN_FwState


variable version_code

uint32_t SYN_FwImageHeader::version_code;

Packed version (SYN_VERSION_CODE fmt)



The documentation for this class was generated from the following file src/syntropic/system/syn_fwimage.h