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.

CCSv4 license issue with linker

I am working with another engineer with CCSv4.  The code is working on his machine with a separate license.  I copied his work directory onto my machine and we are running the same revision.  3 out of the 4 projects do not link.  The message I get is the following:

**** Build of configuration Debug for project Wireless Remote Control ****

 

C:\Program Files (x86)\Texas Instruments\ccsv4\utils\gmake\gmake -k all

'Building target: WirelessRemoteControl.out'

'Invoking: Linker'

"C:/Program Files (x86)/Texas Instruments/ccsv4/tools/compiler/MSP430 Code Generation Tools 3.2.3/bin/cl430" -@ccsLinker.opt -o "WirelessRemoteControl.out"

<Linking>

error: output file "WirelessRemoteControl.out" exceeds code size limit

error: errors encountered during linking; "WirelessRemoteControl.out" not

built

 

>> Compilation failure

C:\Program Files (x86)\Texas Instruments\ccsv4\utils\gmake\gmake: *** [WirelessRemoteControl.out] Error 1

C:\Program Files (x86)\Texas Instruments\ccsv4\utils\gmake\gmake: Target `all' not remade because of errors.

Build complete for project Wireless Remote Control

The project that does link is under 8K these that do not are over the 8K.  Looks like I have a license issue but the upper left corner "CCS (licensed)" is indicated.

So what do I need to do so the linker will work?

Thanks,

Gary

  • Gary,

    That error occurs when you are using the code size limited tools and the linker detects that your program is above the code size limit.  You have a license (that is why CCS says licensed), but your programs are just too big for your free code size limited license.  If your co-worker is able to link ok then they have the full license which has no limit.

    If you want to you can look at your license file to confirm this.  It is located in the location noted below.  Inside the *.lic file it will have a line that looks something like this if it is a limited license

    INCREMENT CCS_LINKER_LIMITED tidspssw 4.99 permanent uncounted \

    or like this if it is a full license:

    INCREMENT CCS_LINKER_FULL tidspssw 4.99 permanent uncounted \

     

    • Win7 C:\Users\<userid>\AppData\Local\.TI\<some number>\0
    • WinXP C:\Documents and Settings\<userid>\Local Settings\Application Data\.TI\<some number>\0
    • This folder is hidden
    • Each installation of CCS will have its own folder (the "some number" is unique per installation)

     

    Regards,

    John

  • My license file does indicate the "INCREMENT CCS_LINKER_FULL tidspssw 4.99 permanent uncounted \"

    I located the License file in location:  C:\Program Files (x86)\Texas Instruments\ccsv4

    Any other thoughts?

    Gary

     

  • Gary,

    In that case what is happening is that you have installed the code size limited tools but have a full tools license.  Unfortunately the linker itself doesn't read the license file.  We have two separate sets of codegen tools, one with the limit, one without.  

    If you go to here: http://processors.wiki.ti.com/index.php/Download_CCS

    Download the DVD image.  Then drop your license file into the ccsv4\debugserver\license folder.  You will then be able to build with no code size limit.

    Regards,

    John