Hex2bin exe windows 64

Intel HEX to BINARY File Converter Utility

This utility program creates a BINARY file from an Intel HEX file. You can use BINARY files with most EPROM programmers and you can easily use them for CRC or checksum calculations. Options for this utility program are listed below:

Note: This utility program is a DOS application! It requires 8.3 naming convention for file names and paths and it does not run on 64Bit Windows versions. However, you can execute it in the XP mode (Virtual PC) of Windows 7 if necessary.

The utility srec_cat.exe is an excellent and more versatile replacement for HEX2BIN and BIN2HEX. This tool is part of the SRecord project hosted on sourceforge.net. You can download it from https://sourceforge.net/projects/srecord/files/srecord-win32.

Please see the following knowledgebase articles how HEX and BINARY files can be converted, merged and split using the srec_cat utility together with Keil microcontroller development tools.

Products

Development Tools
Hardware & Collateral

Downloads

Support

Contact

Copyright © 2005-2019 Arm Limited (or its affiliates). All rights reserved.

Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.

Hex2bin

Intel Hex or Motorola Hex file converter

Brought to you by: jpelletier

Downloads: 252 This Week

Last Update: 2018-01-20

Converts Motorola and Intel hex files to binary. Executables for windows included. A similar project also does hex binary conversions, supports many formats and other features: see: srecord (http://srecord.sourceforge.net/)

Features

  • Supports unsorted records
  • Can add a checksum/CRC to a file
  • Can fill unused bytes with FF or another value
  • Supports byte swapped hex/S19 files
  • Support word oriented hex files

Project Activity

Categories

License

Follow Hex2bin

Other Useful Business Software

Reach your buyers anytime, anywhere with Perenso Cloud Show, a Virtual Trade Show software solution.

Rate This Project

User Ratings

User Reviews

contains illegal files on windows and cannot be deleted: arginyltyrosylglutamylserylleucyllysylglutamylglycylalanylphenylalanylvalylprolylphenylphenylalanylalanylglutaminylleucyllysylglutamylarginylysylglutamylglycylalanylphenylalanylvalylprolylphenylalanylvalylthreonylleucylglycylaspartylprolylglycylisol.bin

Reply from Hex2bin

Works fine on Mac OS X Mavericks for arm-eabi. Thanks very much!

it’s very usefully. And I append this line «if (Flnm[strlen(Flnm) — 1] == ‘\n’) Flnm[strlen(Flnm) — 1] = ‘\0’;» in the function NoFailOpenInputFile

This is awesome, now it even supports byte swapping.

It works like a charm. My toolchain generates by default bin-files. If I configure it to produce intel hex-files and call Hex2Bin to generate a bin-file again, the result is 100% identical.

Hex2bin 2.5

Completely clean of adware/spyware components

100% FREE award granted by Softpedia

This tool is used for converting hexadecimal files (either Motorola or Intel format) into a binary file. It’s a command line tool with basic capabilities.

Hex2bin/mot2bin Features

It can handle the extended Intel hex format in segmented and linear address modes. Records need not be sorted and there can be gaps between records. Holes/unused bytes can be specified as any other value than FF. A checksum can be inserted into the binary file.

The source files can be easily compiled for Windows, either by using CodeBlocks + MinGW GCC or Microsoft Visual Studio (or Express). For convenience, the distributed file contains the 64-bit executables for Windows already.

License

Hex2bin and mot2bin are released with a BSD license.

Usage

Options are case sensitive and options with parameters need a space between option and parameter. I.e. -s 0000 instead of -s0000.

Читайте также:  Драйвер для fn клавиш lenovo windows 10

A successful execution exits with the error code = 0, If any error occurs, the program exits immediately with the error code = 1.

All values are in hexadecimal, no 0x needed: ex. not 0x0100 but 0100.

Batch/script mode

Normally, if the specified hex file doesn’t exist, hex2bin/mot2bin ask repeatedly for a valid filename. A batch/script mode option is provided for exiting with an error instead of asking for a file.

hex2bin -b xxxx.hex

If the file xxxx.hex doesn’t exist, the program exits immediately with the error code = 1.

Checksum of source file

By default, it ignores checksum errors, so that someone can change by hand some bytes allowing quick and dirty changes.

If you want checksum error reporting, specify the option -c.

hex2bin -c example.hex

If there is a checksum error somewhere, the program will continue the conversion anyway. For convenience,

hex2bin/mot2bin displays the expected checksum at each faulty records.

Extension for output file

By default, the extension will be .bin . Another value can be specified.

hex2bin -e com example.hex

A file example.com will be generated.

Padding byte

By default, unused locations will be filled with FF. Another value can be specified.

hex2bin -p AA example.hex

Starting Address and Length

If the lowest address isn’t 0000, ex: 0100: (the first record begins with :nn010000xxx ) there will be problems when using the binary file to program a EPROM since the first byte supposed to be at 0100 is stored in the binary file at 0000.

you can specify the binary file’s starting address on the command line:

hex2bin -s 0000 start_at_0100.hex

The bytes will be stored in the binary file with a padding from 0000 to the lowest address minus 1 (00FF in this case).

Similarly, the binary file can be padded up to Length -1 with FF or another byte.

Here, the space between the last byte and 07FF will be filled with FF.

hex2bin -l 0800 ends_before_07FF.hex

EPROM, EEPROM and Flash memories contain all FF when erased.

When the source file name is for-example.test.hex the binary created will have the name for-example.bin

the «.test» part will be dropped.

Hex2bin/mot2bin assume the source file doesn’t contain overlapping records, if so, overlaps will be reported.

Minimum Block Size

The output file size will be a multiple of Minimum block size. It will be filled with FF or the specified pattern.

Length must be a power of 2 in hexadecimal [see -l option].

Attention this option is STRONGER than Maximal Length.

hex2bin -m [size] example.hex

Checksum or CRC inserted inside binary file

A checksum value can be inserted in the resulting binary file.

hex2bin -k 5 -E [0|1] -r [start] [end] -f [address] [value]

-k Select checksum type:

0 = 8-bit checksum

1 = 16-bit checksum (adds 16-bit words into a 16-bit sum, data and result BE or LE)

5 = 16-bit checksum (adds bytes into a 16-bit sum, result BE or LE)

-E Endianness of result to store

0 = little endian

-r Range to compute checksum or CRC over (default is min and max addresses)

-f Address of checksum or CRC to write

-d Displays the list of checksum types and exits

Value inserted directly inside binary file

A value can be inserted directly (forced) in the resulting binary file.

hex2bin -k [0|1|2] -E [0|1] -F [address] [value]

-k Select value length type:

0 = little endian

-F Address and value checksum to write

Support for byte-swapped hex/S19 files

Some compilers such as Microchip’s MPLAB IDE can generate byte swapped hex files.

hex2bin -w test-byte-swap.hex

-w Wordwise swap: for each pair of bytes, exchange the low and high part.

Support for word sized hex files (hex2bin only)

Hex with record type, where data is represented in Word (2 Byte)

e.g Texas Instruments: TMS320F2835, TMS320F28065.

hex2bin -a example-ti.hex

-a Address Alignment Word.

Filter for records within range

Records outside that range are discarded

Hex2bin -t 0110 -T 0256 example.hex

-t Floor address

-T Ceiling address

Status

Hex2bin and mot2bin are in production status. It is working well for many small applications.

While I’m now working on other projects, hex2bin and mot2bin are still open for patches, feature request etc. Submit them here.

Similar tools

SRecord has many more features and support many other formats.

Читайте также:  Драйвер для принтера xerox phaser 3010 для windows 10

Download

The source file contains a version compiled for 64-bit windows.

Hex2bin exe windows 64

Hex/Dec/Bin Calculator v1.0

Hex/Dec/Bin Calculator — A very simple Hex, Dec, Bin Calculator, Converts hexadecimal numbers in decimal & binary and the other ways round. Very basic, can not handle negative and floating-point numbers.

Hex Workshop Base Converter v6.8

Base Converter — included in Hex Workshop it is intended to be converts from hex to decimal and decimal to hex (while displaying binary). For a conversion the user can specify byte order (Little Endian/Intel, Big Endian/Motorola, or Raw Hex) and Data Type (byte, unsigned byte, short, unsigned short, long, unsigned long, float, or double).

The Base Converter includes an Always on Top (Ctrl+A) option accessible from the system menu.

FRT Converter 1.0c

FRT Converter — конвертор по умолчанию скрывается/показывается по кнопке PAUSE, поменять можно в ini указав VK_x код в hex.

Версия 10c:
— Добавил int64/uint64 и трей.
trayMode в ini может быть 0 — без трея, 1 — иконка создается только при сокрытии окна, 2 — создается всегда

QuickConv v1.0

QuickConv — простой переводчик чисел между разными системами исчисления. Программа переводит числа между шестнадцатеричной (HEX), восьмиричной (OCT), двоичной (BIN) и десятичной (DEC) системами непосредственно во время ввода числа в одно из полей. Система исчисления, в которой вводится число (и соответсвенное поле) выбираются с помощью группы переключателей. На данный момент программа может работать только с положительными числами меньшими 4294967296. В последующих версиях программы это ограничение вероятно будет снято.

Домашняя страница: http://slsoft.narod.ru/quickconv.html

Quantrix HexDexOctBin v1.01

Quantrix HDOB — Interconvert hexadecimal, decimal, octal or binary numbers.

HexCon v1.0

HexCon — is a small fast program, that can convert between any of the 3 standard integers used in computer programming. It also has lists of keyboard codes. HexCon replaces the old Dos based hex converter I wrote about 14 years ago. During the rewrite I added lists of PC keyboard codes; ascii, extended and also keyboard hardware scan codes and Windows key constants which saves looking them up in a book all the time.

Скачать: HexCon v1.0

HexTool v1.7.0.1

HexTool — is a simple yet effective calculator/tool; invaluable for people who work with Hex and Binary. Now you can convert between Hex, Binary and Decimal on the fly. Starting HexTool with a command line option, eg, «hextool 1» will force it to start in Advanced mode. The user can toggle between simple mode and advanced mode using the Maximise/Restore button.

ASCIIvalues v1.0.8

ASCIIvalues — is a small program that displays the ASCII value of each key as you press it. It shows ASCII character codes for alphabetic, numeric, and symbolic characters.

Features:
— converts any key press to its ASCII code
— has an extended ASCII list with all characters

HEXwriter v1.0.7

HEXwriter — This ASCII to HEX and vice-versa tool is ideal for short HEX translations, nothing fancy intended.

Features:
— Immediate conversion of Keyboard Input
— ASCII to HEX and HEX to ASCII conversion modes
— Output can be copied to the Clipboard for further use
— Runs on Windows 95/98/ME/NT4/2k/2k3/2k8/XP/V/7/10

Free Number Base Converter v2.0

Free Number Base Converter — The Number Base converter is a tool which converts numbers from one base to another such as binary,decimal,hex,octal. The program is quite simple so even if you are a beginner you can use it without any trouble.

Binary Converter Pro v1.0

Binary Converter Pro — Convert text to binary and binary to text

Text Convertor v1.0.0

Text Convertor — This tool convert text / string /char / character to ASCII and Hex or Hexadecimal. It also convert ASCII to Text and Hex or Hexadecimal. It also convert Hex or Hexadecimal to Text and ASCII. This is a simple, flexible and easy to use for wide range of ap.

Конвертор систем счисления v2.0

Конвертор систем счисления — простая в использовании программа с незамысловатым интерфейсом, позволяющая переводить числа из одной системы счисления в другую. Поддерживается перевод между десятичной, двоичной, восьмеричной и шестнадцатеричной системами счисления.

Домашняя страница: http://vladimir89.ucoz.ru/load/3-1-0-1

ASCII-Converter v1.0

ASCII-Converter — With this tool you can convert a single ASCII character to its HEX, Decimal and Binary value and vice-versa.

It translates keyboard input on the fly.

Читайте также:  Средство создания windows media

In the expanded view, you can convert entire text passages or decode a Binary string of zeros and ones back to a human-readable text.

Конвертер систем счисления v1.1

Hex-Dec-Bin — позволяет преобразовывать числа из одной системы счисления в две другие. Поддерживаются шестнадцатеричная, десятичная и двоичная системы счисления. При вводе данных преобразование производится автоматически. (Автор: Петр Высочанский)

Домашняя страница: http://pure-basic.narod.ru/project/Hex-Dec-Bin.html

Text to ASCII to HEX Converter v1.0

ASCII-HEX-BINARY Converter — This is a very useful application for figuring out the ascii value of a character in decimal, hexadecimal, or binary.

Numeric Converter v1.02

Numeric Converter

字符编码进制转换器 v1.0

程序功能部分:
— 字符和ASCII之间的互转
— ANSI 16进制间的互转
— Unicode 与16进制间的互转

BinHexDec32 Converter v2.0.0.1

BinHexDec32 — is a tiny calculator used to convert binary, hex and decimal values. It is supported 8,16 and 32 bit conversion operation.Unlike the Windows version, with BinHexDec32 Converter more usable work with binary digit and clipboard.

Binary Convert.NET v1.0.0.1

Binary Convert.NET — is a free, redistributable tool for converting in between 26 different positional numeral systems (such as decimal, binary, and hexadecimal) and ASCII text.

Text Converter v1.0 Nookkin

Text Converter — is a useful little program for encoding and converting text to various formats. This is useful for sending coded messages to your friends, solving puzzles involving such messages, and more practical things such as decoding a Base64-encoded string found in a URL.

Text Converter supports the following back-and-forth conversions: binary, decimal, hex, octal, Base64, ROT13, ASCII bitwise NOT

Megatops BinCalc v1.0.4

Megatops BinCalc — is a pure Int32 calculator designed for developers. It provides you a effective way to perform binary calculations or making base conversions. BinCalc is FREE, and it looks very different to the other calculators. When I was staring the BinCalc project, I just want to design a UI cool enough to scare the binary «muggles» and avoid them touching it — it is only for developers.

If you are a embedded system developer or low-level software developer, you might like it. It will rescue you from counting the 0/1s in the stupid Windows Calculator and help you to save the time wasted on parsing the hardware registers or converting from one base to another.

ConverterNET v0.1

Converter v0.14 Screen

ConverterNET — Convert data to/from many different formats, format data, search/replace data, extract data, find XOR/SFT keys, import/export/convert files, and more. 32-bit and 64-bit binaries are included.

Credits: Sam Allen (AlphanumComparatorFast), kadzus (CRC32HashAlgorithm), Rob Tillaart (convert radix), Einar Lielmanis (js-beautify), David Zimmer (sc2exe), Simone Spagna (RC4), DotNetZip (zlib), Rohit Gupta (convert IP), Don Rollings (tags regex), Timwi (comments regex)

Скачать: Converter v0.14 / ConverterNET v0.1

Text Hex Convert v2.1.1

Text Hex Convert — This tool converts Text values to Hex values, and vice-versa. Written in VB.NET. Created solely for aiding ROM Hacking at first, but became rather an important tool.

Bugs:
This tool cannot convert specific characters yet, for «Text — Hex» only. They are as follows:
• [pk], [mn], [po], [k], [ké], [bl], [oc], [U], [D] [L], [R], [.], [«»], «», [‘], [m], [f], [$], [x], [>] [u], [d], [l]

If you want to test the older versions, you would want to download Java 6 or higher since the v1 and v1.1 are both written in Java.

Скачать: Text Hex Decoder v1.1 / Text Hex Convert v2.1.1 / Src

Hex v2.0 (OC’s Computer Consulting)

Hex — (for hexadecimal) is actually a little misleading! This applet converts Text to ASCII, Large Decimal, Hexadecimal, and Binary in a single click or keystroke!

Features:
— The price is right! Free Software! You may download and make as many copies as you wish.
— Single key entry to produce an entire line of text based on your setup.
— Convert any text (such as abc) into decimal, hexadecimal, and binary in a single click.
— Convert any decimal into text, hexadecimal, and binary in a single click.
— Convert any hexadecimal into text, decimal, and binary in a single click.
— Convert any binary into text, decimal, and hexadecimal in a single click.
— Convert extremely large numbers into octets, decimal, hexadecimal, or binary.
— Create text that assembled based on ASCII Value, Hex Value, or Binary Value and any prefix and suffix that you configured.
— Automatically copy results into clipboard.

Оцените статью