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

Other Parts Discussed in Thread: MSP430F5529, MSP430F5527, MSP430F6459, MSP430F5528, MSP430FR5969

Hi,

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.

I updated the tirtos.mak file by adding the correct msp430 to the list (tirtos.bld is as before):

#
# To build TI-RTOS driver libraries for other MSP430 devices; simply append the
# device names to MSP430DEVLIST (separated by whitepsaces)
# MSP430DEVLIST := \
# MSP430F5529 \
# MSP430F5527 \
# MSP430F6459 \
# etc...
#
MSP430DEVLIST := MSP430F5529 \
MSP430F5528 \
MSP430FR5969

#

And verified that I´m using the correct compiler version:

CCS_BUILD ?= true
DEFAULT_INSTALLATION_DIR ?= c:/ti
ti.targets.msp430.elf.MSP430X ?= $(DEFAULT_INSTALLATION_DIR)/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3
ti.targets.arm.elf.M4F ?= $(DEFAULT_INSTALLATION_DIR)/ccsv6/tools/compiler/ti-cgt-arm_5.2.2

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 Jonas,

    The library files should be located at:

    C:\ti\tirtos_msp43x_2_12_01_33\packages\ti\drivers\lib

    Can you check this location for the missing files?

    If you don't see them or don't see ANY files there, can you try running a gmake clean command, and then retry your gmake command to build the drivers again?

    Steve
  • Hi Steve,

    Found some drivers in that .\lib location but the example that I was referring is different (like gpio,spi,i2c etc. drivers). And I cannot find
    these folders instrumented and nonInstrumented, but this shouldn´t be a problem, I guess.
    I only have following drivers for MSP430F5528, probably the newer version will name these drivers differently than in example mentioned earlier?

    So the next question would be that when I try to build project in CCS, I got lots of errors. These errors are linking to linker file
    lnk_msp430f5528.cmd

    See line 16. There are backslashes instead of slash is that correct?
    I found the note from that lnk_msp430f5528.cmd file that it should be used only in command line and if used in IDE something should be
    modified..

    BR,

    Joonas

  • Joonas Hollo said:
    Found some drivers in that .\lib location but the example that I was referring is different (like gpio,spi,i2c etc. drivers)

    All of the drivers that used to be individually created (e.g. GPIO, SPI, etc.) have been consolidated into a single driver library.  This is the "drivers_<board>.a*" library file(s) you are seeing.

    Joonas Hollo said:
    the next question would be that when I try to build project in CCS, I got lots of errors. These errors are linking to linker file
    lnk_msp430f5528.cmd

    Why are you linking in this extra linker command file?  The libraries listed in that file should be automatically linked during your project build.

    Steve