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.

MindTree Stack Build Problems

Other Parts Discussed in Thread: MSP430BT5190, MSP430F5438, CC2560

Hi,

I installed MSPEXP-PAN13xx_GA_1_0_Setup.exe in the default location on my Windows XP host.

I used IAR EW MSP430 v5.1 to open workspace SPP.EWW.

When I do a build on any of the applications, I get a bunch of fatal errors "Can't open source file ....."

Is there an easy fix for these problems?

Thanks,

    Rick

 

  • RIck,

    I have a few questions:

    Can you tell me whether you have effectively installed the folder in C:\Texas Instruments ?

    Can you post the errors given by IAR?

    Are there any errors using the shortcuts?

     

    Regards,

    Gustavo

  • Hi Gustavo,

     

     Yes, everything is installed in default location; C:\Texas Instruments

    What do you mean about "shortcuts" ?

    Here you go for errors:

    Building configuration: temp - Debug
    Updating build tree...
    appl_bt_rf.c 
    Fatal Error[Pe1696]: cannot open source file "msp430bt5190.h" C:\Texas Instruments\MSPEXP-PAN13xx SDK\GA 1.0\MSP430-CC2560_Applications\Source\bluetooth\export\common_appl\arch_defines.h 16
                searched: "C:\Texas Instruments\MSPEXP-PAN13xx SDK\GA 1.0\MSP430-CC2560_Applications\Source\bluetooth\build\msp430\spp\temp\iar\release\..\..\..\..\..\..\export\include\"
                searched: "C:\Texas Instruments\MSPEXP-PAN13xx SDK\GA 1.0\MSP430-CC2560_Applications\Source\bluetooth\build\msp430\spp\temp\iar\release\..\..\..\..\..\..\export\common_appl\"
                searched: "C:\Texas Instruments\MSPEXP-PAN13xx SDK\GA 1.0\MSP430-CC2560_Applications\Source\bluetooth\build\msp430\spp\temp\iar\release\..\..\..\..\..\..\export\temp_appl\"
                searched: "C:\Texas Instruments\MSPEXP-PAN13xx SDK\GA 1.0\MSP430-CC2560_Applications\Source\bluetooth\build\msp430\spp\temp\iar\release\..\..\..\..\..\..\export\msp430f5438_hal\"
                searched: "C:\Texas Instruments\MSPEXP-PAN13xx SDK\GA 1.0\MSP430-CC2560_Applications\Source\bluetooth\build\msp430\spp\temp\iar\release/../../../../../../private/protocols/common\"
                searched: "C:\Texas Instruments\MSPEXP-PAN13xx SDK\GA 1.0\MSP430-CC2560_Applications\Source\bluetooth\build\msp430\spp\temp\iar\release/../../../../../../private/protocols/hci_transport\"
                searched: "C:\Texas Instruments\MSPEXP-PAN13xx SDK\GA 1.0\MSP430-CC2560_Applications\Source\bluetooth\build\msp430\spp\temp\iar\release/../../../../../../private/protocols/dbase\"
                searched: "C:\Texas Instruments\MSPEXP-PAN13xx SDK\GA 1.0\MSP430-CC2560_Applications\Source\bluetooth\build\msp430\spp\temp\iar\release/../../../../../../private/protocols/el2cap\"
                searched: "C:\Texas Instruments\MSPEXP-PAN13xx SDK\GA 1.0\MSP430-CC2560_Applications\Source\bluetooth\build\msp430\spp\temp\iar\release/../../../../../../private/protocols/hci_1.2\"
                searched: "C:\Texas Instruments\MSPEXP-PAN13xx SDK\GA 1.0\MSP430-CC2560_Applications\Source\bluetooth\build\msp430\spp\temp\iar\release/../../../../../../private/protocols/sdp\"
                searched: "C:\Texas Instruments\MSPEXP-PAN13xx SDK\GA 1.0\MSP430-CC2560_Applications\Source\bluetooth\build\msp430\spp\temp\iar\release/../../../../../../private/protocols/rfcomm\"
                searched: "C:\Texas Instruments\MSPEXP-PAN13xx SDK\GA 1.0\MSP430-CC2560_Applications\Source\bluetooth\build\msp430\spp\temp\iar\release\..\..\..\..\..\..\private\protocols\sm\"
                searched: "C:\Texas Instruments\MSPEXP-PAN13xx SDK\GA 1.0\MSP430-CC2560_Applications\Source\bluetooth\build\msp430\spp\temp\iar\release/../../../../../../private/protocols/write_task\"
                searched: "C:\Texas Instruments\MSPEXP-PAN13xx SDK\GA 1.0\MSP430-CC2560_Applications\Source\bluetooth\build\msp430\spp\temp\iar\release/../../../../../../private/profiles/spp\"
                searched: "C:\Texas Instruments\MSPEXP-PAN13xx SDK\GA 1.0\MSP430-CC2560_Applications\Source\bluetooth\build\msp430\spp\temp\iar\
    release/../../../../../../private/platforms/spp/temp_arch/msp430\"
                searched: "C:\Texas Instruments\MSPEXP-PAN13xx SDK\GA 1.0\MSP430-CC2560_Applications\Source\bluetooth\build\msp430\spp\temp\iar\release\..\..\..\..\..\..\private\platforms\arch\msp430\"
                searched: "C:\Texas Instruments\MSPEXP-PAN13xx SDK\GA 1.0\MSP430-CC2560_Applications\Source\bluetooth\build\msp430\spp\temp\iar\release\..\..\..\..\..\..\private\platforms\arch\common\"
                searched: "C:\Texas Instruments\MSPEXP-PAN13xx SDK\GA 1.0\MSP430-CC2560_Applications\Source\bluetooth\build\msp430\spp\temp\iar\release\..\..\..\..\..\..\export\FreeRTOS\Source\include\"
                searched: "C:\Texas Instruments\MSPEXP-PAN13xx SDK\GA 1.0\MSP430-CC2560_Applications\Source\bluetooth\build\msp430\spp\temp\iar\release\..\..\..\..\..\..\export\FreeRTOS\Source\portable\
    IAR\MSP430\"
                searched: "C:\Texas Instruments\MSPEXP-PAN13xx SDK\GA 1.0\MSP430-CC2560_Applications\Source\bluetooth\build\msp430\spp\temp\iar\release\..\..\..\..\..\..\export\FreeRTOS\Demo\
    msp430_IAR\"
                searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0_0\430\inc\dlib\.\"
                searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0_0\430\inc\dlib\..\"
                searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0_0\430\inc\dlib\c\"
    Error while running C/C++ compiler
    appl_cb.c 
    Fatal Error[Pe1696]: cannot open source file "msp430bt5190.h" C:\Texas Instruments\MSPEXP-PAN13xx SDK\GA 1.0\MSP430-CC2560_Applications\Source\bluetooth\export\common_appl\arch_defines.h 16
                searched: "C:\Texas Instruments\MSPEXP-PAN13xx SDK\GA 1.0\MSP430-CC2560_Applications\Source\bluetooth\build\msp430\spp\temp\iar\release\..\..\..\..\..\..\export
                searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0_0\430\inc\dlib\.\"
                searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0_0\430\inc\dlib\..\"
                searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0_0\430\inc\dlib\c\"
    Error while running C/C++ compiler
     
    Total number of errors: 25
    Total number of warnings: 0

     

    -- Edited to remove redundant informaiton

  • Rick,

    The error is likely due because you're using an older IAR version which does not support the BT5190. It seems to be the only file that cannot be found. Please install the newest IAR version and try again.

    BTW, there are several desktop and other shortcuts installed to facilitate access to the project and documentation. Those should work.

    Regards,
    Gustavo

  • Hi Gustavo,

      I updated IAR to EW for MSP430 v5.3 and it built without any problems. 

      Thanks again for your help!

      - Rick

     

  • Hi

    I too am facing the same error, unfortunately I have access to only IAR 5.10 version ....could you please let me know if there are any project/ target setting that can be changed to solve this?

    Regards,

    Harsha

  • All,

         The IAR Version Information is in the Developer's Guide Page 195. http://processors.wiki.ti.com/images/d/d2/MSP430BT5190_CC2560_Developers_Guide.zip 

    Regards,

    ~Miguel