Struct SYN_FwUpdate¶
Firmware update context - manages streaming writes to flash.
#include <syn_fwupdate.h>
Public Attributes¶
| Type | Name |
|---|---|
| bool | active |
| uint32_t | bytes_written |
| uint32_t | crc_state |
| uint32_t | data_addr |
| bool | error |
| uint32_t | max_size |
| uint8_t * | page_buf |
| uint16_t | page_buf_size |
| uint16_t | page_buf_used |
| uint32_t | slot_addr |
Public Attributes Documentation¶
variable active¶
Update in progress?
variable bytes_written¶
Total bytes written so far
variable crc_state¶
Running CRC-32 state
variable data_addr¶
Flash address for image data (after hdr)
variable error¶
Error occurred?
variable max_size¶
Maximum image size (excl. header)
variable page_buf¶
Caller-provided write buffer
variable page_buf_size¶
Buffer size (flash page granularity)
variable page_buf_used¶
Bytes currently buffered
variable slot_addr¶
Flash base address of target slot
The documentation for this class was generated from the following file src/syntropic/system/syn_fwupdate.h