This release has new options for hex2bin: -t and -T where addresses lower or greater than those specified are ignored. Thanks to Simone Fratini!
New Checksum (16-bit checksum of bytes), some issues fixed. Tests are now in a separate file.
Bug fix release, no new features. This release fixes the long file name bug and the force/check message.
Micros from Texas Instruments (e.g.TMS320F2835, TMS320F28065) are now supported since they use a different data representation from standard Intel Hex. In the record type, data is represented in Word (2 Byte). Thanks to Simone Fratini!
Some rewriting, bug fix-up.
New options:
-a for word aligned hex file
-b for batch mode; doesn't ask for files if the file specified is wrong, just exits.
A small modification will be necessary for your batch/script files, since the previous batch mode didn't work the same on Linux and Windows.
In batch or script files, instead of writing:
hex2bin < nul my_file_name.hex
write:
hex2bin -b my_file_name.hex
-Option k is a bit different: see doc/Readme file.
-Code has been a bit rewrited.
-CRC8, 16 and 32 available, configurable with parameters. See test/Makefile for examples.
-Option E (little/big endian) for check methods or forcing a value in a file.
mot2bin has been updated also. The 2 programs compile fine and are currently under tests.
Hex2bin is already modified. Mot2bin is not completed yet.
CRC is implemented in 8-bit, 16-bit and 32-bit, with user specified parameters.
Some example of common CRCs will be provided.
Options were modified a bit so I could understand and simplify the code. They will not be all compatible with the previous version.
Instead of a checksum, a wider variety of check methods will be available.
Added the new options in 1.0.12 and other existing options.
Added "-m" option to set the file size as a multiple of a minimum block size.
Click on 'Create Ticket' in this page: https://sourceforge.net/p/hex2bin/feature-requests/
Added -w option for swapping bytes in hex files such as generated by Microchip's MPLAB IDE. Also available for the S19 files.
Corrected bug caused by extra empty lines in hex/S19 files.
Recent bugs fixed. No new features. The options and their arguments must be separated with a space. Ex.: hex2bin -e bin2 mytest.hex
I'm currently adding a submitted feature, and I plan to implement the overlapping records checking. I happen to have some CRC routines done, and it could probably be of use.
Instead of using the LGPL license, Hex2bin will be released with a BSD license along with new feature(s). The release 1.0.9 should be posted soon.
Hex2bin code can be used for commercial applications. I added the LGPL license in this project; current release (1.0.8) can be used as LGPL even if files are specified with GPL. Licensing change will be included in next release.
This release fixes physical address calculation for extended linear address records, and a bug with the ADDRESS_MASK define.
This release fixes option parsing. Some options were ignored when many options were specified. A version compiled for windows is included (hex2bin.exe mot2bin.exe)