This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to convert Hex to Bin file with offset

I need to convert hex file generated from ARM cortex M0 KEIL project to Binary file for Boot loader application. I found one utility on internet "HEX2BIN". This gives error while generating bin file


D:\KEILAR~1\hex2bin>hex2bin pdu.hex pdu.bin

HEX2BIN Version 1.06
Copyright (c) 1995 Programix Corp.
Portions copyright (c) 1993-1995 BITWARE.
All rights reserved.
Status: Creating binary file.
Status: Read linear address record of 0x00000000.
Status: Writing 4 bytes at address 0x000002FC.
Status: Read linear address record of 0x00000000.
Status: Writing 8 bytes at address 0x00001610.
ERROR: Invalid record type in HEX record 102.
Status: HEX to BIN conversion was not successful.

please suggest alternate method to generate binary file from hex,

regards
Mahesh M