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.

CCS 3.3 forces complete rebuild after opening an unchanged project

CCS 3.3.38.2

BIOS 5.31.02

Code Generation Tools 4.1.0

C54x simulator

Problem:  When I open my project and do an incremental build, it rebuilds everything (which makes sense the first time).  If I do another incremental build while the project is open, it properly only builds things that have changed.  If I close the project, or CCS, then reopen the project, an "incremental build" really rebuilds all even though nothing was changed (I verified the size and timestamp of all source files were the same).

Has anyone else observed this?  Is there a cause or solution?  I find myself building it once, and leaving CCS open as much as possible so I don't have to rebuild everything as often.

Thanks, Brian

  • Hi Brian,

    I believe this was a known issue that was addressed in one of the CCS Service Releases. I would recommend updating your installation to the latest CCS SR version (available via CCS Update Advisor)

    Thanks

    ki

  • Hi Ki,

    I'll look into this.  Unfortunately when I click "Check for Updates" it brings me to a website that is titled "Login to Request Samples".  I'm not requesting any samples, but I presume it wants more information from me in order to assess if I have an active subscription.

    I will consult with my IT department to see if our liscenses  come with the subscription service or updates.

    Thanks for the info,

    Brian

  • Well, I got my CCS registered and downloaded the latest SR.  I also updated the code generation tools.   The new versions are listed below:

    CCS version 3.3.82.13

    Code Generation Tools version 4.2.0

    Unfortunately, everytime I open my project, it still rebuilds everything, even though nothing has been touched (aside from closing the project or CCS since the last build).

    Again, while the project remains open, rebuilding works properly (only compiling modified files and relinking).

    Are there any other suggestions or is there some other update that I should try to install?

    Thanks,

    Brian

  • Are the source files that you are building located remotely on a network share... like a ClearCase dynamic view?

    Also if you can provide some sort of reproducible test case, that would help immensely.

    Thanks

    ki

     

  • Well, I thought it might be ClearCase so I've been doing all build testing for our dicussion purposes on my hard disk (copied the source directory from the network to my HD).  So the answer to your question is no.

    I've been trying to create a dummy project that exhibits the same rebuilding problem, but so far with a simple new project it builds fine (aka, whether you close and reopen the project, it won't rebuild unless something changed).  This means it's not a CCS problem but rather a setting or something else in the project I'm working on that is making it rebuild every time the project is opened/closed even though nothing has changed.

    If anyone has any ideas, feel free to share.  I'll post again if and when I sort this out.

    Thanks,

    Brian

  • After not pursuing this for a while, I started again and got it to work.

    I thought I'd made sure everything was writable, but I guess I missed some read-only files.  I'm pretty sure the culperate was the *.paf2 file.  After deleting/making it writable, building works as expected.  This was on a local copy of my project.

    For the project in ClearCase, the person previously working on this project had the .paf2 file under version control.  I removed it from the version control and it now works in the dynamic view as well.

    I hope this helps anyone else that may experience this in the future.

    - Brian