Struct 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¶
CRC-32 over all preceding fields
variable image_crc¶
CRC-32 over the firmware binary
variable image_size¶
Firmware binary size (excl. header)
variable magic¶
SYN_FW_MAGIC
variable reserved¶
Pad to 4-byte alignment
variable state¶
SYN_FwState
variable 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