This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/MSP430FR5994: Launchpad and TI-RTOS example won't build

Part Number: MSP430FR5994
Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

A few weeks ago, I initially loaded the latest CCS (V10.something) and found that some of the configuration files were wrong for my device (it thought my MSP430FR5994 only had a Port 1).
That is why I am currently using CCS V9.3.12 and am reluctant to update to the latest.
I installed MSPWare 3.8.10.09 and successfully built and ran a few programs of my own as well as the examples.

The problem comes after installing TI_RTOS 2.20.00.06 and the "Empty (Minimal) Project" example

When I try to build it I see this error:

xdc.cfg.Program : The package 'ti.sysbios.family.msp430' is not compatible with XDCtools used in this build. Please either use XDCtools compatible with that package, or update the product containing that package, or rebuild the package with XDCtools 3.50 or later. .xdchelp /empty_min_MSP_EXP430FR5994_TI line 71 C/C++ Problem

In case it is helpful, here are some other version numbers:-
From the "includes" it looks like I am using XDCTools 3.60.02.34 and the ti.sysbios.family.msp430 files are in a folder called bios_6_46_00_23/packages.

My question is: what do I need to do to build the example?

I am on UK time so bear with me if there is a lag in replying to requests for more information. Thanks.

  • Hi Anthony,

    You need to use the XDCtools that is recommended in the TI-RTOS for MSP430 Release Notes. You can download XDCtools here: http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/index.html

    Todd

  • Thanks for your help with this Todd.

    I looked in a document entitled "TI-RTOS MSP43x 2.20.00.06 Release Notes" that was installed in the RTOS folder (C:/ti/tirtos_msp43x_2_20_00_06/release_notes_tirtos_msp43x_2_20_00_06.html)and it says:
    Dependencies... "XDCTools 3.32.00.06 or higher".

    When I look in "Resource Explorer" it says I have XDC tools 3.60.02.34 installed (which is the version mentioned in my original post)

    So I think I am using a version of XDC tools that is recommended?

  • Hi Anthony,

    Can you attach the full build log? Please attach in a file instead of copy/paste to keep the thread more readable.

    Todd

  • Further details below - I'm still getting used to this forum.

  • Oops. Too early in the morning and I read your post incorrectly! Please install 3.32.00.06 (or 3.32.01.22) and have CCS discover it.

    1. Install XDCtools into c:\ti
    2. Start CCS and install new XDCtools. You should get a message about the new software
    3. Restart CCS
    4. Go to Project Properties->General->Products and change the XDCtools version to 3.32
    5. Clean and build the project.

    Todd

  • **** Build of configuration Debug for project empty_min_MSP_EXP430FR5994_TI ****
    
    "C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 2 all -O 
     
    Building file: "../empty_min.cfg"
    Invoking: XDCtools
    "C:/ti/ccs930/xdctools_3_60_02_34_core/xs" --xdcpath="C:/ti/tirtos_msp43x_2_20_00_06/packages;C:/ti/tirtos_msp43x_2_20_00_06/products/bios_6_46_00_23/packages;C:/ti/tirtos_msp43x_2_20_00_06/products/tidrivers_msp43x_2_20_00_08/packages;C:/ti/tirtos_msp43x_2_20_00_06/products/uia_2_00_06_52/packages;" xdc.tools.configuro -o configPkg -t ti.targets.msp430.elf.MSP430X -p ti.platforms.msp430:MSP430FR5994 -r release -c "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS" --compileOptions "-vmspx --data_model=restricted --use_hw_mpy=F5 --include_path=\"C:/ti/ccs930/ccs/ccs_base/msp430/include\" --include_path=\"E:/CSS_Workspace_v9/empty_min_MSP_EXP430FR5994_TI\" --include_path=\"E:/CSS_Workspace_v9/empty_min_MSP_EXP430FR5994_TI\" --include_path=\"C:/ti/tirtos_msp43x_2_20_00_06/products/msp430_driverlib_2_70_01_01a/driverlib/MSP430FR5xx_6xx\" --include_path=\"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include\" --advice:power=all --advice:power_severity=suppress --advice:hw_config=all --define=__MSP430FR5994__ --define=_MPU_ENABLE --define=ccs --define=MSP430WARE -g --printf_support=minimal --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --abi=eabi --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40  " "../empty_min.cfg"
    configuring empty_min.xe430X from package/cfg/empty_min_pe430X.cfg ...
    subdir_rules.mk:19: recipe for target 'build-2020857409-inproc' failed
    error: xdc.cfg.Program: "C:/ti/ccs930/xdctools_3_60_02_34_core/packages/xdc/cfg/Program.xs", line 71: xdc.cfg.Program : The package 'ti.sysbios.family.msp430' is not compatible with XDCtools used in this build. Please either use XDCtools compatible with that package, or update the product containing that package, or rebuild the package with XDCtools 3.50 or later.
    js: "C:/ti/ccs930/xdctools_3_60_02_34_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
    xdctools_3_60_02_34_core\gmake.exe: *** [package.mak:206: package/cfg/empty_min_pe430X.xdl] Error 1
    js: "C:/ti/ccs930/xdctools_3_60_02_34_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[1]: *** [build-2020857409-inproc] Error 1
    gmake: *** [build-2020857409] Error 2
    subdir_rules.mk:16: recipe for target 'build-2020857409' failed
    gmake: Target 'all' not remade because of errors.
    
    **** Build Finished ****
    

    I saw a button for "Insert file". I hope that is what you meant.

  • Perfect. Please do the steps I outlined above.

  • I went and downloaded XDCTools 3.32.01.22.
    I have moved the folder that was in the zip so it is now into C:\ti\xdctools_3_32_01_22_core

    I then started CCS and a "Install Discovered Products Window"  appeared with a message that it had discovered XDCTools 3.32

    I clicked on "Install". It prompted for a restart of CCS. I said yes.

    CCS restarted, I selected the "empty_min" project. Project|Properties|General, then on the Products Tab I could select XDCTools Version 3.32.1.22.
    Apply & Close.

    Selected the "empty_min" Project, context menu Clean Project (It seems to try a build too and comes with 5 errors). Then tried Project Build.
    build log attached.

    **** Build of configuration Debug for project empty_min_MSP_EXP430FR5994_TI ****
    
    "C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 2 all -O 
     
    making ../src/sysbios/sysbios.ae430X ...
    gmake[1]: Nothing to be done for 'all'.
    making ../src/sysbios/sysbios.ae430X ...
    gmake[2]: Nothing to be done for 'all'.
    Building target: "empty_min_MSP_EXP430FR5994_TI.out"
    Invoking: MSP430 Linker
    "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --advice:power=all --advice:power_severity=suppress --advice:hw_config=all --define=__MSP430FR5994__ --define=ccs --define=MSP430WARE --define=_MPU_ENABLE -g --printf_support=minimal --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --abi=eabi --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 -z -m"empty_min_MSP_EXP430FR5994_TI.map" --heap_size=160 --stack_size=160 --cinit_hold_wdt=on -i"C:/ti/ccs930/ccs/ccs_base/msp430/include" -i"C:/ti/ccs930/ccs/ccs_base/msp430/lib/5xx_6xx_FRxx" -i"C:/ti/ccs930/ccs/ccs_base/msp430/lib/FR59xx" -i"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/lib" -i"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include" --priority --reread_libs --define=_MPU_ENABLE --diag_wrap=off --display_error_number --warn_sections --xml_link_info="empty_min_MSP_EXP430FR5994_TI_linkInfo.xml" --use_hw_mpy=F5 --rom_model -o "empty_min_MSP_EXP430FR5994_TI.out" "./MSP_EXP430FR5994.obj" "./empty_min.obj" "../MSP_EXP430FR5994.cmd" -l"configPkg/linker.cmd" -llibmpu_init.a -llibmath.a -l"C:/ti/tirtos_msp43x_2_20_00_06/products/msp430_driverlib_2_70_01_01a/driverlib/MSP430FR5xx_6xx/ccs/MSP430FR5994.lib" -llibc.a 
    <Linking>
    error #10458-D: No specialization routine chosen for '_c_int00', referenced from 'ROOT_SECTION:<internal>'.
    error #10458-D: No specialization routine chosen for '_c_int00', referenced from '.reset:boot.ae430X<boot.oe430X>'.
    error #10010: errors encountered during linking; "empty_min_MSP_EXP430FR5994_TI.out" not built
     
    >> Compilation failure
    makefile:145: recipe for target 'empty_min_MSP_EXP430FR5994_TI.out' failed
    gmake[1]: *** [empty_min_MSP_EXP430FR5994_TI.out] Error 1
    makefile:141: recipe for target 'all' failed
    gmake: *** [all] Error 2
    
    **** Build Finished ****
    

  • Anthony,

    Can you do a rebuild and get the full log again? It looks like some of the items were not rebuilt. It should look something like this /cfs-file/__key/communityserver-discussions-components-files/81/full_5F00_build.txt

    Also, can you confirm that you imported empty_min from the product and did not modify anything (other than the XDCtools version).

    Todd

  • Here is result of rebuild.
    I imported empty_min through the resource explorer.
    I haven't changed anything apart from the XDCTools version.
    I could import it again to make double sure.
    Do I just delete the empty_min folder from my disk and then Import to CCS IDE again?

    **** Build of configuration Debug for project empty_min_MSP_EXP430FR5994_TI ****
    
    "C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 2 all -O 
     
    Building file: "../empty_min.cfg"
    Invoking: XDCtools
    "C:/ti/xdctools_3_32_01_22_core/xs" --xdcpath="C:/ti/tirtos_msp43x_2_20_00_06/packages;C:/ti/tirtos_msp43x_2_20_00_06/products/bios_6_46_00_23/packages;C:/ti/tirtos_msp43x_2_20_00_06/products/tidrivers_msp43x_2_20_00_08/packages;C:/ti/tirtos_msp43x_2_20_00_06/products/uia_2_00_06_52/packages;" xdc.tools.configuro -o configPkg -t ti.targets.msp430.elf.MSP430X -p ti.platforms.msp430:MSP430FR5994 -r release -c "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS" --compileOptions "-vmspx --data_model=restricted --use_hw_mpy=F5 --include_path=\"C:/ti/ccs930/ccs/ccs_base/msp430/include\" --include_path=\"E:/CSS_Workspace_v9/empty_min_MSP_EXP430FR5994_TI\" --include_path=\"E:/CSS_Workspace_v9/empty_min_MSP_EXP430FR5994_TI\" --include_path=\"C:/ti/tirtos_msp43x_2_20_00_06/products/msp430_driverlib_2_70_01_01a/driverlib/MSP430FR5xx_6xx\" --include_path=\"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include\" --advice:power=all --advice:power_severity=suppress --advice:hw_config=all --define=__MSP430FR5994__ --define=ccs --define=MSP430WARE --define=_MPU_ENABLE -g --printf_support=minimal --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --abi=eabi --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40  " "../empty_min.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring empty_min.xe430X from package/cfg/empty_min_pe430X.cfg ...
    generating custom ti.sysbios library makefile ... 
    generating custom ti.sysbios.family.msp430 Hwi stubs ... 
    Starting build of library sources ...
    making E:/CSS_Workspace_v9/empty_min_MSP_EXP430FR5994_TI/src/sysbios/sysbios.ae430X ...
    gmake[1]: Entering directory `E:/CSS_Workspace_v9/empty_min_MSP_EXP430FR5994_TI/src/sysbios'
    cle430X C:/ti/tirtos_msp43x_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/BIOS.c ...
    asme430X C:/ti/tirtos_msp43x_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/family/msp430/Hwi_switch_asm.asm ...
    asme430X C:/ti/tirtos_msp43x_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/family/msp430/TaskSupport_asm.asm ...
    are430X BIOS.obj msp430_Hwi_switch_asm.obj msp430_TaskSupport_asm.obj ...
    gmake[1]: Leaving directory `E:/CSS_Workspace_v9/empty_min_MSP_EXP430FR5994_TI/src/sysbios'
    Build of libraries done.
    cle430X package/cfg/empty_min_pe430X.c ...
    "package/cfg/empty_min_pe430X.c", line 8592: warning #112-D: statement is unreachable
    "package/cfg/empty_min_pe430X.c", line 9078: warning #112-D: statement is unreachable
    "package/cfg/empty_min_pe430X.c", line 9352: warning #112-D: statement is unreachable
    "package/cfg/empty_min_pe430X.c", line 9533: warning #112-D: statement is unreachable
    Finished building: "../empty_min.cfg"
     
            1 file(s) copied.
    making ../src/sysbios/sysbios.ae430X ...
    gmake[1]: Nothing to be done for 'all'.
    Building file: "../empty_min.c"
    Invoking: MSP430 Compiler
    "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccs930/ccs/ccs_base/msp430/include" --include_path="E:/CSS_Workspace_v9/empty_min_MSP_EXP430FR5994_TI" --include_path="E:/CSS_Workspace_v9/empty_min_MSP_EXP430FR5994_TI" --include_path="C:/ti/tirtos_msp43x_2_20_00_06/products/msp430_driverlib_2_70_01_01a/driverlib/MSP430FR5xx_6xx" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include" --advice:power=all --advice:power_severity=suppress --advice:hw_config=all --define=__MSP430FR5994__ --define=ccs --define=MSP430WARE --define=_MPU_ENABLE -g --printf_support=minimal --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --abi=eabi --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="empty_min.d_raw" --cmd_file="configPkg/compiler.opt" "../empty_min.c"
    Finished building: "../empty_min.c"
     
    Building file: "../MSP_EXP430FR5994.c"
    Invoking: MSP430 Compiler
    "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccs930/ccs/ccs_base/msp430/include" --include_path="E:/CSS_Workspace_v9/empty_min_MSP_EXP430FR5994_TI" --include_path="E:/CSS_Workspace_v9/empty_min_MSP_EXP430FR5994_TI" --include_path="C:/ti/tirtos_msp43x_2_20_00_06/products/msp430_driverlib_2_70_01_01a/driverlib/MSP430FR5xx_6xx" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include" --advice:power=all --advice:power_severity=suppress --advice:hw_config=all --define=__MSP430FR5994__ --define=ccs --define=MSP430WARE --define=_MPU_ENABLE -g --printf_support=minimal --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --abi=eabi --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="MSP_EXP430FR5994.d_raw" --cmd_file="configPkg/compiler.opt" "../MSP_EXP430FR5994.c"
    Finished building: "../MSP_EXP430FR5994.c"
     
    making ../src/sysbios/sysbios.ae430X ...
    gmake[2]: Nothing to be done for 'all'.
    Building target: "empty_min_MSP_EXP430FR5994_TI.out"
    Invoking: MSP430 Linker
    "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --advice:power=all --advice:power_severity=suppress --advice:hw_config=all --define=__MSP430FR5994__ --define=ccs --define=MSP430WARE --define=_MPU_ENABLE -g --printf_support=minimal --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --abi=eabi --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 -z -m"empty_min_MSP_EXP430FR5994_TI.map" --heap_size=160 --stack_size=160 --cinit_hold_wdt=on -i"C:/ti/ccs930/ccs/ccs_base/msp430/include" -i"C:/ti/ccs930/ccs/ccs_base/msp430/lib/5xx_6xx_FRxx" -i"C:/ti/ccs930/ccs/ccs_base/msp430/lib/FR59xx" -i"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/lib" -i"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include" --priority --reread_libs --define=_MPU_ENABLE --diag_wrap=off --display_error_number --warn_sections --xml_link_info="empty_min_MSP_EXP430FR5994_TI_linkInfo.xml" --use_hw_mpy=F5 --rom_model -o "empty_min_MSP_EXP430FR5994_TI.out" "./MSP_EXP430FR5994.obj" "./empty_min.obj" "../MSP_EXP430FR5994.cmd" -l"configPkg/linker.cmd" -llibmpu_init.a -llibmath.a -l"C:/ti/tirtos_msp43x_2_20_00_06/products/msp430_driverlib_2_70_01_01a/driverlib/MSP430FR5xx_6xx/ccs/MSP430FR5994.lib" -llibc.a 
    <Linking>
    error #10458-D: No specialization routine chosen for '_c_int00', referenced from 'ROOT_SECTION:<internal>'.
    error #10458-D: No specialization routine chosen for '_c_int00', referenced from '.reset:boot.ae430X<boot.oe430X>'.
    error #10010: errors encountered during linking; "empty_min_MSP_EXP430FR5994_TI.out" not built
     
    >> Compilation failure
    makefile:145: recipe for target 'empty_min_MSP_EXP430FR5994_TI.out' failed
    gmake[1]: *** [empty_min_MSP_EXP430FR5994_TI.out] Error 1
    makefile:141: recipe for target 'all' failed
    gmake: *** [all] Error 2
    
    **** Build Finished ****
    

  • I just imported the empty project.
    It defaulted to XDCTools V3.32.
    The build fails too. Here is the log:

    **** Build of configuration Debug for project empty_MSP_EXP430FR5994_TI ****
    
    "C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 2 all -O 
     
    Building file: "../empty.cfg"
    Invoking: XDCtools
    "C:/ti/xdctools_3_32_01_22_core/xs" --xdcpath="C:/ti/tirtos_msp43x_2_20_00_06/packages;C:/ti/tirtos_msp43x_2_20_00_06/products/bios_6_46_00_23/packages;C:/ti/tirtos_msp43x_2_20_00_06/products/tidrivers_msp43x_2_20_00_08/packages;C:/ti/tirtos_msp43x_2_20_00_06/products/uia_2_00_06_52/packages;" xdc.tools.configuro -o configPkg -t ti.targets.msp430.elf.MSP430X -p ti.platforms.msp430:MSP430FR5994 -r release -c "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS" --compileOptions "-vmspx --data_model=restricted --use_hw_mpy=F5 --include_path=\"C:/ti/ccs930/ccs/ccs_base/msp430/include\" --include_path=\"E:/CSS_Workspace_v9/empty_MSP_EXP430FR5994_TI\" --include_path=\"E:/CSS_Workspace_v9/empty_MSP_EXP430FR5994_TI\" --include_path=\"C:/ti/tirtos_msp43x_2_20_00_06/products/msp430_driverlib_2_70_01_01a/driverlib/MSP430FR5xx_6xx\" --include_path=\"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include\" --advice:power=all --advice:power_severity=suppress --advice:hw_config=all --define=__MSP430FR5994__ --define=_MPU_ENABLE --define=ccs --define=MSP430WARE -g --printf_support=minimal --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --abi=eabi --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40  " "../empty.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring empty.xe430X from package/cfg/empty_pe430X.cfg ...
    generating custom ti.sysbios library makefile ... 
    generating custom ti.sysbios.family.msp430 Hwi stubs ... 
    Starting build of library sources ...
    making E:/CSS_Workspace_v9/empty_MSP_EXP430FR5994_TI/src/sysbios/sysbios.ae430X ...
    gmake[1]: Entering directory `E:/CSS_Workspace_v9/empty_MSP_EXP430FR5994_TI/src/sysbios'
    cle430X C:/ti/tirtos_msp43x_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/BIOS.c ...
    asme430X C:/ti/tirtos_msp43x_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/family/msp430/Hwi_switch_asm.asm ...
    asme430X C:/ti/tirtos_msp43x_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/family/msp430/TaskSupport_asm.asm ...
    are430X BIOS.obj msp430_Hwi_switch_asm.obj msp430_TaskSupport_asm.obj ...
    gmake[1]: Leaving directory `E:/CSS_Workspace_v9/empty_MSP_EXP430FR5994_TI/src/sysbios'
    Build of libraries done.
    cle430X package/cfg/empty_pe430X.c ...
    "package/cfg/empty_pe430X.c", line 8666: warning #112-D: statement is unreachable
    "package/cfg/empty_pe430X.c", line 9152: warning #112-D: statement is unreachable
    "package/cfg/empty_pe430X.c", line 9426: warning #112-D: statement is unreachable
    "package/cfg/empty_pe430X.c", line 9607: warning #112-D: statement is unreachable
    Finished building: "../empty.cfg"
     
            1 file(s) copied.
    making ../src/sysbios/sysbios.ae430X ...
    gmake[1]: Nothing to be done for 'all'.
    Building file: "../empty.c"
    Invoking: MSP430 Compiler
    "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccs930/ccs/ccs_base/msp430/include" --include_path="E:/CSS_Workspace_v9/empty_MSP_EXP430FR5994_TI" --include_path="E:/CSS_Workspace_v9/empty_MSP_EXP430FR5994_TI" --include_path="C:/ti/tirtos_msp43x_2_20_00_06/products/msp430_driverlib_2_70_01_01a/driverlib/MSP430FR5xx_6xx" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include" --advice:power=all --advice:power_severity=suppress --advice:hw_config=all --define=__MSP430FR5994__ --define=_MPU_ENABLE --define=ccs --define=MSP430WARE -g --printf_support=minimal --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --abi=eabi --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="empty.d_raw" --cmd_file="configPkg/compiler.opt" "../empty.c"
    Finished building: "../empty.c"
     
    Building file: "../MSP_EXP430FR5994.c"
    Invoking: MSP430 Compiler
    "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccs930/ccs/ccs_base/msp430/include" --include_path="E:/CSS_Workspace_v9/empty_MSP_EXP430FR5994_TI" --include_path="E:/CSS_Workspace_v9/empty_MSP_EXP430FR5994_TI" --include_path="C:/ti/tirtos_msp43x_2_20_00_06/products/msp430_driverlib_2_70_01_01a/driverlib/MSP430FR5xx_6xx" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include" --advice:power=all --advice:power_severity=suppress --advice:hw_config=all --define=__MSP430FR5994__ --define=_MPU_ENABLE --define=ccs --define=MSP430WARE -g --printf_support=minimal --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --abi=eabi --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="MSP_EXP430FR5994.d_raw" --cmd_file="configPkg/compiler.opt" "../MSP_EXP430FR5994.c"
    Finished building: "../MSP_EXP430FR5994.c"
     
    making ../src/sysbios/sysbios.ae430X ...
    gmake[2]: Nothing to be done for 'all'.
    Building target: "empty_MSP_EXP430FR5994_TI.out"
    Invoking: MSP430 Linker
    "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --advice:power=all --advice:power_severity=suppress --advice:hw_config=all --define=__MSP430FR5994__ --define=_MPU_ENABLE --define=ccs --define=MSP430WARE -g --printf_support=minimal --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --abi=eabi --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 -z -m"empty_MSP_EXP430FR5994_TI.map" --heap_size=160 --stack_size=160 --cinit_hold_wdt=on -i"C:/ti/ccs930/ccs/ccs_base/msp430/include" -i"C:/ti/ccs930/ccs/ccs_base/msp430/lib/5xx_6xx_FRxx" -i"C:/ti/ccs930/ccs/ccs_base/msp430/lib/FR59xx" -i"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/lib" -i"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include" --priority --reread_libs --define=_MPU_ENABLE --diag_wrap=off --display_error_number --warn_sections --xml_link_info="empty_MSP_EXP430FR5994_TI_linkInfo.xml" --use_hw_mpy=F5 --rom_model -o "empty_MSP_EXP430FR5994_TI.out" "./MSP_EXP430FR5994.obj" "./empty.obj" "../MSP_EXP430FR5994.cmd" -l"configPkg/linker.cmd" -llibmpu_init.a -llibmath.a -l"C:/ti/tirtos_msp43x_2_20_00_06/products/msp430_driverlib_2_70_01_01a/driverlib/MSP430FR5xx_6xx/ccs/MSP430FR5994.lib" -llibc.a 
    <Linking>
    error #10458-D: No specialization routine chosen for '_c_int00', referenced from 'ROOT_SECTION:<internal>'.
    error #10458-D: No specialization routine chosen for '_c_int00', referenced from '.reset:boot.ae430X<boot.oe430X>'.
    error #10010: errors encountered during linking; "empty_MSP_EXP430FR5994_TI.out" not built
     
    >> Compilation failure
    makefile:145: recipe for target 'empty_MSP_EXP430FR5994_TI.out' failed
    gmake[1]: *** [empty_MSP_EXP430FR5994_TI.out] Error 1
    makefile:141: recipe for target 'all' failed
    gmake: *** [all] Error 2
    
    **** Build Finished ****
    

  • Hi Anthony,

    I was able to reproduce your issue. We have not validate TI-RTOS for MSP430 against new versions of the compiler. It looks like there is some change between ti-cgt-msp430_18.12.3.LTS and ti-cgt-msp430_18.12.34.LTS that is causing the issue. Can you try ti-cgt-msp430_18.12.3.LTS and see if that fixes the build error?  Here's the download site: https://www.ti.com/tool/download/MSP-CGT-18/18.12.3.LTS

    Todd

  • I downloaded the installation script for 18.12.3 from the link above and ran it (after receiving a dire warning about an invalid certificate) but then the default install location it offered me looked wrong (it was in my downloads folder). I was not sure if it needed to go in a particular folder, and if so, which?

    While searching for instructions I found a reference to Help->Software Updates... in CCS
    So I tried using that. I have unchecked "Show only the latest versions..." and can now check "MPS430 Compiler Tools" 18.12.3
    It says it cannot do this as there  is a newer version already installed
    On the "Install Remediation Page" none of the options allow me to install 18.12.3.

    What would you like me to try next?

    And thanks for your perseverance with this!

  • So I took the plunge and installed it under my c:\ti folder and changed a path in CCS to get it discovered.
    I have gone to the "empty" project properties and changed the compiler to V 18.12.3.
    It compiled. Hooray!

    Then I went to the empty_min project and that compiles too (no errors or warnings)  but when I "flash" my launchpad, neither LED0 nor LED1 flash.
    It seems to load OK but when the debug board LEDs stop flashing nothing happens.

    So I tried "debug". That did nothing either.

    What am I doing wrong now???

  • Things are slowly falling apart. After attempting debug CCS is stuck in some strange state where it seems to think it is currently debugging but actually isn't and won't let me cancel out of the debug session but won't let me do anything else either. So I have to restart CCS.
    Also, when I build one project, it seems to build all the others too?
    This whole installation feels sick now. 

    Am I doing something unusual here or going about it in a strange way?
    It feels like getting the examples to run ought to be easier than this.

    I can blow the whole lot away and start again with an older version of CCS if that is likely to help.

  • Anthony,

    Can you try using the 15.12.1.LTS compiler? This is what TI-RTOS for MSP430 was tested with.

    Todd

  • Well done Todd.

    (For the benefit of any other beginners trying to get this to work...
    I used Help->Install New Software, selected code Generation Tools Updates.
    Then selected TI Compiler Updates|MSP430 Compiler Tools 15.12.1 and installed it.
    I then went to the Project properties of the empty_min project and under General changed compiler version to 15.12.1)

    I can now compile, load and even debug the empty_min project and it is flashing the LED as it should.

    Is it then the case that I have to stick to that particular compiler version when using RTOS?
    Is this a fundamental incompatibility between RTOS and the newer compilers, or is it just a setting/configuration of that one example project that is causing a problem?
    Is TI/anyone else going to be doing any more work on this or is the workaround above considered to be a resolution of the issue and that's it?

    Thanks again.

  • Hi Anthony,

    It's always the safest to use the versions the product was validated with.

    I understand any frustration for not supporting all the newer versions. Unfortunately, doing so for products without active new feature development (i.e. TI-RTOS for MSP430) does not scale in regards to engineering resources.

    Todd

  • Oh. I did not realise TI-RTOS for MSP430 was a product without active new feature development.
    Do TI recommended a Real-Time OS for the MSP430 range?

  • Note: we still support it, but the last release was 4 years ago and we don't plan on having a new version.

    I'll push this thread to the MSP430 support team. They can better answer the other RTOS options.

    Todd