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
The SBL is a PC library for Microsoft Windows that implements a host API for communicating with the CC2538, CC26x0, and CC26x2 serial bootloaders. The SBL library project is created in Visual Studio C++ Professional 2015. The serial bootloader library uses Windows API to communicate with the serial COM port and therefore is not cross-platform compatible.
All functions in SBL are synchronous; meaning that the function will not return until ACK or NACK have been received or an error has occurred. Figure 3-1 demonstrates a sequence chart of the SBL ping() function.
All bootloader commands can be accessed through functions within SBL; which makes it easy to execute operations like erasing and writing to the flash memory directly through SBL.