• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Development Tools » Code Composer Studio » Code Composer Forum » Generating .bin file in CCS v5.2
Share
Code Composer Studio
  • Forum
  • Announcements
Options
  • Subscribe via RSS
Common Questions
  • Code Composer Studio Forum Usage Guidelines

  • Resources
  • Code Composer Studio (CCStudio) Product Folder
  • Troubleshooting CCS
  • CCS Wiki
  • Download CCS
  • Order CCS
  • Tools Insider Blog
  • Bug Tracking
  • Forums

    Generating .bin file in CCS v5.2

    This question is answered
    Patricio Dubini
    Posted by Patricio Dubini
    on May 23 2012 14:40 PM
    Prodigy70 points

    Good morning,

    Could you tell me please what should be included on CCS v5.2 settings in order to create a .bin file after building? At this time I can only generate a .out file.

    I know that I should write a sentence on Project --> Properties --> Build --> Build Steps --> Post-build Steps , but I don't know what should be written...

    Thanks in advance!

    Patricio

    .out to .bin
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Lisa TI
      Posted by Lisa TI
      on May 23 2012 15:02 PM
      Guru99775 points

      Hi Patricio,

      what target do you use? 

      Do you see the option already there under "Apply predefined post build step"?

      Best Regards,

      Lisa

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Patricio Dubini
      Posted by Patricio Dubini
      on May 23 2012 15:11 PM
      Prodigy70 points

      Hi Lisa,

      I'm using LM3S1165 and I have already  tried with these three options (Clear All, TI-TXT, Intel-HEX) and I'm still getting only the .out file on the Debug folder of my workspace (C:\Documents and Settings\pdubini\workspace_v5_1\testARM\Debug).

      Thank you for your fast response!

      Patricio

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lisa TI
      Posted by Lisa TI
      on May 23 2012 15:14 PM
      Guru99775 points

      Hi Patricio,

      Have a look and see if this post gets you the answer you need and please keep us informed.

      http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/65174.aspx

      Best Regards,
      Lisa

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Patricio Dubini
      Posted by Patricio Dubini
      on May 23 2012 15:24 PM
      Prodigy70 points

      Hi Lisa,

      I have tried with the following sentence (included on the post that applies for CCS v4) but it's not working for CCS v5.2 :

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


      Any ideas on how to solve it? Thanks again!!

      Patricio

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lisa TI
      Posted by Lisa TI
      on May 23 2012 15:33 PM
      Guru99775 points

      Hi Patricio,

      this is to create a hex.  Please read the post carefuly.


      Also there is an error in that the top line should be CCS not CCE.

      Try

      "${CCS_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin.bat" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin"

      You may need to adjust where the tiobj2bin.bat is but that is what you are looking for.

      Mine was here so it seems the location has not changed much:

      F:\CCS\RC1\ccsv5\utils\tiobj2bin

      Please give that a try and keep us informed.

      Best Regards,
      Lisa


      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Patricio Dubini
      Posted by Patricio Dubini
      on May 23 2012 16:03 PM
      Prodigy70 points

      Hi Lisa,

      Is that sentence working for you? Unfortunately is not working for me...

      The path in my case is: C:\ti\ccsv5\utils\tiobj2bin\tiobj2bin.bat

      Thanks again!

      Patricio

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lisa TI
      Posted by Lisa TI
      on May 24 2012 09:03 AM
      Guru99775 points

      HI Particio,

      ok let me see if we can verify a couple things here and put together some steps for you.   Sorry for any confusion ... I will come back to you as soon as I can.

      Best Regards,
      Lisa

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lisa TI
      Posted by Lisa TI
      on May 24 2012 09:23 AM
      Guru99775 points

      Hi Patricio,

      try the following which worked for me when added as a post build step in CCS ...

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

      Please keep us informed.

      Best Regards,

      Lisa

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Patricio Dubini
      Posted by Patricio Dubini
      on May 24 2012 09:43 AM
      Prodigy70 points

      Hi Lisa,

      This sentence is not working for me... Could you tell me please which are your paths for: {CCS_INSTALL_ROOT} , {CG_TOOL_ROOT} and {CCE_INSTALL_ROOT} ?


      So that I can verify if those files are on my disc... Thanks again!


      Patricio


      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lisa TI
      Posted by Lisa TI
      on May 24 2012 10:03 AM
      Verified Answer
      Verified by Patricio Dubini
      Guru99775 points

      HI Patricio,

      that should not make a difference.  And I am sorry the CCE should be changed to CCS.  Please give that a try, as mention, I have verified it on CCS v5.2.

      Best Regards,
      Lisa

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Patricio Dubini
      Posted by Patricio Dubini
      on May 28 2012 07:23 AM
      Prodigy70 points

      Hi Lisa,

      It's working for me now! Thank you so much for the support!

      Best regards,

      Patricio

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lisa TI
      Posted by Lisa TI
      on May 28 2012 07:48 AM
      Guru99775 points

      Hi Patriciio,

      great glad to hear and all the best with development.

      Best Regards,
      Lisa

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • PADMANABHAM HAMSA
      Posted by PADMANABHAM HAMSA
      on Dec 28 2012 05:20 AM
      Prodigy120 points

      For CCS 5.3

      "${CCS_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin.bat" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/armofd.exe" "${CG_TOOL_ROOT}/bin/armhex.exe" "${CCS_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin.exe"

      Small change :)

      Regards

      Paddy

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Sankar Selvaraj
      Posted by Sankar Selvaraj
      on Mar 08 2013 06:55 AM
      Intellectual340 points

      Hi

       i am new user to CCS. i am trying to run few sample application on ti am3894 (cortex a8) processor. i built the one sample project and i am getting .out as output; to convert into binary i used the "${CCS_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin.bat" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/armofd.exe" "${CG_TOOL_ROOT}/bin/armhex.exe" "${CCS_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin.exe" in post build. i am getting below mentioned error.

      C:/Program Files/Texas Instruments/ccsv5/utils/gmake/gmake --no-print-directory post-build
      "C:/Program Files/Texas Instruments/ccsv5/utils/tiobj2bin/tiobj2bin.bat" "uart_loopback.out" "uart_loopback.bin" "C:/Program Files/Texas Instruments/ccsv5/tools/compiler/tms470/bin/armofd.exe" "C:/Program Files/Texas Instruments/ccsv5/tools/compiler/tms470/bin/armhex.exe" "C:/Program Files/Texas Instruments/ccsv5/utils/tiobj2bin/mkhex4bin.exe"
      The system cannot find the path specified.
      gmake[1]: [post-build] Error 1 (ignored)

      i tried to copy all the exe into single folder and ran through  command prompt.

      gmake --no-print-directory post-build "tiobj2bin.bat" "uart_loopback.out" "uart_loopback.bin" "ofd470.exe" "hex470.exe" "mkhex4bin.exe"

      and the output is

      "C:/Program Files/Texas Instruments/ccsv5/utils/tiobj2bin/tiobj2bin.bat" "uart_l
      oopback.out" "uart_loopback.bin" "C:/Program Files/Texas Instruments/ccsv5/tools
      /compiler/tms470/bin/armofd.exe" "C:/Program Files/Texas Instruments/ccsv5/tools
      /compiler/tms470/bin/armhex.exe" "C:/Program Files/Texas Instruments/ccsv5/utils
      /tiobj2bin/mkhex4bin.exe"
      The system cannot find the path specified.
      gmake: [post-build] Error 1 (ignored)
      ' '
      gmake: Nothing to be done for `tiobj2bin.bat'.
      gmake: `uart_loopback.out' is up to date.
      gmake: *** No rule to make target `uart_loopback.bin'.  Stop.

      one more try i done is below


      D:\CCS\uart_loopback\Debug>gmake "tiobj2bin.bat" "uart_loopback.out" "uart_loopb
      ack.bin" "ofd470.exe" "hex470.exe" "mkhex4bin.exe"
      gmake: Nothing to be done for `tiobj2bin.bat'.
      gmake: `uart_loopback.out' is up to date.
      gmake: *** No rule to make target `uart_loopback.bin'.  Stop.

      how to generate .bin?

      Sankar

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Sankar Selvaraj
      Posted by Sankar Selvaraj
      on Mar 08 2013 22:49 PM
      Intellectual340 points

      I have tried with command prompt >tiobj2bin.bat  uart_loopback.out uart_loopb ack.bin

      its generating binary file with default settings. will it work same as the process suggested by CCS?

       

      Sankar

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    TI E2E™ Community
    • Support Forums
    • Blogs
    • Videos
    • Groups
    • Site Support & Feedback
    • Settings
    TI E2E™ Community Groups
    • TI University Program
    • Make the Switch
    • Microcontroller Projects
    • Motor Drive & Control
    Other Communities
    • Deyisupport
    • Designsomething.org
    • beagleboard.org
    • TI on Element 14
    • TI on TechXchangeSM
    Other Technical & Support Resources
    • WEBENCH® Design Center
    • Product Information Centers
    • Technical Documents
    • TI Design Network
    • TI Technical Articles
    • TI Training

    All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

    Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

    Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
    TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

    TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
    embedded processors, along with software, tools and the industry’s largest sales/support staff.

    © Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
    Trademarks | Privacy Policy | Terms of Use