SLAA721E October 2016 – March 2020 MSP430FR5969 , MSP430FR5969-SP , MSP430FR5994 , MSP430FR6989
MSPBoot was designed with low cost and low footprint being top priorities; however, some applications require or can benefit from having a higher level of security and robustness. Based on the application requirements, different levels of customizations have been added to the MSP430FRBoot code and they can be adjusted to particular needs. These options are selected either by adding the appropriate files or by enabling or disabling preprocessor definitions. Table 3-1 list the options that can be configured in TI_MSPBoot_Config.h.
Value | Description |
---|---|
NDEBUG |
|
Defined | ASSERT_H functions are ignored. Watchdog is enabled. |
Undefined | Used during debugging. ASSERT_H functions are checked. Watchdog is disabled. |
CONFIG_MI_MEMORY_RANGE_CHECK |
|
Defined | The address being erased or programmed is validated to be within the Application area. |
Undefined | Address being erased or programmed is not validated. Host must send correct address. |
CONFIG_APPMGR_APP_VALIDATE |
|
1 | Application is validated by checking its reset vector. |
2 | Application is validated by checking its CRC_CCITT. |
CONFIG_CI_PHYDL_COMM_SHARED |
|
Defined | Communication Interface PHY-DL layer is shared with application. |
Undefined | CI PHY-DL is not shared with application. |
CONFIG_CI_PHYDL_TIMEOUT |
|
Defined | Detect time-out in CI PHY-DL. |
Undefined | CI PHY-DL does not detect time-out. |
CONFIG_CI_PHYDL_ERROR_CALLBACK |
|
Defined | A callback function is called when a time-out error is detected. |
Undefined | A callback function is not called when a time-out is detected. |
Other customizations are selected by adding and using the appropriate files in the project. Table 3-2 lists the files that are interchangeable in the project.
File | Comments |
---|---|
CI PHY-DL | |
TI_MSPBoot_CI_PHYDL_USCI_UART.c | Use eUSCI as UART |
TI_MSPBoot_CI_PHYDL_CC1101.c | Use CC110x |
MI | |
TI_MSPBoot_MI_FRAM.c | API used to program application FRAM |
TI_MSPBoot_MI_FRAMDualImg.c | API implementing dual image in FRAM |
App Manager | |
TI_MSPBoot_AppMgr.c | Standard App Manager |
TI_MSPBoot_AppMgrDualImg.c | App Manager that supports dual image |