Compilation Error in Empty Project

Part Number: MSPM0G1507
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi,TI

    I would like to ask about the following issue:

    I modified the project name in the .project file, but later changed it back.

Why do I still get the following error when compiling the project?

    
Moreover, when I create a new empty project and compile it, this same error also occurs.

    

    Best regards,
    Robert

  • It's interruptVectors error.

    It seems that you didn't add avaliable startup file to project.

    Recommend step:

    1. Download MSPM0 SDK.

    2. Download CCS, install with MSPM0 support package.

    3. Import project from MSPM0SDK: File - Import project

  • Hi Hellc

    This issue suddenly appeared during my use, and I have been running it on CCS without problems before. Do I need to reinstall CCS and the MSPM0 support package?

    Best regards,
        Robert

  • This issue suddenly appeared during my use, and I have been running it on CCS without problems before. Do I need to reinstall CCS and the MSPM0 support package?

    No need to re-install them.

    Please check whether your project has a valid startup source file or .o(In debug folder) file like below:

    startup_mspm0g350x_ticlang.o

    C:\ti\mspm0_sdk_2_03_00_07\source\ti\devices\msp\m0p\startup_system_files\ticlang\startup_mspm0g350x_ticlang.c

    Compiler/linker report the error that can not find the interruptVectors and interruptVectors  is from startup file.

    There is also startup file generation check box in syscfg - project configuration

  • Yes, you are really impressive. I found that there is no startup_mspm0g150x_ticlang.c file in the SysConfig project configuration, and it is also missing from the path folder. I'm not sure why the program was running normally before.

    Could you please let me know how to obtain the startup_mspm0g150x_ticlang.c file? I would greatly appreciate it.

  • 1. If there is no startup in your project, you can directly copy one from SDK to you project root folder.

    2. You can try to enable it in syscfg:

    3. Or, if you want, you can setup a new project that using default syscfg file, syscfg will generate the startup file for you like this:

  • Hi Hellc

        Thank you very much for your help; I sincerely appreciate it.
        The file
    startup_mspm0g150x_ticlang.c was indeed missing from my path C:\ti\mspm0_sdk_2_03_00_07\source\ti\devices\msp\m0p\startup_system_files\ticlang. I downloaded the new MSPM0 SDK, which includes the startup_mspm0g150x_ticlang.c file.

    Best regards,
        Robert