New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide file format I: Intel HEX with comments that ignores checksum errors #1030
Conversation
…errors The new file type I is essentially Intel HEX that, on download, inserts comments next to data records with the resolved effective address and an ASCII dump of that same record. On upload the `I` format is permissive with respect to check sum errors, eg, after manipulated an Intel HEX file for debugging.
Looks like a useful enhancement. |
@stefanrueger
|
Similarly for Linux.
|
Thanks for the PR @stefanrueger! A char dump along with the hex file, and "support" for incorrect checksums might be useful sometimes. The
I would assume it would detect the intel hex file format, find the incorrect checksum and treat is as |
I'm not so sure whether automatically deducing a checksum error (for |
@MCUdude Yes, the suggested patch does not investigate in BTW, an alternative to introducing a new file type Another
The seemingly redundant address in the comment bit is still useful because it is the effective address whilst the lhs address is an offset address to a base address that might have been specified earlier. If we think these spaces are useful, I would also change the Use cases. (@mcuee Just to clarify that the comments inserted into the Intel HEX file are the added columns that look like Fun facts. Whilst wikipedia seems to think that '//' comments in Intel HEX files are often used in extensions of the format the format guru |
What's the preference? |
I'd prefer |
Same here. |
The new file type
I
is essentially Intel HEX that, on download, inserts comments next to data records with the resolved effective address and an ASCII dump of that same record. On upload theI
format is permissive with respect to check sum errors, which is useful, eg, after manipulating an Intel HEX file for debugging.