2.2.3.1 AbortCodeGet()
static ftp_abort_code_t AbortCodeGet (bl_result_t targetStatus)[static]
Converts the given result codes into MDFU Protocol defined data values.
This function converts the bootloader core result codes into codes that are defined by the MDFU Protocol.
| in | targetStatus |
- Bootloader result code that needs to be mapped to one of the defined protocol codes |
FTP_INVALID_FILE_ERROR - The bootloader failed during file verification, either during the metadata block validation or a failed image verification FTP_ADDRESS_ERROR - The bootloader processed a block with an invalid address FTP_WRITE_ERROR - The bootloader encountered an error while trying to process the data. Likely be due to NVM errors FTP_GENERIC_ERROR - The bootloader code received has not been mapped to a specific FTP abort code |
