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
The SBL is a PC library for Microsoft Windows that implements a host API for communicating with the CC2538, CC13xx, and CC26xx serial bootloaders. The SBL library project is created in Visual Studio C++ Professional 2015. The serial bootloader library uses the Windows API to communicate with the serial COM port and is therefore not cross-platform compatible.
All functions in SBL are synchronous; meaning that the function does not return until ACK or NACK are received or an error occurs. Figure 3-1 demonstrates a sequence chart of the SBL ping() function.
All bootloader commands can be accessed through functions within SBL; which allows easy execution of operations like erasing and writing to the flash memory directly through SBL.
For a more detailed description of the ROM bootloader and how to use all the serial commands, see the device-specific ROM user’s guide [1] through [6] in the References section.