# intelhex-c **Repository Path**: ansonlkz727/intelhex-c ## Basic Information - **Project Name**: intelhex-c - **Description**: Intel HEX 文件格式解析库,用于嵌入式固件烧录和升级 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2026-07-08 - **Last Updated**: 2026-07-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Original project LINK [ihex](https://github.com/arkku/ihex) # What changes I made some modifications under the permission of MIT license. + Modify Makefile script, support x86_ X64 platform and aarch64 platform + Set the default read line length to 16 bits + Remove sample code irrelevant to the conversion between ihex and bin # How to use # Simple conversion from .img to .hex: bin2ihex -i sysupgrade_xxx.img -o sysupgrade_xxx.hex # Add an offset to the output addresses (i.e., make the address # of the first byte of the input other than zero): bin2ihex -a 0x8000000 -i sysupgrade_xxx.img -o sysupgrade_xxx.hex # Simple conversion from .hex to .img: ihex2bin -i sysupgrade_xxx.hex -o sysupgrade_xxx.img # Manually specify the initial address written (i.e., subtract # an offset from the input addresses): ihex2bin -a 0x8000000 -i sysupgrade_xxx.hex -o sysupgrade_xxx.img