Greetings:
Is anyone aware if the Keil environment can embed comments is its HEX file output?
Embedding notes (title, version, copy-write, etc.) in HEX file output has proven helpful in my plethora of CCS PIC development.
We now have developed a program to load, via ULINK, sections of an ARM flash with customer specific data. It would obviously be helpful for this program to be reasonably sure the HEX file it is directed to load is of the proper type. Embedding an ID within the file would be a convenient means to prevent (well, minimize...) mistakes. True, one could manually edit an ID in the Keil HEX file output, but as I am not guaranteed to be in the future production chain, extra manual steps best be avoided.
Thanks for any comments. doug
It would obviously be helpful for this program to be reasonably sure the HEX file it is directed to load is of the proper type. Embedding an ID within the file would be a convenient means to prevent (well, minimize...) mistakes.
This looks like an odd way to add metadata to a file format that doesn't really support it. Of course, you can write your own scripts to add, analyze and remove the metadata. There are plenty of nice scripting languages for that: awk, python, even compiled C.