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.

CCSV6 .bin file creation for CC3200 projects?

Other Parts Discussed in Thread: CC3200

Hi,

    I am having a little bit of trouble generating .bin file from CC3200 example projects at CCS6. It seems there has been changes from CCS5.5 way of making .bin file. I am following the wiki below.

    http://processors.wiki.ti.com/index.php/Projects_and_Build_Handbook_for_CCS#Pre_and_Post_Build_Steps

    I am using the timer example to generate .bin file and I did not change the post build steps below that are already set.

"${CCE_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/armofd" "${CG_TOOL_ROOT}/bin/armhex" "${CCE_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin"

    Then I Enable ARM Hex Utility and set output format to TI-TXT. However no .bin file is generated at the Release folder.

    Are there any steps that I am missing?

- kel

  • Hi Markel,

    try correcting the CCE to CCS ...

    best regards,
    Lisa

  • Hi Lisa,

         Either CCE_INSTALL_ROOT and CCS_INSTALL_ROOT will be able to make .bin file if I delete all files at the Release folder. If there are contents at Release folder, .bin file will not be generated. I confirmed several times. Why is that?

    - kel

  • Hi Markel,

    It is hard to say without any real details.  If you are working with  the Release configuration, if there is content in there, then perhaps the incremental build would see the project up to date and not need to execute the build and hence never run the post-build step. Cleaning that folder out would of course trigger a full build.

    Aside from that ... hard to say.

    Best regards,

    Lisa

  • @Lisa,

         Here below are more details of my new .bin file creation.   

         I am using timer example program for CC3200 launchpad as base for this binary file creation.

    1. I deleted all files at Release Folder and build. I was able to generate a .bin file As you have said, cleaning the folder would trigger a full build.
    2. I delete only .bin at the Release Folder and build. New .bin file was not created. At CCS build console "gmake: Nothing to be done for `all'."

         It is very unusual to have the need to delete all files at release folder to make a new .bin file.

    - kel

  • Hi Markel,

    it's hard to say what is going on, but the post build steps will only occur when a build is triggered.

    Best regards,

    Lisa

  • Markel Robregado said:
     It is very unusual to have the need to delete all files at release folder to make a new .bin file.

    The issue is that the post build step will only run if the project is built. If you do an incremental build on a project that is up to date, then the project will not build and the post build step will never run. The output of a post build step (the .bin in your case) does not factor into if a project is up to date.

    Note that you don't have to delete ALL the files to trigger the build. You just need to delete some file that will require a rebuild. Probably deleting just the out file would be the easiest since that will only require the project to be relinked and not recompiled also.

    thanks

    ki

  • Hi Ki,

         I confirmed that just by deleting the .out file will generate a new .bin file after build.

    - kel

  • HI LISA

    I got same problem..

    my debug console so me following error.

    What should i change?

  • Hi Markel 

    Please help me I coudn't generate .bin file.

    I get the following error.

  • Hi Pulkit,

    Have you tried building a CC3200 SDK example program and check if the .bin file is generated?

    From your log message it is not able to compile .pm file. I do not know if CCS can compile .pm file, so wait for a TI Engineer to reply regarding that.

    I also suggest that you use a already working example program as base for your development. That way you already know that it is able to generate .bin file.

    - kel
  • Hi Markel

    Thanks for giving fast reply.

    Yes I also tried to build Ready SDK also but it also gives me same error.

    what should I do??

    Should I reinstall CCS?

    Let's wait for TI Employee.