• Resolved

.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.

  • Guru 135835 points

    Tony Morrell

    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.

    ____________________________________________________________________________

    Search the wikis for common questions: CGTCCSv6
    Track a known bug with SDOWP. Enter the bug id in the "Find Record ID" box

  • In reply to AartiG:

    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.

  • Guru 135835 points

    In reply to Tony Morrell:

    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.

    ____________________________________________________________________________

    Search the wikis for common questions: CGTCCSv6
    Track a known bug with SDOWP. Enter the bug id in the "Find Record ID" box

  • In reply to AartiG:

    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.

  • Guru 135835 points

    In reply to Tony Morrell:

    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.

    ____________________________________________________________________________

    Search the wikis for common questions: CGTCCSv6
    Track a known bug with SDOWP. Enter the bug id in the "Find Record ID" box

  • In reply to AartiG:

    Hi Aarti,

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

    Regards, Tony.

  • In reply to AartiG:

    Hi Aarti,

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

    AartiG

    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.

  • Guru 135835 points

    In reply to Tony Morrell:

    Tony Morrell

    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

    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.

    ____________________________________________________________________________

    Search the wikis for common questions: CGTCCSv6
    Track a known bug with SDOWP. Enter the bug id in the "Find Record ID" box