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
- Support word oriented hex files
contains illegal files on windows and cannot be deleted: arginyltyrosylglutamylserylleucyllysylglutamylglycylalanylphenylalanylvalylprolylphenylphenylalanylalanylglutaminylleucyllysylglutamylarginylysylglutamylglycylalanylphenylalanylvalylprolylphenylalanylvalylthreonylleucylglycylaspartylprolylglycylisol.bin
Works fine on Mac OS X Mavericks for arm-eabi. Thanks very much!
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.
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.