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.

.BIN or .HEX Conversion to .ELF

Hi,

Is there any utility in the TI tool-set for converting either a .BIN or .HEX file to .ELF?

Regards, Tony.

  • Tony Morrell said:

    Hi,

    Is there any utility in the TI tool-set for converting either a .BIN or .HEX file to .ELF?

    Regards, Tony.

    Sorry, not that I am aware of.

  • Hi Aarti,

    Let me put my question another way. I want to write either a .BIN or .HEX file to flash using CCS5.1. How do I do it? See my other post Re: CortexR4: Warning: (Error -1003) on Load Memory Raw Data Format.

    Regards, Tony.

  • Hi Tony,

    Have you looked into the nowFlash tool? I personally haven't tried it, but a quick glance at the Users Guide indicates it supports programming of COFF, ELF and some hex formats. I've seen some discussion on it in the TMS570 microcontroller forum.

  • Hi Aarti,

    You're right in that nowFlash does support .HEX file download. Unfortunately for me, my target TMS570 lies in a JTAG chain, which is not supported by nowFlash. CCS5 supports JTAG chains and that is why I'm restricted!

    Regards, Tony.

  • Unfortunately I don't think there's a way to load hex or binary files through CCS. I thought that debug server scripting might be an option, but it seems that the file format parser we use is not the same as the one in nowFlash. So for now, CCS/DSS is still limited to loading COFF/ELF file formats via flash programmer.

  • Hi Aarti,

    Thanks for that. Can I suggest that a useful enhancement to nowFlash would be JTAG chain support.

    Regards, Tony.

  • Hi Aarti,

    Sorry, I've another observation to make on your point:

    AartiG said:

    I thought that debug server scripting might be an option, but it seems that the file format parser we use is not the same as the one in nowFlash. So for now, CCS/DSS is still limited to loading COFF/ELF file formats via flash programmer.

    CCS5 does support binary file download (so called raw data format) into RAM through the Tools/Load Memory option. I wonder if you can utilise this file format parser in some way to provide write to flash functionality?

    Regards, Tony.

  • Tony Morrell said:

    CCS5 does support binary file download (so called raw data format) into RAM through the Tools/Load Memory option. I wonder if you can utilise this file format parser in some way to provide write to flash functionality?

    Unfortunately this support does not exist today, and I could file an enhancement request but cannot tell in what time frame this will be implemented.

     

    Tony Morrell said:

    Can I suggest that a useful enhancement to nowFlash would be JTAG chain support.

    Could you post this request in the TMS570 device forums? The owners of the nowFlash tool watch that forum and should be able to comment further on this request.