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 Composer Build Error

Other Parts Discussed in Thread: TMS320C6701

Hello,

I am Veerendra Dasari, graduate student from Western Michigan University. I am using TMS320C6701 EVM board to implement filter on it. I have done the programming part in code composer studio. I am getting an error while building incrementally which is as follows

 

-------------------------  Veeru_Project.pjt - Debug  -------------------------
"c:\ti\plugins\bios\gconfgen" config1.cdb
 *** ERR config1.cdb, line 660: parse error (":")
Fatal error: can't load file 'config1.cdb'

"c:\ti\c6000\cgtools\bin\cl6x" -g -fr"c:/documents and settings/ece_lab/desktop/Veeru_Project/Debug" -d"_DEBUG" -mv6700 -@"Debug.lkf" "veeru.c"
[veeru.c]
TMS320C6x ANSI C/C++ Compiler    Version 4.10
Copyright (c) 1996-2001 Texas Instruments Incorporated
   "veeru.c"   ==> main
   "veeru.c"   ==> hookint
   "veeru.c"   ==> serialPortRcvISR
   "veeru.c"   ==> WIENER
"common.h", line 34: warning: incompatible redefinition of macro "TRUE" (declared at line 184 of "c:/ti/c6000/bios/include/std.h")
"common.h", line 35: warning: incompatible redefinition of macro "FALSE" (declared at line 183 of "c:/ti/c6000/bios/include/std.h")
"common.h", line 78: warning: nested comment is not allowed
"veeru.c", line 23: warning: variable "actualrate" was set but never used
TMS320C6x ANSI C Codegen         Version 4.10
Copyright (c) 1996-2001 Texas Instruments Incorporated
   "veeru.c"   ==> main
   "veeru.c"   ==> hookint
   "veeru.c"   ==> serialPortRcvISR
   "veeru.c"   ==> WIENER
TMS320C6x COFF Assembler         Version 4.10
Copyright (c) 1996-2001 Texas Instruments Incorporated
 PASS 1
 PASS 2

Build Complete,
  2 Errors, 4 Warnings, 0 Remarks.

 

Please Help me to solve this error.

 

Thank You.

  • Veerendra,

    Welcome to the TI E2E forum.

    Have you looked at your config1.cdb file, line 660, to see what error there might be around a colon ":"? The cdb file is an ASCII text file.

    In your common.h file, have you included a #define TRUE and FALSE that are different from what TI provides already in std.h?

    In your common.h file, have you looked at line 78 to determine where a nested comment is implemented?

    Answering these questions should help you reach a solution.

    Regards,
    RandyP

  • Hello Randy,

    Thank You for your sugessions. I have made changes to common.h file so that I had removed the warnings.

    But I couldn't open the file config1.cdb file and look for the corrections . Could you please tell me how to edit the file or to choose any other appropriate file so that I can edit?

    Thank You.

     

     

  • Hello Randy,

    This following error was obtained.

    Veeru_Project.pjt - Debug  -------------------------
    "c:\ti\plugins\bios\gconfgen" config1.cdb
     *** ERR config1.cdb, line 710: parse error (":")
    Fatal error: can't load file 'config1.cdb'

    Build Complete,
      2 Errors, 0 Warnings, 0 Remarks.

    Please help me with this issue.

  • Veerendra Dasari,

    On my computer, I am able to open one of my old cdb files using the WindowsXP WordPad editor. Does this not work for you, or are you unable to locate the file or editor?

    Normally, you would edit this file from within CCS using the GUI. From the CGT version shown in your original post, you are likely using a very old version of CCS, like CCS 2.x.

    Which version of CCS are you using?

    What methods of opening the CDB file have you tried?

    Where did you get the cdb file from?

    Regards,
    RandyP

  • 8037.config1.docx

    Hello Randy,

    I am unable to find the error in my .cdb file. I an attaching my file with tis post. Please look into it and let me know if i had to make any changes.

    I am using ccs 2.0. I got the cdb file from the installation directory in my hard disk where i have installed code composer studio 2.0 which i have got with the kit evm6701. The cdb file which i am using was c6701.

  • Veerendra,

    This needs to be moved to the Code Composer Forum, which I will take care of.

    The project that originally came with the EVM6701 should build successfully. If not, please reinstall from the original disk and start with the original project and try to move from there to yours.

    You should get more helpful comments from the CCS forum.

    Regards,
    RandyP