Converts Motorola and Intel hex files to binary. Executables for windows included. A similar project also does hex <-> binary conversions, supports many formats and other features: see: srecord (http://srecord.sourceforge.net/)
- Supports unsorted records
- Can add a checksum to a file
- Can fill unused bytes with FF or another value
- Supports byte swapped hex/S19 files
it's very usefully. And I append this line "if (Flnm[strlen(Flnm) - 1] == '\n') Flnm[strlen(Flnm) - 1] = '\0';" in the function NoFailOpenInputFile
This is awesome, now it even supports byte swapping.
Easy to use and works.
It works like a charm. My toolchain generates by default bin-files. If I configure it to produce intel hex-files and call Hex2Bin to generate a bin-file again, the result is 100% identical.
The windows executable for hex2bin is easy to use and worked for me without a hitch. I'll still need to do some tests to check for correctness, but the project is nice and easy to use.