2.3.2.6 BL_ApplicationRollbackCheck()

bool BL_ApplicationRollbackCheck (uint8_t imageId)

Performs a rollback check on the version data present in the target footer by taking the given image ID as the new version data and the target version as the old data.

Precondition:

Run this function only when both image locations have been verified.

Parameters:
in imageId

- Identifier for the application image space

Returns:

True - The version data at image ID is either newer than the version data held at the target location or the target location does not have a valid version

False - The version data at image ID is older than the version data held at the target location