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.

Code size limit in Code Composer Studio V6

Other Parts Discussed in Thread: TM4C1294NCPDT

Hello,

I am using the TMS570LC43x. I've recently encountered an error while compiling my code:

"error #10269: output file "projectname.out" exceeds code size limit"

However the CCSv6 wiki states:

"After you have completed installation and run CCS for the first time it generate a free license that works with XDS100, development boards with onboard debug or for MSP430 users a 16KB code size limited license is generated."

That means that code for my board should not be limited in size. I can see the "Free License" in the bottom right corner of CCS. I can also see the file "TI_CCS_Free_License.lic" in my directory.

Why is my code being limited in size?

  • Hi,

    One of our CCS folks will help you with this.
  • Hi Itto,

    Can you brief me about the board you're using? Is it a TI dev board or a custom board? Which emulator are you using?

    Regards,
    Gautam
  • I am using the Hercules Development Kit. The emulator is XDS100v2 I believe.
  • You should very well be able to use "Free License" for the above kit. There should be no size limit issues! Can to try to re-initiate the license by going to Help -> CCS Licensing Information ?

    Regards,
    Gautam
  • What do you mean by re-initiating the license? I've tried adding the license manually through the "Upgrade" tab as well as verifying that the correct directory is listed in the "Manage" tab. I also tried to move the .lic file around to see if that has any effect.

    I've meanwhile switched to the 90 day evaluation which fixes the issue but this is only temporary. I would really appreciate a permanent solution.
  • Hi Itto,
    Can you confirm the version of compiler tools set to build your project? If it is v5.2.0 then you may be running into the issue described in this thread: http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/389868/1380248#1380248
    If you can confirm that you are indeed using that version of the compiler, I can request the correct folks to provide you a workaround. You could also confirm if it is the same issue by changing the compiler version to one older than 5.2.0 and verify that the "exceeds code size limit" error no longer occurs.
  • Itto, as you activated the 90 day evaluation license, you won't be able to switch to any other license till it expires. Once this license expires you can shift to "Free License" meant for XDS100 emulators.

    Regards,
    Gautam
  • I am using v5.2.0!

    I can't check if this is the issue because I have switched to the 90 day evaluation which works even with the 5.2 version. If you tell me how I can get rid of the 90-day trial then I can check.

    Nonetheless, I would appreciate the workaround you mentioned!

    Thanks,
    Itto
  • Itto,

    I can send you a special license file that works around this issue. I will send you a friend request. If you accept that I will be able to send you a private message with the license file.

    Regards,
    John
  • I was going to submit a new question but this thread seems appropriate to ask my question since it seems related.
    I have a Tiva C Series Launch Pad for the TM4C1294NCPDT and I'm been working on a school project that requires an SSL library for sending e-mails to an SMTP mail server.

    I've installed TI-RTOS as well as WolfSSL to attempt to make the SSL link to my mail server. When I try to build the code example for the tcpTLS that comes with TI-RTOS it gives me the following error:

    error #10269: output file "tcpEchoTLS_TivaTM4C1294NCPDT.out" exceeds code size limit
    error #10010: errors encountered during linking; "tcpEchoTLS_TivaTM4C1294NCPDT.out" not built

    Now, when I checked the licensing for CCS it seems that there should only be a code size limit on MSP430 projects with the Free version, there seems to be no limit on anything else specified except the JTAG link you can use. On another machine I tried activating the 90-day evaluation built into CCS and that indeed allowed the compilation to complete.

    There is a special license file for this sort of issue? Some mismatch in versioning between the compiler and IDE?
  • Justin I will send you a message with a license that resolves this issue.