SLAA450G April 2010 – April 2020
By default, the BSL functions have to be separated into use cases, so that the build will fit in into 2kB. Under BSL_Device_File.h, the use cases are defined. User can replace the required functions under each use cases during compilation.
#define PROGRAMMING_FUNCTIONS
//#define MEMORY_READING_FUNCTIONS
//#define OTHER_FUNCTIONS
#ifdef PROGRAMMING_FUNCTIONS
#define SUPPORTS_RX_PASSWORD
#define SUPPORTS_ERASE_SEGMENT
#define SUPPORTS_TOGGLE_INFO
#define SUPPORTS_RX_DATA_BLOCK
#define SUPPORTS_CRC_CHECK
#endif
#ifdef MEMORY_READING_FUNCTIONS
#define SUPPORTS_RX_PASSWORD
#define SUPPORTS_TX_DATA_BLOCK
#define SUPPORTS_CRC_CHECK
#endif
#ifdef OTHER_FUNCTIONS
#define SUPPORTS_RX_DATA_BLOCK_FAST
#define SUPPORTS_TX_BSL_VERSION
#define SUPPORTS_MASS_ERASE
#define SUPPORTS_LOAD_PC
#endif
|