SLAZ178T October 2012 – May 2021 MSP430F2418
CPU Module
Compiler-Fixed
Using odd values in the SP register
If the stack pointer (SP) is written with an odd value then the first time that the SP is used, the LSB of the SP is forced to zero.
Do not use odd values with the SP.
Refer to the table below for compiler-specific fix implementation information.
IDE/Compiler | Version Number | Notes |
---|---|---|
IAR Embedded Workbench | Not affected | |
TI MSP430 Compiler Tools (Code Composer Studio) | Not affected | |
MSP430 GNU Compiler (MSP430-GCC) | MSP430-GCC 4.9 build 389 or later | User is required to add the compiler flag option below. -msilicon-errata=cpu8 -msilicon-errata-warn=cpu8 generates a warning in addition |
MSP430 GNU Compiler (MSP430-GCC) | MSP430-GCC 5.x build 14 or later | User is required to add the compiler flag option below. -msilicon-errata=cpu8 -msilicon-errata-warn=cpu8 generates a warning in addition |