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.

CCS/MSP430F5438A: Demo Code Compilation Failure

Part Number: MSP430F5438A
Other Parts Discussed in Thread: MSP430WARE

Tool/software: Code Composer Studio

Hi all,

Can you help me fix this compilation error:

"../MSP-EXP430F5438_User_Experience_Lib.lib" "../lnk_msp430f5438a_mod.cmd" -llibc.a -lMSP-EXP430F5438_User_Experience_Lib.lib
<Linking>
"../lnk_msp430f5438a_mod.cmd", line 139: warning #10424-D: Linker command file
has no sections of type=VECT_INIT, but does contain .intXX sections. This
file may be out of date. Generating interrupt pointers for all .intXX

sections. The default handler provided in the RTS will be used if no other
>> Compilation failure
makefile:154: recipe for target 'MSP-EXP430F5438UserExperience.out' failed
handler is found. It is recommend that you update your linker command file
to the latest version.
"C:\\Users\\Owner\\AppData\\Local\\Temp\\112163", line 42: fatal error #16000:
object files have incompatible formats
("../MSP-EXP430F5438_User_Experience_Lib.lib<HAL_UCS.obj>" = TI-COFF,
"./main.obj" = ELF)
gmake: *** [MSP-EXP430F5438UserExperience.out] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

Environment:

OS: Windows10

CCS Version: 6.2.0.00050 

Board:MSP-EXP430F5438

thank you.

  • Scott,

    Which version of MSP430Ware are you importing the project from? And could you please describe the exact steps you take to import the project (is it via Resource Explorer or directly from the CCS menu?).

    Also it will be helpful if you could attach the full output in the CCS build console (save it off to a text file and attach it there).

  • build.rtf

    I have tried to attach (insert the log file). But I don't think it's visible. I don't know how to attach a doc.

    1. I'm using MSPWare v3.50.00.04. 

    2. I used the "Resource Explorer", then clicked on an icon the import the project into CCS (5438 Experimenter board, code-limited). 

    3. In the meantime I'll try to find a way to attach the build log file.

  • I see it did attach the log file. I also see it complains about exceeding code size limit. I think it had a different error before. Anyway, I am using the code size limted version, so shouldn't it load? I tried fiddling around with the optimization options, with no luck.
  • New info. I've attached the build log. It looks like it's having trouble with the assembly code. 

    "C:/ti/tirex-content/msp/msp430ware__3.50.00.04/examples/boards/MSP-EXP430F5438/src/UserExperienceDemo/FFT_430.s43", ERROR! at line 42:

    EXPORT FFT_prog

    IMPORT FBuff
    IMPORT voice_data

    RSEG DATA16_N

    My wild guess would be that it's grabbing the wrong assembly file. It doesn't even look like CCS assembly. Maybe it's meant for the third party ide?

    I'll keep digging around...

    build2.rtf