We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
In order to program a 16-bit flash memory, the Intel HEX-86 file must contain only data packets with even numbers of data bytes. I have an .H86 file that has two data packets that are each 1 byte long. How can this be avoided?
Specify the flash fill byte in the options for OH166 (make it 0xFF or whatever.) It will fill the "holes" in the HEX file with that byte. After that the HEX file will be a contiguos chunk of data, no packets with odd number of bytes, except for the very last one, maybe. - mike
If that doesn't fix it you could use hex2bin and bin2hex (downloadable here). You can specify both the size of the binary image and the fill byte. Stefan