SWRA466E February 2015 – August 2024 CC1310 , CC1310 , CC1311P3 , CC1311P3 , CC1311R3 , CC1311R3 , CC1312PSIP , CC1312PSIP , CC1312R7 , CC1312R7 , CC1314R10 , CC1314R10 , CC1352P , CC1352P , CC1352P7 , CC1352P7 , CC1352R , CC1352R , CC1354P10 , CC1354P10 , CC1354R10 , CC1354R10 , CC2538 , CC2538 , CC2620 , CC2620 , CC2630 , CC2630 , CC2640 , CC2640 , CC2640R2F , CC2640R2F , CC2640R2F-Q1 , CC2640R2F-Q1 , CC2642R , CC2642R , CC2642R-Q1 , CC2642R-Q1 , CC2650 , CC2650 , CC2650MODA , CC2650MODA , CC2651P3 , CC2651P3 , CC2651R3 , CC2651R3 , CC2651R3SIPA , CC2651R3SIPA , CC2652P , CC2652P , CC2652P7 , CC2652P7 , CC2652PSIP , CC2652PSIP , CC2652R , CC2652R , CC2652R7 , CC2652R7 , CC2652RB , CC2652RB , CC2652RSIP , CC2652RSIP , CC2674R10 , CC2674R10
Each SBL function confirms whether the desired operation was successful or not by interpreting the bootloader response. Table 3-1 shows a list of the possible return values from SBL functions and possible causes for them.
| 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 |
| 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 |