Firmware update request structure.
Public Attributes#
uint16_t
Header (1) or Data (0)
uint16_t
Operation type: WRITE (1), READ (2), ERASE (3), INTEGRITY_CHECK (4)
uint32_t
Length of data (for erase, must be a multiple of 4K)
uint32_t
Flash memory address: M4 -> 0x8000000, NWP -> 0x4000000.
uint8_t
0xEF if the updater is M4
uint8_t
Reserved for future use.
uint16_t
Reserved for future use.
uint32_t
Reserved for future use.
uint8_t
Data buffer (used for WRITE operation, NULL for READ, ERASE, and INTEGRITY_CHECK)
Public Attribute Documentation#
sub_command#
uint16_t sl_si91x_fw_fallback_request_t::sub_command
Operation type: WRITE (1), READ (2), ERASE (3), INTEGRITY_CHECK (4)
data_length#
uint32_t sl_si91x_fw_fallback_request_t::data_length
Length of data (for erase, must be a multiple of 4K)
flash_offset#
uint32_t sl_si91x_fw_fallback_request_t::flash_offset
Flash memory address: M4 -> 0x8000000, NWP -> 0x4000000.
data#
uint8_t sl_si91x_fw_fallback_request_t::data[SL_SI91X_MAX_OTA_IMAGE_CHUNK_SIZE]
Data buffer (used for WRITE operation, NULL for READ, ERASE, and INTEGRITY_CHECK)