SWRA466D February 2015 – August 2021 CC1310 , CC1310 , CC1352R , CC1352R , CC2538 , CC2538 , CC2620 , CC2620 , CC2630 , CC2630 , CC2640 , CC2640 , CC2640R2F , CC2640R2F , CC2640R2F-Q1 , CC2640R2F-Q1 , CC2642R , CC2642R , CC2642R-Q1 , CC2642R-Q1 , CC2650 , CC2650 , CC2650MODA , CC2650MODA , CC2652R , CC2652R , CC2652R7 , CC2652R7 , CC2652RB , CC2652RB , CC2652RSIP , CC2652RSIP
Each SBL function will return whether the desired operation was successful or not by interpreting the bootloader response. A list of the possible return values from SBL functions and possible causes for them are presented in Table 3-1.
Constant Name | Value | Cause |
---|---|---|
SBL_SUCCESS | 0 | Command successfully executed by bootloader |
SBL_ERROR | 1 | Error during execution of command |
SBL_ARGUMENT_ERROR | 2 | SBL function arguments invalid |
SBL_TIMEOUT_ERROR | 3 | Bootloader response not received within a given number of tries. |
SBL_PORT_ERROR | 4 | Failed to send data to or receive data from bootloader |
SBL_ENUM_ERROR | 5 | Failed to enumerate COM devices |
SBL_UNSUPPORTED_FUNCTION | 6 | Function is not supported for the chosen hardware |