
JTAG-Booster for Intel 386EX
JTAG_386EXa.doc 53
4. Converter Program HEX2BIN.EXE
Since the JTAG-Booster software is not able to handle Intel-HEX or Motorola S-
Record files, an separate converter tool is delivered with this product package.
Five types of HEX formats can be converted to BIN file:
• I : INTEL HEX format (BYTE oriented)
• D : Digital Research
• M : MOTOROLA S HEX format (BYTE oriented)
• T : TEKTRONICS HEX format (BYTE oriented)
• H : Intel HEX-32
Maximum conversion size is 256 kBytes. A 4
th
parameter for starting address
can be specified to skip out the leading garbage and you will maintain a small
size of output binary file.
If you start the HEX2BIN without any additional parameter all necessary
parameters will be asked for in a prompt mode:
HEX2BIN
Input HEX file name: MYAPP.H86
Output BIN file name[MYAPP.BIN]:
HEX file format
<I>ntel /<M>otorola /<D>igital Research /<T>ektronics /[H] Intel HEX-32[I] : H
Input CODE segment start address[0000000]: 10000
Input CODE segment end address[FFFFFFF]:
Unused bytes will be <1>00 <2>FF [1] : 2
Instead of using the prompt mode, you can directly specify all necessary
parameters in the command line. This is essential for making batch files:
HEX2BIN MYAPP.H86 MYAPP.BIN H 0010000 FFFFFFF 2
It is very important to fill unused bytes with 0xFF, because this are simply
skipped by the JTAG-Boosters software and so it speeds up the programming
performance.