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.
The help screen on the HEX2BIN utility does not give any hint to the usage of 'n'. I want to convert a HEX file (less than 32k) to a binary file with size=32k (8000 Hex). Unused bytes should be padded with FF. I expected the following command to work: HEX2BIN /P0xFF myfile.hex but this cmd pads with 00. To my surprise it works with this command: HEX2BIN /L0x8000 myfile.hex Can anyone explain?
Yes, but simply writing HEX2BIN /P255 myfile.hex does not work. I have to write: HEX2BIN /L32768 /P255 myfile.hex but thats OK. Thanks for the quick reply!
I have decided to drop this utility. When it is used in an IDE that captures the DOS output, you get an awfull lot of lines with: Status: Writing nn bytes at address 0xhhhhhhhh. (in a regular DOS box you just get the last line). Does anyone know about a better (newer)converter? Must be DOS based!
OOOPS! I forgot the /Q qualifier.