Functions | |
| bool | cy_p64_is_image_confirmed (uint32_t image_start, uint32_t image_size) |
| Checks the Image OK flag in the slot trailer. More... | |
| cy_p64_error_codes_t | cy_p64_confirm_image (uint32_t image_start, uint32_t image_size) |
| Writes the Image OK flag to the slot trailer, so CypressBootloader will not revert the new image. More... | |
| bool cy_p64_is_image_confirmed | ( | uint32_t | image_start, |
| uint32_t | image_size | ||
| ) |
Checks the Image OK flag in the slot trailer.
| [in] | image_start | The start address of the image. |
| [in] | image_size | The size of the image. |
| cy_p64_error_codes_t cy_p64_confirm_image | ( | uint32_t | image_start, |
| uint32_t | image_size | ||
| ) |
Writes the Image OK flag to the slot trailer, so CypressBootloader will not revert the new image.
Write to flash operation is skipped if the Image OK flag is already set in the trailer.
| [in] | image_start | The start address of the image. |
| [in] | image_size | The size of the image. |