Hello,
I have a customer developing an application based off of the MSP430FRboot 1.3 code, and their project was building using the 20.2.7 LTS compiler but once they upgraded to the new 21.6.0 LTS compiler the compilation failed on the file, TI_MSPBoot_MI_FRAMDualImg.c.
I compiled the example unmodified using the new compiler and my compiler segfaulted, and customer had to replace a couple pointers with the actual hex addresses in order for the build to succeed. The specific pointers/ addresses were &_Down_Offset_Size, &_Down_Offset1, &_Down_Offset2, BOOT_VECTOR_TABLE that needed to be replaced in the code.
Specific compiler invocation with the error below:
Invoking: MSP430 Compiler "/Applications/ti/ccs1200/ccs/tools/compiler/ti-cgt-msp430_21.6.0.LTS/bin/cl430" -vmspx --code_model=large --data_model=large -O3 --opt_for_speed=0 --use_hw_mpy=F5 --include_path="/Applications/ti/ccs1200/ccs/ccs_base/msp430/include" --include_path="/Applications/ti/ccs1200/ccs/tools/compiler/ti-cgt-msp430_21.6.0.LTS/include" --include_path="/Users/munan/customer_apps/Kodak/MSPBoot_FR5994_UART" --include_path="/Users/munan/customer_apps/Kodak/MSPBoot_FR5994_UART/AppMgr" --include_path="/Users/munan/customer_apps/Kodak/MSPBoot_FR5994_UART/Comm" --include_path="/Users/munan/customer_apps/Kodak/MSPBoot_FR5994_UART/MI" --advice:power="all" --advice:power_severity=suppress --advice:hw_config=all --define=MSPBoot_20bit --define=MSPBoot_BSL --define=MSPBoot_CI_UART --define=__MSP430FR5994__ --define=_MPU_ENABLE -g --gcc --printf_support=minimal --diag_warning=225 --display_error_number --abi=eabi --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="MI/TI_MSPBoot_MI_FRAMDualImg.d_raw" --obj_directory="MI" "../MI/TI_MSPBoot_MI_FRAMDualImg.c" MI/subdir_rules.mk:7: recipe for target 'MI/TI_MSPBoot_MI_FRAMDualImg.obj' failed abnormal termination of /Applications/ti/ccs1200/ccs/tools/compiler/ti-cgt-msp430_21.6.0.LTS/bin/cg430 gmake: *** [MI/TI_MSPBoot_MI_FRAMDualImg.obj] Segmentation fault: 11 gmake: Target 'all' not remade because of errors.
I also checked on my side and reverting to the old compiler solves the issue. Is there something up with the 21.6.0 LTS compiler?
Munan