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#

chunk_type#

uint16_t sl_si91x_fw_fallback_request_t::chunk_type

Header (1) or Data (0)


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.


m4_updater_ota#

uint8_t sl_si91x_fw_fallback_request_t::m4_updater_ota

0xEF if the updater is M4


reserved1#

uint8_t sl_si91x_fw_fallback_request_t::reserved1

Reserved for future use.


reserved2#

uint16_t sl_si91x_fw_fallback_request_t::reserved2

Reserved for future use.


reserved3#

uint32_t sl_si91x_fw_fallback_request_t::reserved3

Reserved for future use.


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)