Vintage programming tools · Windows

asu ihex2bin 1.11

A utility for converting Intel HEX files into binary files.

Intel HEXANSI CWindows2-Clause BSD License

© Masaki Oba 2017 · Last updated 31 Mar 2017

Overview

Converts an Intel HEX file to a binary file. The maximum address is FFFF.

PlatformWindows
Source codeANSI C (C++ Builder)
License2-Clause BSD

Download

asu ihex2bin Version 1.11

Download asu ihex2bin 1.11 ↗

Compile

To enable romanized messages, add #define ROMAJI to ihex2bin.c.

The source uses Shift JIS encoding. You may need to convert its encoding or remove Japanese text for your compiler.

> bcc32 -DWINDOWS ihex2bin.c ihexa.c

Included files

Examples

Read abc.hex and write abc.bin.

> ihex2bin abc.hex

Read addresses 100H through 3FFH from abc.hex and write abc.bin.

> ihex2bin -s100 -e3ff abc.hex

Read abc.hex and write abc.com.

> ihex2bin -kcom abc.hex

Read abc.hex and write def.com.

> ihex2bin -odef.com abc.hex

Read abc.hex and write c:/mydir/def.com.

> ihex2bin -oc:/mydir/def.com abc.hex

Command-line usage

Intel HEX to binary file converter (maximum address: FFFF).

usage: ihex2bin [-s<hexnumber>] [-e<hexnumber>] [-k<extension>] [-o<writefile>] [-AN] readfile
   xxx -s,-e hex numbers. -k filename extension. -o filename
     -oxxx  (path+)filename.  for example -o/abc/abc.bin
     -sxxx  start address(hex).  for example -s20A
     -exxx  end address(hex).  for example -e5ca
     -kxxx  output filename extension.  for example -kCOM
     -A  romanized character message(default)
     -N  Japanese message

日本語での使い方