Dataescher DHex Command-Line Tool

DHex is installed with Dataescher HexEditor, and is a command-line tool designed for developers and embedded engineers who work with complex data formats. Now you can seamlessly manipulate Intel, Motorola, Tektronix Hex files, ELF files, and more through the command line. This tool offers precise control over memory regions, file sections, and data transformation, making it an essential companion for embedded programming and large file manipulation. Imagine replacing all your custom command tools, whether it be arm-elf-objcopy, srec_cat, with just one tool that does everything much simpler. This tool can be integrated into your post-build commands to format the output data from your code however you want, embed serial numbers, merge files together or separate them into multiple files, re-map files or data within the file, and conver between formats.

Downloads
Download HexEditor version 1.1.0.21
Windows7/10/11 64-bit
Windows7/10 32-bit
Command-Line Interface
General Commands
Data Manipulation
File Operations
Advanced Data Manipulation
CRC Computation
Program Information
Examples
  1. Generate 256 bytes of random data at address 0x100 and place the CRC at address 0x200, then save as Intel Hex format:
    DHex.exe --sel 0x100 0x1FF --random --crc --cur 0x200 --crc-paste --save example1.hex
  2. Load the file example1.hex, invert the data, and save as Motorola Hex format:
    DHex.exe --load example1.hex --sel 0x100 0x203 --invert --save example2.s19
  3. Load example2.hex and remap the file starting at address 0x300, merge with example1.hex, and save as Tektronix Hex format:
    DHex.exe --load example2.s19 --offset 0x300 false --merge example1.hex --save example3.tek