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/MSP430F5529: Unable to run projects downloaded from TI Resource Explorer

Part Number: MSP430F5529

Tool/software: Code Composer Studio

Hello,

We are using CCS Version 8.3, SYS/BIOS 6.75.1.05, TI-RTOS for MSP43xx version 2.20.0.06 and MSPWare 3.80.07.00. 

We seem to be having issues running any RTOS project downloaded from TI Resource Explorer. I have attached the image below. We are unable to make out what the errors are. We have tried installing older versions of TI RTOS but we are having the same errors pop up.

This may be a very mundane question but any help would be appreciated a lot. 

Thanks & Regards,
Sushen

  • Sushen T said:
    We seem to be having issues running any RTOS project downloaded from TI Resource Explorer.

    I assume you imported the project from Resource Explorer Classic view in CCS 8.3 as shown below? Is that correct?


    I did the same with CCS 8.3 and the project built without errors.

    Could you check if your version of XDCtools matches up with mine, and that TI-RTOS for MSP43x is enabled in Products and Repositories?

    If the build still fails after checking versions, please do a Rebuild Project and save off the full build output to a text file (as described here) and attach the build log here for us to review.

  • Hi Aarthi,

    We have verified the XDCTools version and made sure that the TI-RTOS for MSP43x is checked. I have attached the image for your reference. 

    The build still fails and the errors still persist. I have attached the build log. Please have a look and let us know what could be the issue.

    **** Build of configuration Debug for project uartecho_MSP_EXP430F5529LP_TI_MSP430F5529 ****
    
    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O 
     
    Building file: "../uartecho.cfg"
    Invoking: XDCtools
    "C:/ti/xdctools_3_32_02_25_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;C:/ti/bios_6_75_01_05/packages;C:/ti/simplelink_cc32xx_sdk_3_10_00_04/source;C:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages;C:/TI_v8/controlSUITE/powerSUITE/v_1_07_00_00/packages;" xdc.tools.configuro -o configPkg -t ti.targets.msp430.elf.MSP430X -p ti.platforms.msp430:MSP430F5529 -r release -c "C:/ti/ccsv8/tools/compiler/ti-cgt-msp430_18.1.7.LTS" --compileOptions "-vmspx --data_model=restricted --use_hw_mpy=F5 --include_path=\"C:/ti/ccsv8/ccs_base/msp430/include\" --include_path=\"D:/CodeBaseEmbedded/uartecho_MSP_EXP430F5529LP_TI_MSP430F5529\" --include_path=\"D:/CodeBaseEmbedded/uartecho_MSP_EXP430F5529LP_TI_MSP430F5529\" --include_path=\"C:/ti/tirtos_msp43x_2_20_00_06/products/msp430_driverlib_2_70_01_01a/driverlib/MSP430F5xx_6xx\" --include_path=\"C:/ti/ccsv8/tools/compiler/ti-cgt-msp430_18.1.7.LTS/include\" --advice:power=\"all\" --advice:power_severity=suppress --define=__MSP430F5529__ --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=CPU23 --silicon_errata=CPU40  " "../uartecho.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring uartecho.xe430X from package/cfg/uartecho_pe430X.cfg ...
    generating custom ti.sysbios library makefile ... 
    generating custom ti.sysbios.family.msp430 Hwi stubs ... 
    Starting build of library sources ...
    making D:/CodeBaseEmbedded/uartecho_MSP_EXP430F5529LP_TI_MSP430F5529/src/sysbios/sysbios.ae430X ...
    gmake[1]: Entering directory `D:/CodeBaseEmbedded/uartecho_MSP_EXP430F5529LP_TI_MSP430F5529/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 `D:/CodeBaseEmbedded/uartecho_MSP_EXP430F5529LP_TI_MSP430F5529/src/sysbios'
    Build of libraries done.
    cle430X package/cfg/uartecho_pe430X.c ...
    "package/cfg/uartecho_pe430X.c", line 11225: warning #112-D: statement is unreachable
    "package/cfg/uartecho_pe430X.c", line 11460: warning #112-D: statement is unreachable
    "package/cfg/uartecho_pe430X.c", line 11680: warning #112-D: statement is unreachable
    "package/cfg/uartecho_pe430X.c", line 11861: warning #112-D: statement is unreachable
    Finished building: "../uartecho.cfg"
     
            1 file(s) copied.
    making ../src/sysbios/sysbios.ae430X ...
    gmake[1]: Nothing to be done for 'all'.
    Building file: "../uartecho.c"
    Invoking: MSP430 Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-msp430_18.1.7.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv8/ccs_base/msp430/include" --include_path="D:/CodeBaseEmbedded/uartecho_MSP_EXP430F5529LP_TI_MSP430F5529" --include_path="D:/CodeBaseEmbedded/uartecho_MSP_EXP430F5529LP_TI_MSP430F5529" --include_path="C:/ti/tirtos_msp43x_2_20_00_06/products/msp430_driverlib_2_70_01_01a/driverlib/MSP430F5xx_6xx" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-msp430_18.1.7.LTS/include" --advice:power="all" --advice:power_severity=suppress --define=__MSP430F5529__ --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=CPU23 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="uartecho.d_raw" --cmd_file="configPkg/compiler.opt" "../uartecho.c"
    Finished building: "../uartecho.c"
     
    Building file: "../MSP_EXP430F5529LP.c"
    Invoking: MSP430 Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-msp430_18.1.7.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv8/ccs_base/msp430/include" --include_path="D:/CodeBaseEmbedded/uartecho_MSP_EXP430F5529LP_TI_MSP430F5529" --include_path="D:/CodeBaseEmbedded/uartecho_MSP_EXP430F5529LP_TI_MSP430F5529" --include_path="C:/ti/tirtos_msp43x_2_20_00_06/products/msp430_driverlib_2_70_01_01a/driverlib/MSP430F5xx_6xx" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-msp430_18.1.7.LTS/include" --advice:power="all" --advice:power_severity=suppress --define=__MSP430F5529__ --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=CPU23 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="MSP_EXP430F5529LP.d_raw" --cmd_file="configPkg/compiler.opt" "../MSP_EXP430F5529LP.c"
    Finished building: "../MSP_EXP430F5529LP.c"
     
    making ../src/sysbios/sysbios.ae430X ...
    gmake[2]: Nothing to be done for 'all'.
    Building target: "uartecho_MSP_EXP430F5529LP_TI_MSP430F5529.out"
    Invoking: MSP430 Linker
    "C:/ti/ccsv8/tools/compiler/ti-cgt-msp430_18.1.7.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --advice:power="all" --advice:power_severity=suppress --define=__MSP430F5529__ --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=CPU23 --silicon_errata=CPU40 -z -m"uartecho_MSP_EXP430F5529LP_TI_MSP430F5529.map" --heap_size=160 --stack_size=160 --cinit_hold_wdt=on -i"C:/ti/ccsv8/ccs_base/msp430/include" -i"C:/ti/ccsv8/ccs_base/msp430/lib/5xx_6xx_FRxx" -i"C:/ti/ccsv8/tools/compiler/ti-cgt-msp430_18.1.7.LTS/lib" -i"C:/ti/ccsv8/tools/compiler/ti-cgt-msp430_18.1.7.LTS/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="uartecho_MSP_EXP430F5529LP_TI_MSP430F5529_linkInfo.xml" --use_hw_mpy=F5 --rom_model -o "uartecho_MSP_EXP430F5529LP_TI_MSP430F5529.out" "./MSP_EXP430F5529LP.obj" "./uartecho.obj" "../MSP_EXP430F5529LP.cmd" -l"configPkg/linker.cmd" -llibmath.a -l"C:/ti/tirtos_msp43x_2_20_00_06/products/msp430_driverlib_2_70_01_01a/driverlib/MSP430F5xx_6xx/ccs/MSP430F5529.lib" -llibc.a 
    <Linking>
    error #10458-D: No specialization routine chosen for '_auto_init', referenced from '.text:_isr:_c_int00:boot.ae430X<boot.oe430X>'.
    error #10010: errors encountered during linking; "uartecho_MSP_EXP430F5529LP_TI_MSP430F5529.out" not built
     
    >> Compilation failure
    makefile:144: recipe for target 'uartecho_MSP_EXP430F5529LP_TI_MSP430F5529.out' failed
    gmake[1]: *** [uartecho_MSP_EXP430F5529LP_TI_MSP430F5529.out] Error 1
    makefile:140: recipe for target 'all' failed
    gmake: *** [all] Error 2
    
    **** Build Finished ****
    

    Thanks & Regards,
    Sushen

  • I see that you are building with compiler version 18.1.7.LTS. The reason I did not see the same error is that I was compiling with version 18.1.4.LTS. Although 18.1.4 builds without errors and 18.1.7 generates linker error, both versions will not actually run properly on the target. This is a known issue with using TI-RTOS for MSP430 with newer versions of CCS/compiler tools. The issue is captured in the Known Issues page which is linked to from the TI-RTOS download page. And also mentioned in this forum post: https://e2e.ti.com/support/microcontrollers/msp430/f/166/t/822945

    Due to this issue and the fact that there is no continuing support for TI-RTOS for MSP430, we recommend using older versions of CCS, compiler and XDCtools as documented in the TI-RTOS Release Notes.