BIN轉(zhuǎn)HEX工具(BIN2HEX)將二進制binary文件轉(zhuǎn)換成Intel HEX文件,BIN轉(zhuǎn)HEX工具,可方便的將BIN程序文件轉(zhuǎn)換為HEX程序文件。
設(shè)置參數(shù):
語法:BIN2HEX [/option] binfile [hexfile]
binfile 為輸入的二進制BIN文件
hexfile 為要創(chuàng)建的Intel HEX文件
option可為以下值:
/Ln Bytes to read from binary file
/In Binary file starting offset
/On Output file address offset (where HEX data starts)
/M Merge data into existing HEX file
/2 Generate HEX file using ext. segment address records (HEX86)
/4 Generate HEX file using ext. linear address records (HEX386)
/Q Quiet mode (no statistics are displayed)
/T Exclude EOF record
/A Append to end of existing HEX file
注意:該工具為DOS命令程序。它需要為文件名稱和路徑8.3命名約定,并且不能在Windows 7 64位系統(tǒng)上運行。當然,可以在Windows 7上實用XP模式(虛擬機)執(zhí)行它。