CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Convert Hex File to Binary

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
golson



Joined: 24 Apr 2006
Posts: 5

View user's profile Send private message

Convert Hex File to Binary
PostPosted: Wed Jun 07, 2006 2:27 pm     Reply with quote

I tried to convert the hex output file using a conversion tool
I downloaded from the KEIL website. The executable file
HEX2BIN errored it said I could not open the file.

I am wondering now if the hex file is a INTEL Hex file. Do you know where I can find a tool to convert the Compiled HEX output file to a
BINARY File. Any other suggestions?

Thank You,
Gary Olson
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Wed Jun 07, 2006 2:39 pm     Reply with quote

Yes they are Intel hex files
Seemed to work for me.
I think my hex2bin came from sourceforge. BUT I'M NOT SURE.
Quote:

C:\ccs\Projects\3200I>dir/w *.hex
Volume in drive C has no label.
Volume Serial Number is D003-500F

Directory of C:\ccs\Projects\3200I

3200i.hex 3200i_064.hex t_029.hex
3 File(s) 185,328 bytes
0 Dir(s) 18,296,422,400 bytes free

C:\ccs\Projects\3200I>.\update_firmware\HEX2BIN.EXE 3200i.hex 3.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 16 bytes at address 0x00007FF0.
Status: Read linear address record of 0x00300000.
Status: Writing 14 bytes at address 0x00300000.
Status: HEX to BIN conversion was successful.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group