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.

MSPM0C1104: IAR Example Project Build (SDK) Failure

Part Number: MSPM0C1104
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

SDK version: 2_04_00_06

IAR version: 9.60.4

MCU: MSPM0C1104

I am not able to build the gpio_toggle_output example project from the SDK on IAR. I followed all the steps from https://software-dl.ti.com/msp430/esd/MSPM0-SDK/2_04_00_06/docs/english/quickstart_guides/doc_guide/doc_guide-srcs/quickstart_guide_iar.html. I have both these in place -




I have this error message 

I tried to exclude gpio_toggle_output.syscfg from the build - this is what I see




  • Hi Susharitha,
    Can you share the version of SYSCONFIG you are currently using? Also, can you share with me the path to the sysconfig_iar_setup.xml file you are using.

    Best Regards,

    Diego Abad

  • Hello Diego,

    SYSCONFIG version:  v1.35.00
    Path to sysconfig_iar_setup.xml: C:\ti\mspm0_sdk_2_04_00_06\tools\iar\sysconfig_iar_setup.xml

    Regards,
    Susharitha

  • Hi Susharitha,
    That seems to be fine. I noticed that the somehow the SDK got duplicated. I would recommend removing the SDK from your IAR configuration, a re-add it into it so it looks like this:

    Finally, I would recommend to store your project into a folder with a single name rather than multiple: Ex --> Project1 rather than Project 1 or Project_1

    Best Regards,

    Diego Abad

  • Hello Diego, 

    I tried both these and it didn't seem to fix the issue 

    Saved the project in a folder named "testproject1" 



    Removed SDK and added it back so that there's no duplicate-

  • Hi Susharitha,
    It seems that the path is the problem. Can you use a folder on your desktop instead of C:\ti\? If that doesn't help, I recommend uninstalling both the SDK and SYSCONFIG, as well as IAR, and then installing the latest version of each.
    Best Regards,
    Diego Abad

  • Hello Diego, 

    I did a little bit of googling - it's missing some dependency for the ninja build because that's the one failing to compile the *.ipcf and get the necessary files. I am not very sure about uninstalling and re-installing everything and it fixing the issue. Are there any additional ninja build settings that you have on your IAR project / are there any dependencies that needs to be installed that I am missing for the ninja build in specific? Also, is there a way to work around this ninja build?

  • Hi Susharitha,
    There are no additional ninja settings or dependencies that you should implement, as far as I'm aware. In theory, the IAR should function properly from the get go. I also don't know about any work around for this ninja build. My recommendation for now is to try running other projects from the SDK and see if the error persists. If it is, I will strongly recommend uninstalling and reinstalling the IAR, SDK, and SYSCONFIG. If that's not the case, then the problem relies on the project.
    Best Regards,
    Diego Abad