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.

TMS320C6713B: Hex Conversion Utility: Add binary (non-object) files to a flashable file

Part Number: TMS320C6713B

Hi

I am working on a project where a bootloader and an application are running in a C6000 device. To achieve this, I have two CCS projects, that generate two output object files: bootloader.out and app.out

The application requires a binary file to be stored in flash memory. I am using the hex conversion utility to generate a flashable .hex file (for use with Flashburn) with the two .out files. But I am not able to add the additional binary file so it can generate a flashable .hex with the three files (bootloader, application and binary files)

Seems like this happens because the binary file does not contain COFF sections. However, I can't find a way to add a file without sections so that the Hex Utility Conversion tool inserts into the specified address. And when running the Hex Conversion Utility, it successfully places the bootloader and app sections, but completely ignores the binary file

Is there a way to add a binary file as raw content into the .hex file?

The following is the .cmd file for .hex file generation:

bootloader.out
app.out
file.bin /* I want to place this file in 0x90030000 */

-a
-memwidth 8
-romwidth 8
-image
-map flashable_hex.map

ROMS
{
   EPROM: org = 90000000h, len = 40000h, files = {.\flashable.hex}
}