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.

linking issues

Other Parts Discussed in Thread: MSP430FG4618

All,

 

I am ussing CCS4, and I have an MSP430FG4618 experiementer board.  I was able to link and load new programs before.  However,  i cannot anymore, when I try, it tells me that there are "errors in linking" without telling me what those errors are.  I think my usb programmer is operational because A. the lights turn on and B. it is getting power into the Board (the basic clock that is programmed at startup is running on USB power).

 

Any suggestions?  I've tried uninstalling and reinstall, but I cannot uninstall, even in safe mode.

Thanks,

Paul

 

  • Paul,

    If you expand the console view does it give you more information regarding the linker errors?  If the console view is not open you can open it by going to View -> Console.  The problems view gives a parsed interpretation of the error messages and warnings, the console view will show the raw feedback from the compiler/assembler and linker.

    Regards,

    John

     

  • John,

     

    The error messages shown in the console are as follows

    Severity and Description Path Resource Location Creation Time Id
    errors encountered during linking; "examples.out" not built  examples line 0 1278183201402 246
    creating output section ".reset" without a SECTIONS specification  examples line 0 1278183201402 239
    unresolved symbol LCDACTL, first referenced in ./flashlcd.obj  examples line 0 1278183201402 241
    unresolved symbol LCDAPCTL0, first referenced in ./flashlcd.obj  examples line 0 1278183201402 242
    unresolved symbol LCDAPCTL1, first referenced in ./flashlcd.obj  examples line 0 1278183201402 243
    unresolved symbol LCDM1, first referenced in ./flashlcd.obj  examples line 0 1278183201402 244
    unresolved symbol WDTCTL, first referenced in ./flashlcd.obj  examples line 0 1278183201402 245
    creating output section ".stack" without a SECTIONS specification  examples line 0 1278183201402 240

     

    Examples is the name of the project I am working with, the others are all defined in .include files.

    Any words of advice?

    Paul

     

  • Paul,

    I get nearly identical errors as those if my linker command file has been removed or excluded.  Does your project have a lnk_msp430fg4618.cmd file in it?

    John

  • John,

    Yes, my project does include that file, it could be corrupted though, any place where I can download another?

    Paul

     

  • Try deleting the one in your project and adding the one from \ccsv4\msp430\include  I have also attached one from my installation.

     

     

    John

    lnk_msp430fg4618.zip