how to change hex to binary in code composer studio

There are two ways to burn the .out file, which is the ccs output, to the embedded flash memory. 1. There is a way to access and burn the eeprom in Linux. 2. There is a way to directly upload a binary file using the eeprom write function in ccs.

Among them, let’s look at how to convert .out files to .bin files in ccs and burn them to eeprom.

How to change .out file to binary file

  • Open the project’s Properties. ( Alt + Enter )
  • Choose Build > ARM Hex Utility.
  • Enable the Enable ARM Hex Utility checkbox.
  • Enter 8 in Specify memory width and Specify rom width in General Options.
  • Select Intel as the output format in the Output Format Option item.
  • After building the project, you can check out, bin, and hex files as output results.

Open project example

  • open ccs project
  • right click at “BlinkLED”
  • click Properties

Click “Enable C6000 Hex Utility”

  • click C6000 Hex Utility
  • and then, check Enable C6000 Hex Utility for make bin file

Set memory width and rom width

  • click General Options
  • and, change memory width and rom width 8

Set output format options

  • click output format options
  • change output format “–intel -i”

Leave a Comment