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.

Migrating Custom TIRTOS project in IAR MSP430

Other Parts Discussed in Thread: MSP430F5529, MSP430F5418A, MSP430WARE

Hello,

Im trying to migrate TIRTOS over to an MSP4305418A I have successfully rebuilt the libraries and confirmed that it exists in:

C:\ti\tirtos_msp43x_2_12_00_24\products\MSPWare_2_00_00_40a\driverlib\iar-MSP430F5418A

I am running IAR ver 7.2

for testing purposes, have successfully gotten the msp430f5529 drivers to build and get put on the F5529 launch pad. 

however when I try to change the device in "Options" to an msp430f5418A the build fails and i get an "Error while running c:/ti/xdctool_3_30_04_52_core/xs"

if I exclude the TIRTOS module in the .CFG file the build works and will port over to the device. 

not sure if i'm missing a step or what  but any input on this would be great at this point. 

Thanks,

Dayle

  • Hi Dayle,

    Can you attach the complete output of the build?

    Without the useModule("ti.tirtos.TIRTOS") in the .cfg,  you said the build works. Does the application run also?

    I'm assuming you followed this steps: http://processors.wiki.ti.com/index.php/Creating_TI-RTOS_2.10_Projects_for_Other_MSP430_Devices...correct?

    Todd

  • Hi Todd,

    I have read through the link you showed me I was able to verify that the libraries were build for the device. however IAR is  a little different than CCS so I am not sure if I did everything else correctly. I changed the linker search path to the correct "iar-MSP430F5418A.r43" file . is there anything else i'm missing?

    Sorry Im a little new to IAR and MSP430 so bare with me haha.

    Right now I am just using printf's to kind of learn how the OS works.  so the code doesn't doesn't use any of the drivers yet . the application right now  will run on the msp430F5418A however when I try to use the TIRTOS module is when things fail.

    I am attaching the complete build for you.  

    Thanks for the help!

    Dayle

    0842.RTOS.zip

  • I apologize I  attached the Wrong build. here is the one i'm working with.

    sorry about that. 

    8863.Test application.zip

  • Thanks. I'll take a look at this one.
  • Thanks!. I also noticed when I went to build the libraries in command prompt  the build seemed to look like it didnt finish. lemme know if you think this is normal.

    C:\ti\tirtos_msp430_2_10_01_38>C:\ti\xdctools_3_30_04_52_core\gmake.exe -f tirto
    s.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 MSP430F5418A 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'
    gmake[2]: Leaving directory `c:/ti/tirtos_msp430_2_10_01_38/products/MSP430Ware_
    1_80_01_03a/driverlib'
    gmake[1]: Leaving directory `c:/ti/tirtos_msp430_2_10_01_38/products/MSP430Ware_
    1_80_01_03a'
    building tirtos packages ...
    making all: Fri Apr 10 11:05:55 EDT 2015 ...
    ======== .interfaces [./packages/examples] ========
    ======== .interfaces [./packages/examples/boards/MSP_EXP430F5529] ========
    ======== .interfaces [./packages/examples/boards/MSP_EXP430F5529LP] ========
    ======== .interfaces [./packages/examples/boards/MSP_EXP430FR5969LP] ========
    ======== .interfaces [./packages/examples/examplesgen] ========
    ======== .interfaces [./packages/ti/drivers] ========
    ======== .interfaces [./packages/ti/tirtos] ========
    ======== .interfaces [./packages/ti/tirtos/build] ========
    ======== .interfaces [./packages/ti/tirtos/productview] ========
    ======== .interfaces [./packages/ti/tirtos/utils] ========
    .interfaces files complete: Fri Apr 10 11:05:58 EDT 2015.
    ======== .libraries [./packages/examples] ========
    ======== .libraries [./packages/examples/boards/MSP_EXP430F5529] ========
    ======== .libraries [./packages/examples/boards/MSP_EXP430F5529LP] ========
    ======== .libraries [./packages/examples/boards/MSP_EXP430FR5969LP] ========
    ======== .libraries [./packages/examples/examplesgen] ========
    ======== .libraries [./packages/ti/drivers] ========
    archiving package/lib/lib/drivers_MSP430F5418A_instrumented/package/package_ti.d
    rivers.or430XS package/lib/lib/drivers_MSP430F5418A_instrumented/./gpio/GPIOMSP4
    30.or430XS package/lib/lib/drivers_MSP430F5418A_instrumented/Watchdog.or430XS pa
    ckage/lib/lib/drivers_MSP430F5418A_instrumented/./watchdog/WatchdogMSP430.or430X
    S package/lib/lib/drivers_MSP430F5418A_instrumented/I2C.or430XS package/lib/lib/
    drivers_MSP430F5418A_instrumented/./i2c/I2CUSCIB.or430XS package/lib/lib/drivers
    _MSP430F5418A_instrumented/UART.or430XS package/lib/lib/drivers_MSP430F5418A_ins
    trumented/./uart/UARTUSCIA.or430XS package/lib/lib/drivers_MSP430F5418A_instrume
    nted/SDSPI.or430XS package/lib/lib/drivers_MSP430F5418A_instrumented/./sdspi/SDS
    PIUSCIA.or430XS package/lib/lib/drivers_MSP430F5418A_instrumented/./sdspi/SDSPIU
    SCIB.or430XS package/lib/lib/drivers_MSP430F5418A_instrumented/SPI.or430XS packa
    ge/lib/lib/drivers_MSP430F5418A_instrumented/./spi/SPIUSCIADMA.or430XS package/l
    ib/lib/drivers_MSP430F5418A_instrumented/./spi/SPIUSCIBDMA.or430XS into lib/driv
    ers_MSP430F5418A_instrumented.ar430XS ...
    Error [14]: Unknown tag: E2
    gmake[1]: *** [lib/drivers_MSP430F5418A_instrumented.ar430XS] Error 2
    gmake[1]: *** Deleting file `lib/drivers_MSP430F5418A_instrumented.ar430XS'
    xdctools_3_30_04_52_core\gmake.exe: *** [packages/ti/drivers,.libraries] Error 2

    gmake: *** [drivers] Error 2

  • Hey Todd ,
    just wanted to let you know I have successfully solved my problem. ended up that the drivers weren't being fully built in the command prompt.

    Thank you for the Help !and support
  • Thanks for letting me know. Why didn't the drivers fully build from the command prompt?

    Todd

  • Honesty I'm not really sure. I moved over to a machine with a real IAR license rather than the 30 day evaluation, and added a -v to export XDCOPTIONS " export XDCOPTIONS = -v" and they completed.