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.

INTERNAL ERROR in CCSv4.2

Got this while porting my F2812 CCSv3.3 app to C6748 and CCSv4.2

INTERNAL ERROR: C:\Program Files (x86)\Texas Instruments\ccsv4\tools\compiler\c6000\bin\cg6x.exe experienced a fatal internal fault while
processing function _EVMOMAPL138_initRAM file ../src/evmomapl138.c line 145

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.
  • Steve,

    An internal error generated by the compiler is always a bug. The first thing to try though is to see if a newer version of the compiler exists that already fixes this bug.

    Which version of the compiler tools are you using? You can check by browsing into the \ccsv4\tools\compiler\c6000\bin directory within your CCS installation, and check the properties of cl6x.exe or the readme file. If there is a newer version of the compiler tools available you should find it listed and update to it using the CCS update manager. Go to CCS menu Help->Software Updates->Find and Install and check for a newer version of the C6000 code generation tools. If one exists, download and install the latest.

    You can then set your project to use this latest version of the codegen tools by following the procedure here: http://processors.wiki.ti.com/index.php/Compiler_Installation_and_Selection#CCStudio_4.x

    Try rebuilding your project and see if the error persists. If it does, please preprocess the source file evmomapl138.c and attach it here. The method for generating a preprocessed file is described here: http://processors.wiki.ti.com/index.php/Preprocess_Complex_Source_Code_for_Bug_Submissions
    Also be sure to specify the build options used- you can find these in the CCS build console.