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.

documentscfg problem

Other Parts Discussed in Thread: TMS320F2812

What are the files documentscfg* and how do I control them?   (specifically, documents.cdb, documentscfg.cmd, documentscfg.h, documentscfg.h28, documentscfg.s28, documentscfg_c.c)

When I compile my project, it creates these files in C:\ , not in the project directory.  It also puts documentscfg.obj and documentscfg_c.obj in the proper project\debug directory, but sticks this other stuff in C:\    Additionally, it cannot link because hundreds of symbols are multiply defined - both in documentscfg.obj, and in the file where they are actually defined.

What is this stuff, how do I control it, and why is it doubling defined functions?

 

This is in Version 3.3.82.13 but I'm told the project (which I got from someone else) was written in that version, so it *should* work.

Oops, processor is a TMS320F2812

Lost,

David

  • David,

    These files are automatically generated by DSP/BIOS.

    Could you copy the output of the build to a text file and attach it here? Also, if you can send your .pjt file that would help.

    This information will help shed some more light to the problem.

    Regards,

    Rafael

     

     

  • Anything that might help.  Attached is the project.

    dvdxt200_main.pjt
  • And here is the build log (basically the same thing repeated a lot)

  • David,

    The .pjt file has a section called [Generated Files] and they are pointing to the Documentscfg files:

    dvdxt200_main.pjt said:

    [Generated Files]
    Source="..\..\..\..\..\..\..\..\..\Documentscfg.s28"
    Source="..\..\..\..\..\..\..\..\..\Documentscfg_c.c"

    I am not sure how these files got there, but I suggest you to edit the .pjt file.

    Close CCS, backup the .pjt file and then open it in a text editor. Cut (not copy) and paste the two BIOS generated files from the [Source Files] to the [Generated Files] section:

    dvdxt200_main.pjt said:

    [Source Files]
    (...)
    Source="Debug\dvdxt200_maincfg.s28"
    Source="Debug\dvdxt200_maincfg_c.c"
    (...)

    This will guarantee that any changes to the BIOS configuration will be reflected in your project, and it will also guarantee it uses the correct files.

    Hope this helps,

    Rafael

  • Something somewhere is still rebuilding those documentscfg files in c: everytime I rebuild the project.  If I list them under source files in the project, as you suggested above, it cannot find them.  If I copy the files (from the last compilation) from c:\ to the appropriate directory, it can find them, but I still get the "defined multiple times" error.

    If this is a BIOS problem, how do I tell what BIOS this project is using, or what is controlling it, or anything else about the BIOS?  Could I have some obsolete/bad BIOS set that I need to update/fix?  How would I know?

  • Is there anything defined in the field to override the default location?

    You can check the BIOS version being used by looking in Component Manager ('Help->About..->Component Manager')