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.

Format description of ASCII foramt

Hi everyone,

I am making python scripts to convert ascii hex format to intel hex format and vice versa. Where can I find description of the ASCII hex format?

Earlier I found spnu118s.pdf, however, its description doesn't align with the ascii hex file I generated with parameters "--diag_wrap=off --boot --sci8 --ascii" which is used for sci boot.

Thank you!

Hang.

  • I view your post as a question about why the hex utility output does not contain the address, i.e. the part that starts $A.  It is because you use the option --boot.  This option tells the hex utility to format all of the initialized sections of the input .out file for use by the bootloader built-in to the device.  To see how that table is laid out, please search the Technical Reference Manual (TRM) for your device for the sub-chapter titled Application Notes for Using the Bootloaders.  You'll see that the address is contained inside the table, and thus is not explicitly given in the hex output.

    Thanks and regards,

    -George