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.

Referenced Project rebuild when not necessary (CCS v6.1)

I'm running CCS v6.1 and have 4 inter-related projects.  One is the master project, so that one has the other 3 as referenced projects.  When building the master, the referenced ones seem to rebuild and link even if they were just built and have no changes.  This is especially true when launching, the master goes on core 0 (I'm using a C6678) and the referenced ones are distributed over cores 1-5.  Even if I launch twice in succession with no changes, it will rebuild all as indicated in the console window. 

What process does CCS use in deciding when to build referenced projects?  If it just does a make on all the referenced ones, why does make think things are not up to date?  If I build the referenced projects individually, it seems to fix the problem, but I've not exhaustively tested it.

Mike

  • Mike Stich said:
    This is especially true when launching, the master goes on core 0 (I'm using a C6678) and the referenced ones are distributed over cores 1-5.  Even if I launch twice in succession with no changes, it will rebuild all as indicated in the console window. 

    This should not be happening. If this is something you can consistently reproduce with this project, would you be willing to share it with us so we can investigate if there is an underlying bug?

    If you are using the green bug button to debug the project and that is what triggers the rebuilds, you could avoid it by manually launching the debugger as described here: http://processors.wiki.ti.com/index.php/Debug_Handbook_for_CCS#Manual_launch

    This will allow you to manually perform the same steps as the green bug button, while avoiding the build portion. 

  • I would love to provide an example, but I can't send the project as is.  I'll see if I can find time to create an example that demonstrates the problem.

    The rebuilds seem to happen even it I just rebuild the master project.  It is not required that I launch it.

    Mike

  • Hey,

    This is happening to me as well. The same thing: I am working with F28M35, have 2 projects, one for each core, both projects have several dependencies, each one of them are rebuilt upon launch, no matter what I do. Pretty annoying.

    And all this is in a fresh workspace in CCSv6.1.1.00022 .

    Will try to put together a minimal workspace that has the same symptoms.

    BR,

    Janos