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.

CCS5 problem with release build settings

I have a project that I started with CCS4 and have since upgraded to CCS5.  The target is Stellaris based using a 9D96 CPU.  The debug build is fine but I have a problem with the release build.  When I go to project properties and look at the CCS general tab, the screen is properly displayed but if I switch to release Configuration, the screen is blank (see below).  I have printscreens of the screens I am describing.  I was looking at these screens because if I try to build the release, I get an error from, the compiler “This project was created for a device-variant that is not currently  recognized:….

I have two different Stellaris projects I have upgraded from CCS4 to CCS5 and one woks fine and the other has this problem.  

 

I assume one of the project files is corrupt but I have not been able to figure out what one or how to fix it.

 

Any advice?

 

Thanks,

Doug

 

 

  • Hi Doug,

    What exact version of CCSv5 are you using? Can you provide the full build number?

    Thanks

    ki

  • Version: 5.1.0.201105121800

    Build id: N201105121800

     

  • I went back to the version 4 project and verified I could see the the CCS Build options for both debug and release.  I then opend the project in version 5.1 and let CCS convert the project to a V5.1 project to re import the project into V5.1.  Using CCS V5.1 I then checked the CCS General tab to look at the target build configurtion and I have the problem I originally posted about.  It appears I can convert one of my two projects from v4 to v5.1 without any problems and the other project I can convert from v4 to v5 but only the debug build will work.

    Doug

  • Doug,

    Can you share the CCSv4 project that shows this problem after importing to v5 so we can try to recreate it at our end? If you do not wish to post in this public forum let me know and you can send it to me via private conversation.

    In the meantime, if possible, could you give 5.1M7(5.1.0.07001) a try in case its an issue thats already been fixed?

  • I know I can’t share the project because there are some legal issues but I could do a remote desktop some time if that would help.  When I try to update CCS 5.1 I get the error shown below:  How do you recommend I update CCS5?  I get this error by doing a help->check for updates.   Do I have to install a new version to get the latest?  

    Doug

     

  • The update mechanism in CCSv5 isn't quite working right yet. We are working to address this before final release. In the meantime, you can download the latest build from http://processors.wiki.ti.com/index.php/Category:Code_Composer_Studio_v5#Downloads.

    You can uninstall your current version (make sure the install directory is completely deleted before reinstalling to the same location) and then install the latest build, or you can install it in a different folder and keep your current version.

     

  • I downloaded the latest version of CCS V5 and installed it:

    Version: 5.1.0.201108111000

    Build id: N201108111000

     

    The problem I originally posted about is no longer a problem but now the pre and post build steps that did work no longer work.

    The pre build step deletes an object to force it to build each time:

    ${CCS_INSTALL_ROOT}/utils/gmake/gmake -B ./src/globals.obj

     

    The post build step builds the binary file I want to download.

    "${CCE_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin.bat" "${BuildArtifactFileName}" "App_GCB_vXX.bxxxxx_.bin" "${CG_TOOL_ROOT}/bin/ofd470.exe" "${CG_TOOL_ROOT}/bin/hex470.exe" "${CCE_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin.exe"

     

    This is the error I get

     

    **** Build of configuration Debug for project GCB_App ****

    C:\ccs5M7\ccsv5\utils\bin\gmake -k pre-build main-build

    C:/ccs5M7/ccsv5/utils/gmake/gmake -B ./src/globals.obj

    process_begin: CreateProcess(NULL, C:/ccs5M7/ccsv5/utils/gmake/gmake -B ./src/globals.obj, ...) failed.

    make (e=2): The system cannot find the file specified.

    gmake: [pre-build] Error 2 (ignored)

    ' '

    gmake: Nothing to be done for `main-build'.

    **** Build Finished ****

     

    I know in the past when I upgraded from v4 to V5 I had to copy the folder tiobj2bin from the V4 install to CCSINSTALL\ccsv5\utils\tiobj2bin

    Doug

     

     

     

  • Doug Baker said:

    The problem I originally posted about is no longer a problem but now the pre and post build steps that did work no longer work.

    Glad to hear the original problem is resolved.

    Regarding the post build step not working, this is happening because the path to tiobj2bin changed in recent versions of CCS5.1. It is now under /ccsv5/ccs_base/utils/tiobj2bin while the CCE_INSTALL_ROOT macro points to /ccsv5. So the translation of "${CCE_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin.bat" fails.

    You can modify the post-build step to use the CCS_INSTALL_ROOT macro instead and that should work:

    "${CCS_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin.bat" "${BuildArtifactFileName}" "App_GCB_vXX.bxxxxx_.bin" "${CG_TOOL_ROOT}/bin/ofd470.exe" "${CG_TOOL_ROOT}/bin/hex470.exe" "${CCS_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin.exe"

  • Thanks, that fixed it and I fixed the pre build step by using the following:

    ${CCS_UTILS_DIR}/bin/gmake -B ./src/globals.obj

     

    Doug