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.

TMS320C6655: How to Generate Application .bin File for Custom Bootloader on TMS320C6655

Part Number: TMS320C6655

Tool/software:

Hello,

I'm working on a custom bootloader for the TMS320C6655 DSP. The bootloader successfully initializes PLL, DDR3, and SPI NOR flash. I can read the application binary data from flash and load it into DDR (address 0x80000000).

However, I'm struggling with generating the correct .bin file for my application.

I wanted to Generate a .bin file from .out that can be directly loaded by my custom bootloader into DDR at 0x80000000. and After loading, I jump to the entry point (e.g., _c_int00) to start execution.

  • What is the correct way to generate a flat binary (.bin) file from a .out for use with a custom bootloader?

  • If I must use the boot table format, is there documentation or example code on parsing the BTBL structure manually?

Thank you,
Eswara Majji

  • Hi Eswara,

    You can generate a .bin file using the hex6x utility. The usuage details are provided in the document (https://www.ti.com/lit/ug/spru186w/spru186w.pdf?). Please refer to it for guidance.

    The hex6x utility is available at : "ti-cgt-c6000_8.3.13/bin/hex6x.exe"

    // You can use Hex conversion utility
    1. Create a Hex conversion command file (.cmd/.rmd)
    2. Run the hex utility using the created .cmd/.rmd and .out file
    3. The "step :2" will generate a .btbl/.bin file  
    4. Burn the .btbl/.bin to flash.

    Regards,

    Betsy Varughese