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.

.out file exceeds code size

Hello All, 

I am have written a source code in one PC and it working fine in 1 PC. Now if I have copied the same file it shows me an compilation error showing my .out file exceeds size limit. I am using CCS as my IDE. It would be great if someone can help me out here.

Regards,

Mitesh 

  • Hello Mitesh,

    Did you import the CCS project onto the second computer or create a new project and paste the main file into it? Also, check your project properties to ensure that the MSP430 variant matches the device you are trying to program. A screenshot of the error message would help provide some insight.

    Regards,
    Ryan
  • Hello Ryan,

    I have imported the project.

    In my previous PC I was having CCS V4 and in my new PC I am having CCS V6. 

    Could this be a problem?

  • Mitesh Sirodaria said:
    In my previous PC I was having CCS V4 and in my new PC I am having CCS V6. 

    Is the same MSP430 compiler version used on both PCs?

    By default, when CCS V6 is installed it is probably using a new compiler, which may generate larger code.

    Also, are both the CCS V4 and CCS V6 using a full license? This is because with a free license, the MSP430 linker can only generate a program with a code size of 16K.

**Attention** This is a public forum