| Documentation |
|---|
| Related products |
|---|
| USB-I2C/SPI/GPIO Adapter - U2C-12 |
| USB-IO Interface Adapter - GPIO-12 |
Bootloader sends this response after BOOT_WRITE_FLASH command processing.
Bootloader does not verify the written data during processing BOOT_WRITE_FLASH command. You can use BOOT_READ_FLASH command for reading and further verification of the written data.
To ease data processing boot_rsp_write_flash structure can be used:
typedef struct
{
unsigned char cmd; /* command code, see BOOT_xxx constants */
unsigned char echo; /* echo is used to link between command and response */
} boot_rsp_write_flash;
Fields assignment:
Command code. cmd field contains
BOOT_WRITE_FLASH constant value.
field is used to access common for all packages parameters -
Headercmd and echo.
These parameters are also available from the structures that
define specific responses.