Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed the week of November 23.

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.

TMS320F280039C: Byte count change for hex object format

Part Number: TMS320F280039C

Hi Champ,

I am asking for my customer. 

They are using HEX utility to generate the intel HEX file.

From the Assembly Language Tools user's guide, the Hexadecimal Object Format is shown as below.

image.png

Is there a configuration / setup in HEX utility to modify the byte count to others? customer wishes the byte count with 10. Is it possibly to do so?

If not, any recommended third party tool to convert the byte count with 10 as customer's wish?

Please suggest, thank you.

Regards,

Johnny

  • Is there a configuration / setup in HEX utility to modify the byte count to others? customer wishes the byte count with 10. Is it possibly to do so?

    Unfortunately, the hex utility does not support controlling the number of bytes of data on a line.  Each line of the hex file encodes the number of bytes of data on the line.  The tool that reads the hex file as input relies on that encoding to know the number of bytes per line.  That being the case, there is no need to control the number of bytes per line.

    If not, any recommended third party tool to convert the byte count with 10 as customer's wish?

    I understand there is an open source tool called srec_cat.  Unfortunately, I am unable to give you further details about it.

    Thanks and regards,

    -George