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.

Need help for a compilation problem of CCE

Other Parts Discussed in Thread: MSP430F149

Hi all,

I had a compilation problem while I compiling my C codes with the unlimited Code Composer Essentials V3.2.0.24.2. (I use MSP430F149 in my project).

I don't know what's wrong with my codes because the error message in the console window is not very helpful, it lets me contact TI's technical support team.

I have already contacted with the support team. However, haven't got response yet.

So, hope someone can give me some ideas, and any help here will be appreciated.

The information from the console window is shown below:

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
"../lnk_msp430f149.cmd", line 259: error: run placement fails for object
   ".stack"
placement.c:1491:"../lnk_msp430f149.cmd", line 259: internal fatal error #10235:
   (".stack")

INTERNAL ERROR: C:\Program Files\Texas Instruments\CC Essentials v3\tools\compiler\MSP430\bin\lnk430.exe aborted


This is a serious problem.  Please contact Customer
Support with this message and a copy of the input file
and help us to continue to make the tools more robust.


>> Compilation failure
C:\Program Files\Texas Instruments\CC Essentials v3\utils\gmake\gmake: *** [HydroSenseII_beta1.0.36.out] Error 1
C:\Program Files\Texas Instruments\CC Essentials v3\utils\gmake\gmake: Target `all' not remade because of errors.

Build complete for project Hydro Sense II_beta1.0.36

 

Thanks!

Liu

  • milanqingren said:

    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application's support team for more information.
    "../lnk_msp430f149.cmd", line 259: error: run placement fails for object
       ".stack"
    placement.c:1491:"../lnk_msp430f149.cmd", line 259: internal fatal error #10235:
       (".stack")

    INTERNAL ERROR: C:\Program Files\Texas Instruments\CC Essentials v3\tools\compiler\MSP430\bin\lnk430.exe aborted


    This is a serious problem.  Please contact Customer
    Support with this message and a copy of the input file
    and help us to continue to make the tools more robust.


    >> Compilation failure
    C:\Program Files\Texas Instruments\CC Essentials v3\utils\gmake\gmake: *** [HydroSenseII_beta1.0.36.out] Error 1
    C:\Program Files\Texas Instruments\CC Essentials v3\utils\gmake\gmake: Target `all' not remade because of errors.

    Build complete for project Hydro Sense II_beta1.0.36

    The linker is indicating that you do not have enough memory available to properly allocate the section .stack.

    I would suggest that you enable generating a map file to provide some illustration on what your current memory available on the device is (as declared by the lnk_msp430f149.cmd file) and the size of the sections of your application.  You should see where you are attempting to place the .stack section and what else is in that memory region.

     

    You can create a map file that produces a listing of the input and output sections from the linker.

    Project-Properties
    C/C++ Build -> Tool Setttings -> MSP430 Linker v3.0 -> Linker Output -> Produce listing of input and output sections in <file> (--map_file)

**Attention** This is a public forum