Skip to content

ctarsjp/ihex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ihex

Intel HEX file manipulator - v1.0.1

Installation

git clone https://github.com/ctarsjp/ihex
cd ihex
make build

Usage

# Add new data (fails if overlaps)
ihex add <input.hex> <address> <bytes> -o <output.hex>

# Patch existing data (fails if not present)
ihex patch <input.hex> <address> <bytes> -o <output.hex>

# Version
ihex --version

Examples

ihex add input.hex 0x1000 A1B2C3 -o output.hex
ihex patch app.hex 4096 "A1 B2 C3" -o out.hex
ihex add fw.hex 0x2000 "0xA1,0xB2,0xC3" -o out.hex
ihex patch firmware.hex 0x3000 "a1:b2:c3:d4" -o patched.hex

Byte Formats

  • A1B2C3
  • "A1 B2 C3"
  • "0xA1,0xB2,0xC3"
  • "a1:b2:c3"

Address Formats

  • Hex: 0x1000
  • Decimal: 4096

About

Intel HEX File Manipulator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published