2.2.3.5 FTP_Task()
bl_result_t FTP_Task (void )
Acts as the main task runner of the FTP process. This function will be called in a loop to receive commands from the host and make calls to the responsible software layers to facilitate the device firmware update.
| None. |
BL_PASS - FTP process cycle finished successfully BL_FAIL - FTP process cycle failed unexpectedly BL_ERROR_COMMUNICATION_FAIL - FTP process cycle failed to communicate with the host BL_ERROR_FRAME_VALIDATION_FAIL - FTP process cycle failed at the frame check stage BL_ERROR_BUFFER_OVERLOAD - FTP process cycle failed due to a communication buffer overflow BL_ERROR_UNKNOWN_COMMAND - FTP process cycle encountered an unknown command from the host BL_ERROR_VERIFICATION_FAIL - FTP process cycle failed because the core's image verification process failed BL_ERROR_COMMAND_PROCESSING - FTP process cycle failed due to a core data or processing related issue BL_ERROR_ADDRESS_OUT_OF_RANGE - FTP process cycle failed due to the core encountering an incorrect address BL_ERROR_BUFFER_UNDERLOAD - FTP process cycle failed due the FTP command being too short |
