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.

Debuging error at simple hello world project in CCS

Other Parts Discussed in Thread: MSP430G2553

Hello everyone. I was trying to build a simple C code in CCS but everytime i do that im getting an error message like:

Load program Error.

Encountered a problem loading file:

C:\Users\Gizem\workspace_v6_1\projectname\Debug\projectname.out

Could not open the file.

It is just a simple hello world application and im trying to build it for my next works because im new at this. But for some reason it didnt see the hal.h file.

After that i add the path of file hal.h even if doesnt make sense. Now it can see the path but still im getting  INTERNAL ERROR: Decomposition error as you see.

I really couldnt find the solution. Can you say what cause of this problem?

  • Hi,

    Instead try including the header folder in include options by right clicking on Project -> Properties -> Compiler -> Include Options

    Regards,
    Gautam
  • I got that thank u but im still getting the same error like below.

    >> Compilation failure
    gmake: *** [main.obj] Error 1
    'Building file: ../Common/printf.c'
    'Invoking: MSP430 Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/bin/cl430" -vmsp --abi=eabi --use_hw_mpy=none --include_path="C:/Users/Gizem/workspace_v6_1/Firmware/HAL" --include_path="C:/Users/Gizem/workspace_v6_1/Firmware/Common" --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/include" --advice:power=all -g --define=__MSP430G2553__ --define=LAUNCHPAD --undefine=_INLINE --diag_warning=225 --display_error_number --diag_wrap=off --printf_support=minimal --preproc_with_compile --preproc_dependency="Common/printf.pp" --obj_directory="Common" "../Common/printf.c"
    >> ../Common/printf.c, line 126: INTERNAL ERROR: Decomposition error


    This may be a serious problem. Please contact customer support with a
    description of this problem and a sample of the source files that caused this
    INTERNAL ERROR message to appear.

    Cannot continue compilation - ABORTING!


    >> Compilation failure
    gmake: *** [Common/printf.obj] Error 1
    gmake: Target `all' not remade because of errors.
  • Hello,
    I will move this thread to the compiler forum, where the experts there can provide more guidance. You will likely need to provide more information to the experts there. See the below link:
    processors.wiki.ti.com/.../Before_asking_for_CGT_support

    Thanks
    ki
  • I'm sorry, you have encountered a bug in the compiler. "INTERNAL ERROR: Decomposition error" is a fatal error.
    We'll need to see a compilable test case to analyze the bug and possibly suggest a workaround.
    It would be best if we could see a preprocessed version of Common/printf.c
    See processors.wiki.ti.com/.../Preprocess_Complex_Source_Code_for_Bug_Submissions