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.

How to setup TI-RTOS for MSP430F5528 and MSP430FR5969

Other Parts Discussed in Thread: MSP430F5528, CODECOMPOSER, MSP430WARE, ADS1220

Hello,

I'm attempting to setup the TI-RTOS for use with the MSP430F5528 and MSP430FR5569, but I receive an error during the setup. I'm following the instructions from the Creating TI-RTOS Projects for Other MSP430 Devices page.

I'm using the following tools:

  • CodeComposer Studio v6.0.1.00040 
  • TI-RTOS for MSP430 v2.10.01.38
  • XDC Tool Core v3.30.05.60

I modified the tiros.mak as follows:

When I try to build the MSP430Ware driverlib and TI-RTOS driver libraries, I receive the following errors:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>cd C:\ti\tirtos_msp430_2_10_01_38

C:\ti\tirtos_msp430_2_10_01_38>..\xdctools_3_30_05_60_core\gmake.exe -f tirtos.mak drivers
gmake[1]: Entering directory `c:/ti/tirtos_msp430_2_10_01_38/products/MSP430Ware_1_80_01_03a'
gmake[2]: Entering directory `c:/ti/tirtos_msp430_2_10_01_38/products/MSP430Ware_1_80_01_03a/driverlib'
"Building for MSP430F5529 for the MSP430F5xx_6xx Family"
gmake[3]: Entering directory `c:/ti/tirtos_msp430_2_10_01_38/products/MSP430Ware_1_80_01_03a/driverlib'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `c:/ti/tirtos_msp430_2_10_01_38/products/MSP430Ware_1_80_01_03a/driverlib'
"Building for MSP430F5528 for the MSP430F5xx_6xx Family"
gmake[3]: Entering directory `c:/ti/tirtos_msp430_2_10_01_38/products/MSP430Ware_1_80_01_03a/driverlib'
  CC    MSP430F5xx_6xx/adc10_a.c
process_begin: CreateProcess(NULL, c:/ti/ccsv6/tools/compiler/msp430_4.3.1/bin/cl430 -vmspx --abi=eabi --code_model=large --data_model=restricted -O2 -g -D__MSP
430F5528__ --diag_warning=255 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal -Ic:/ti/ccsv6
/ccs_base/msp430/include -Ic:/ti/ccsv6/tools/compiler/msp430_4.3.1/include -IMSP430F5xx_6xx -eo.obj --obj_directory=ccs-MSP430F5528 MSP430F5xx_6xx/adc10_a.c, ..
.) failed.
make (e=2): The system cannot find the file specified.
gmake[3]: *** [ccs-MSP430F5528/adc10_a.obj] Error 2
gmake[3]: Leaving directory `c:/ti/tirtos_msp430_2_10_01_38/products/MSP430Ware_1_80_01_03a/driverlib'
gmake[2]: *** [MSP430F5528] Error 2
gmake[2]: Leaving directory `c:/ti/tirtos_msp430_2_10_01_38/products/MSP430Ware_1_80_01_03a/driverlib'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `c:/ti/tirtos_msp430_2_10_01_38/products/MSP430Ware_1_80_01_03a'
gmake: *** [msp430ware] Error 2

C:\ti\tirtos_msp430_2_10_01_38>

Any suggestions to fix the error?

Thank you!

Best regards,

Blair

  • Hi Blair,

    Can you check your <tirtos install dir>/tirtos.mak file and verify you are using the correct compiler version?  

    CCS_BUILD ?= true
    DEFAULT_INSTALLATION_DIR      ?= c:/ti
    ti.targets.msp430.elf.MSP430X ?= $(DEFAULT_INSTALLATION_DIR)/ccsv6/tools/compiler/msp430_4.3.3

    Installed compilers are found in <CCS install dir>\ccsv6\tools\compiler

    Regards,

    -- Emmanuel

  • Hi Emmanuel,

    I checked the file and compiler was incorrect. The original file expected v4.3.1, but v4.3.3 is installed on my system. I updated the tirtos.mak file to match and was able to run gmake!

    Thank you for your help!

    Best regards,
    Blair
  • Hi,

    I´m the new user of TI tools. I´m trying to generate new ti_txt binary file for ADS1220 evaluation board.

    I´m using the following tools:
    CodeComposer Studio v6.1.0.00104
    TI-RTOS for MSP430 v2.12.01.33 (tirtos_msp43x_2_12_01_33)
    XDC Tool Core v3.31.00.24 (xdctools_3_31_00_24_core)

    However, I´m able to run the commands from instructions "Creating TI-RTOS Projects for Other MSP430 Devices"
    processors.wiki.ti.com/.../Creating_TI-RTOS_Projects_for_Other_MSP430_Devices.

    But I cannot find those files mentioned in the instructions .\packages\ti\drivers\lib\[non]instrumented\driver_MSP430*.ae430X in my computer after command:
    ..\xdctools_3_25_04_88\gmake.exe -f tirtos.mak drivers
    is there something that I can do because the CCS is giving me lots of errors when I try to go forward and build the project without noticing above mentioned issue?
    I have added this MSP430F5528 to devlist in tirstos.mak and I believe that I´m using the correct compiler because I didn´t get any error messages during driver generation.

    BR,

    Joonas
  • Hi Joonas,

    Can you please open a new thread for this? And in that new thread, attach:

    - the full output from the command "..\xdctools_3_25_04_88\gmake.exe -f tirtos.mak drivers"
    - the tirtos.mak and/or tirtos.bld IF you have modified these files

    Steve