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.

MSP430ware 1.80.01.03 examples which fail to import into CCS under Linux

Other Parts Discussed in Thread: MSP-EXP430FR5969, MSP430WARE

Attempting to import the 430BOOST-SHARP96_OutOfBox project from the MSP430Ware 1.80.01.03 Resource Explorer examples for the MSP-EXP430FR5969 fails under CCSv6 Linux with the following problems reported:

See details below...
  Error: File/directory 'file:/opt/ti/ti_ccs6_0/msp430/msp430ware_1_80_01_03/examples/boards/MSP-EXP430FR5969/Software/430BOOST-SHARP96_OutOfBox/CCS/..%255CCTS%255C' cannot be located!
  Error: File/directory 'file:/opt/ti/ti_ccs6_0/msp430/msp430ware_1_80_01_03/examples/boards/MSP-EXP430FR5969/Software/430BOOST-SHARP96_OutOfBox/CCS/..%255Cdriverlib%255C' cannot be located!
  Error: File/directory 'file:/opt/ti/ti_ccs6_0/msp430/msp430ware_1_80_01_03/examples/boards/MSP-EXP430FR5969/Software/430BOOST-SHARP96_OutOfBox/CCS/..%255Cgrlib%255Cgrlib' cannot be located!
  Error: File/directory 'file:/opt/ti/ti_ccs6_0/msp430/msp430ware_1_80_01_03/examples/boards/MSP-EXP430FR5969/Software/430BOOST-SHARP96_OutOfBox/CCS/..%255Cgrlib%255Csharp96x96.c' cannot be located!
  Error: File/directory 'file:/opt/ti/ti_ccs6_0/msp430/msp430ware_1_80_01_03/examples/boards/MSP-EXP430FR5969/Software/430BOOST-SHARP96_OutOfBox/CCS/..%255Cgrlib%255Csharp96x96.h' cannot be located!
  Error: File/directory 'file:/opt/ti/ti_ccs6_0/msp430/msp430ware_1_80_01_03/examples/boards/MSP-EXP430FR5969/Software/430BOOST-SHARP96_OutOfBox/CCS/..%255Cgrlib%255CSharp96x96utils.asm' cannot be located!
  Error: File/directory 'file:/opt/ti/ti_ccs6_0/msp430/msp430ware_1_80_01_03/examples/boards/MSP-EXP430FR5969/Software/430BOOST-SHARP96_OutOfBox/CCS/..%255Cgrlib%255CSharp96x96utils.h' cannot be located!
  Error: File/directory 'file:/opt/ti/ti_ccs6_0/msp430/msp430ware_1_80_01_03/examples/boards/MSP-EXP430FR5969/Software/430BOOST-SHARP96_OutOfBox/CCS/..%255Cgrlib%255CSharp96x96utils.s' cannot be located!
  Error: File/directory 'file:/opt/ti/ti_ccs6_0/msp430/msp430ware_1_80_01_03/examples/boards/MSP-EXP430FR5969/Software/430BOOST-SHARP96_OutOfBox/CCS/..%255CPreloaded_Images%255C' cannot be located!
  Error: File/directory 'file:/opt/ti/ti_ccs6_0/msp430/msp430ware_1_80_01_03/examples/boards/MSP-EXP430FR5969/Software/430BOOST-SHARP96_OutOfBox/CCS/..%255CActivePowerMeasure.c' cannot be located!
  Error: File/directory 'file:/opt/ti/ti_ccs6_0/msp430/msp430ware_1_80_01_03/examples/boards/MSP-EXP430FR5969/Software/430BOOST-SHARP96_OutOfBox/CCS/..%255CActivePowerMeasure.h' cannot be located!
  Error: File/directory 'file:/opt/ti/ti_ccs6_0/msp430/msp430ware_1_80_01_03/examples/boards/MSP-EXP430FR5969/Software/430BOOST-SHARP96_OutOfBox/CCS/..%255CClockApp.c' cannot be located!
  Error: File/directory 'file:/opt/ti/ti_ccs6_0/msp430/msp430ware_1_80_01_03/examples/boards/MSP-EXP430FR5969/Software/430BOOST-SHARP96_OutOfBox/CCS/..%255CClockApp.h' cannot be located!
  Error: File/directory 'file:/opt/ti/ti_ccs6_0/msp430/msp430ware_1_80_01_03/examples/boards/MSP-EXP430FR5969/Software/430BOOST-SHARP96_OutOfBox/CCS/..%255CFR59xx_EXP.c' cannot be located!
  Error: File/directory 'file:/opt/ti/ti_ccs6_0/msp430/msp430ware_1_80_01_03/examples/boards/MSP-EXP430FR5969/Software/430BOOST-SHARP96_OutOfBox/CCS/..%255CFR59xx_EXP.h' cannot be located!
  Error: File/directory 'file:/opt/ti/ti_ccs6_0/msp430/msp430ware_1_80_01_03/examples/boards/MSP-EXP430FR5969/Software/430BOOST-SHARP96_OutOfBox/CCS/..%255CFRAMSpeedApp.c' cannot be located!
  Error: File/directory 'file:/opt/ti/ti_ccs6_0/msp430/msp430ware_1_80_01_03/examples/boards/MSP-EXP430FR5969/Software/430BOOST-SHARP96_OutOfBox/CCS/..%255CFRAMSpeedApp.h' cannot be located!
  Error: File/directory 'file:/opt/ti/ti_ccs6_0/msp430/msp430ware_1_80_01_03/examples/boards/MSP-EXP430FR5969/Software/430BOOST-SHARP96_OutOfBox/CCS/..%255CGame.c' cannot be located!
  Error: File/directory 'file:/opt/ti/ti_ccs6_0/msp430/msp430ware_1_80_01_03/examples/boards/MSP-EXP430FR5969/Software/430BOOST-SHARP96_OutOfBox/CCS/..%255CGame.h' cannot be located!
  Error: File/directory 'file:/opt/ti/ti_ccs6_0/msp430/msp430ware_1_80_01_03/examples/boards/MSP-EXP430FR5969/Software/430BOOST-SHARP96_OutOfBox/CCS/..%255Cmsp430fr59xx_CHR.asm' cannot be located!
  Error: File/directory 'file:/opt/ti/ti_ccs6_0/msp430/msp430ware_1_80_01_03/examples/boards/MSP-EXP430FR5969/Software/430BOOST-SHARP96_OutOfBox/CCS/..%255Cmsp430fr59xx_CHR.h' cannot be located!
  Error: File/directory 'file:/opt/ti/ti_ccs6_0/msp430/msp430ware_1_80_01_03/examples/boards/MSP-EXP430FR5969/Software/430BOOST-SHARP96_OutOfBox/CCS/..%255CmyTimer.c' cannot be located!
  Error: File/directory 'file:/opt/ti/ti_ccs6_0/msp430/msp430ware_1_80_01_03/examples/boards/MSP-EXP430FR5969/Software/430BOOST-SHARP96_OutOfBox/CCS/..%255CmyTimer.h' cannot be located!
  Error: File/directory 'file:/opt/ti/ti_ccs6_0/msp430/msp430ware_1_80_01_03/examples/boards/MSP-EXP430FR5969/Software/430BOOST-SHARP96_OutOfBox/CCS/..%255CULPMeter.c' cannot be located!
  Error: File/directory 'file:/opt/ti/ti_ccs6_0/msp430/msp430ware_1_80_01_03/examples/boards/MSP-EXP430FR5969/Software/430BOOST-SHARP96_OutOfBox/CCS/..%255CULPMeter.h' cannot be located!
  Error: File/directory 'file:/opt/ti/ti_ccs6_0/msp430/msp430ware_1_80_01_03/examples/boards/MSP-EXP430FR5969/Software/430BOOST-SHARP96_OutOfBox/CCS/..%255CUpdateDisplay.c' cannot be located!
  Error: File/directory 'file:/opt/ti/ti_ccs6_0/msp430/msp430ware_1_80_01_03/examples/boards/MSP-EXP430FR5969/Software/430BOOST-SHARP96_OutOfBox/CCS/..%255CUpdateDisplay.h' cannot be located!


The example imports into CCSv6 under Windows without these errors.

In the 430BOOST-SHARP96_OutOfBox there are two path issues which prevent it working under Linux:

1) The msp430ware_1_80_01_03/examples/boards/MSP-EXP430FR5969/Software/430BOOST-SHARP96_OutOfBox/CCS/430BOOST-SHARP96_OutOfBox.projectspec file uses backslash "\" as the directory separator, which needs to be forward slash "/" for Linux compatibility.

2) With the above corrected, the project imports into CCS under Linux but gets the following compilation error:

"../grlib/sharp96x96.c", line 47: fatal error #1965: cannot open source file "Sharp96x96.h"
1 catastrophic error detected in the compilation of "../grlib/sharp96x96.c".


The problem is that sharp96x96.c is trying to include Sharp96x96.h (upper case S), but the tile is actually sharp96x96.h (lower case s)

3) With the above two corrected, under Linux the link then fails for the same reason as under Windows - which is recorded in http://e2e.ti.com/support/microcontrollers/msp430/f/166/t/342831.aspx

Can the 430BOOST-SHARP96_OutOfBox example be corrected so that it uses paths which work under Windows and Linux?

  • The MSP-EXP430G2_CapacitiveTouch and MSP-EXP430G2_GrlibDisplay MSP430Ware 1.80.01.03 examples for the 430BOOST-SHARP96 BoosterPack also failed to import into CCS under Linux due to use of backslash in their .projectspec files.

    Also, to get the MSP-EXP430G2_GrlibDisplay project to compile had to change from a backslash to forward slash in the some of the project include paths.

    Thus, there maybe more MSP430Ware examples which fail to import / compile under Linux, but I am not sure how to perform a bulk import of all the examples to check them.

  • Chester Gillon said:
    Thus, there maybe more MSP430Ware examples which fail to import / compile under Linux,

     Hi Chester, I stopped explore MSP on CCS due I am concentrated to TIVA, I think the only way to do bulk import is to write a program doing the nasty work of copy from original .project to imported one missing the section <linkedResources>...

  • With MSP430Ware 1.80.01.03 none of the examples under Resource Explorer -> MSP430ware -> Libraries -> USB Developers Package -> Example Projects import under Linux (tried on two CentOS 6.5 64-bit machines) but they do import under Windows.

    There appears to be two problems with these examples under Linux:

    1) The .projectspec files in the examples are set to copy the file ../../../../driverlib/MSP430F5xx_6xx/deprecated/IAR/msp430f5xx_6xxgeneric.h. However, this IAR variant of the msp430f5xx_6xxgeneric.h isn't part of the MSP430ware installation under Linux.

    2) The msp430/msp430ware_1_80_01_03/resource_explorer_430_ware.xml file contains a space the the end of the following filename:

             <content name="Composite CDC+HID+MSC Device; Communicate Between Communicate Between Terminal and HID Demo App, with Two Storage Volumes" href="CHM1_term2HidDemo_2LUN.projectspec " dir="./CHM1_term2HidDemo_2LUN/CCS">


    Under Linux the space means the file name "CHM1_term2HidDemo_2LUN.projectspec " can't be opened.

  • Chester Gillon said:
    Thus, there maybe more MSP430Ware examples which fail to import / compile under Linux, but I am not sure how to perform a bulk import of all the examples to check them.

    I have only just noticed, but there is another thread CCSv6 Linux - windows style paths in MSP430ware project definitions cause fail on import which already contains an attachment with all the .projectspec files containing Windows style backslashes.

**Attention** This is a public forum