Command result codes for image management group.
| Enumerator |
|---|
| IMG_MGMT_ERR_OK | No error, this is implied if there is no ret value in the response
|
| IMG_MGMT_ERR_UNKNOWN | Unknown error occurred.
|
| IMG_MGMT_ERR_FLASH_CONFIG_QUERY_FAIL | Failed to query flash area configuration.
|
| IMG_MGMT_ERR_NO_IMAGE | There is no image in the slot.
|
| IMG_MGMT_ERR_NO_TLVS | The image in the slot has no TLVs (tag, length, value).
|
| IMG_MGMT_ERR_INVALID_TLV | The image in the slot has an invalid TLV type and/or length.
|
| IMG_MGMT_ERR_TLV_MULTIPLE_HASHES_FOUND | The image in the slot has multiple hash TLVs, which is invalid.
|
| IMG_MGMT_ERR_TLV_INVALID_SIZE | The image in the slot has an invalid TLV size.
|
| IMG_MGMT_ERR_HASH_NOT_FOUND | The image in the slot does not have a hash TLV, which is required.
|
| IMG_MGMT_ERR_NO_FREE_SLOT | There is no free slot to place the image.
|
| IMG_MGMT_ERR_FLASH_OPEN_FAILED | Flash area opening failed.
|
| IMG_MGMT_ERR_FLASH_READ_FAILED | Flash area reading failed.
|
| IMG_MGMT_ERR_FLASH_WRITE_FAILED | Flash area writing failed.
|
| IMG_MGMT_ERR_FLASH_ERASE_FAILED | Flash area erase failed.
|
| IMG_MGMT_ERR_INVALID_SLOT | The provided slot is not valid.
|
| IMG_MGMT_ERR_NO_FREE_MEMORY | Insufficient heap memory (malloc failed).
|
| IMG_MGMT_ERR_FLASH_CONTEXT_ALREADY_SET | The flash context is already set.
|
| IMG_MGMT_ERR_FLASH_CONTEXT_NOT_SET | The flash context is not set.
|
| IMG_MGMT_ERR_FLASH_AREA_DEVICE_NULL | The device for the flash area is NULL.
|
| IMG_MGMT_ERR_INVALID_PAGE_OFFSET | The offset for a page number is invalid.
|
| IMG_MGMT_ERR_INVALID_OFFSET | The offset parameter was not provided and is required.
|
| IMG_MGMT_ERR_INVALID_LENGTH | The length parameter was not provided and is required.
|
| IMG_MGMT_ERR_INVALID_IMAGE_HEADER | The image length is smaller than the size of an image header.
|
| IMG_MGMT_ERR_INVALID_IMAGE_HEADER_MAGIC | The image header magic value does not match the expected value.
|
| IMG_MGMT_ERR_INVALID_HASH | The hash parameter provided is not valid.
|
| IMG_MGMT_ERR_INVALID_FLASH_ADDRESS | The image load address does not match the address of the flash area.
|
| IMG_MGMT_ERR_VERSION_GET_FAILED | Failed to get version of currently running application.
|
| IMG_MGMT_ERR_CURRENT_VERSION_IS_NEWER | The currently running application is newer than the version being uploaded.
|
| IMG_MGMT_ERR_IMAGE_ALREADY_PENDING | There is already an image operating pending.
|
| IMG_MGMT_ERR_INVALID_IMAGE_VECTOR_TABLE | The image vector table is invalid.
|
| IMG_MGMT_ERR_INVALID_IMAGE_TOO_LARGE | The image it too large to fit.
|
| IMG_MGMT_ERR_INVALID_IMAGE_DATA_OVERRUN | The amount of data sent is larger than the provided image size.
|
| IMG_MGMT_ERR_IMAGE_CONFIRMATION_DENIED | Confirmation of image has been denied
|
| IMG_MGMT_ERR_IMAGE_SETTING_TEST_TO_ACTIVE_DENIED | Setting test to active slot is not allowed
|
| IMG_MGMT_ERR_ACTIVE_SLOT_NOT_KNOWN | Current active slot for image cannot be determined
|