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.

utility to convert elf file to hex image

Hello Champs,

I'm finding the utility to convert elf file (for Ducati M3) to hex image in order to load it from the host (A8) without IPC just like syslink.  If you have, could you please let me know how should i get .

Now assuming there is something utility to realize this, I have another question. In general, the executable contains the information for load & run address of initialized sections, and I think these must be embedded into elf data structure, just like coff format. I don't really  understand how these information should be handled after converting hex image. I think just loading hex image into the exact address does not work. Any suggestions on this ?

Best Regards,

Kawada

 

 

 

  • Kawada,

    The utility is called hex470 and is located in \ccsv4\tools\compiler\tms470\bin

    As far as how to get it from the A8 to the M3 unfortunately I can't help with that.  What processor is this for?  I can move the thread into one of the processor forums and they could help you there.  

    Regards,

    John

     

  • John,

    He is talking about new DRI processor.

    Regards,

    Sawaragi

  • Hi,

    I would like to understand what is the reason for not using the elf firmware loader.

    Just loading the firmware as a hex file may not be sufficient to execute it. It is necessary to bring it out of reset, and setup other hardware features such as clocks, memory access etc. It is recommended that you continue to use the firmware loader using the IPC so that these are automatically handled.

    --Sid

  • HI Sid,

    Yes, I know you are correct, but my customer has some reasons not to use IPC right now. I can't explain the reason here in detail. I'm sorry for that.
    Please note they will use IPC in the near future. This will be just a temporal solution.

    It seems that they know how to trigger M3 including hardware bring up. Their current concern is how to convert elf to hex. 

    As for hex conversion, --image option clears my second question. By using this, A8 can regard M3 memory as a contiguous block.

    Anyway, I'm glad to have your help. Thanks!

    Best Regards,
    Kawada