DSPRelated.com
Forums

coff to binary conversion

Started by neeli bhaskar reddy November 15, 2004

Hi all,
can anybody guide me for a good utility (c6x) for coff
(.out) to binary file (.bin).
What exactly the difference between .hex file and .bin
file.
Is there any tool to convert hex file generated by
hex6x conversion utility, to binary file.

For firmware upgradation, to send the new image to dsp
and burn onto flash, which format is well suited one.

Thanks in advance.
__________________________________



neeli bhaskar reddy,
 
The hex6x.exe utility [runs from a 'DOS' prompt] may do it.  Newer versions of hex6x [mine is 5.0] seem to have an undocumented '-b' option that creates a binary image.
 
If your version of CCS doesn't support it, it is fairly easy to convert the 'hex' files to binary.  The hex files are in readable ASCII with leading addresses and trailing checksums.  see help file for details.
 
mikedunn

neeli bhaskar reddy <t...@yahoo.com> wrote:


Hi all,
can anybody guide me for a good utility (c6x) for coff
(.out) to binary file (.bin).
What exactly the difference between .hex file and .bin
file.
Is there any tool to convert hex file generated by
hex6x conversion utility, to binary file.

For firmware upgradation, to send the new image to dsp
and burn onto flash, which format is well suited one.

Thanks in advance.
__________________________________

_____________________________________
Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join: Send an email to c...@yahoogroups.com

To Post: Send an email to c...@yahoogroups.com

To Leave: Send an email to c...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/c6x

Other Groups: http://www.dsprelated.com

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/c6x/

<*> To unsubscribe from this group, send an email to:
c...@yahoogroups.com

<*



Hi,

If the secret -b switch doesnt work in your version... try this:

First create the .hex using the hex6x.exe

second: use the attached hex2bin.exe for the conversion from hex to bin. In
my project it seems to work fine. I think that you can find tools like that
on the internet...

call:
hex2bin anything.hex anything.bin

bye,

thomas

> neeli bhaskar reddy,
>
> The hex6x.exe utility [runs from a 'DOS' prompt] may do it. Newer
> versions of hex6x [mine is 5.0] seem to have an undocumented '-b' option
that
> creates a binary image.
>
> If your version of CCS doesn't support it, it is fairly easy to convert
> the 'hex' files to binary. The hex files are in readable ASCII with
leading
> addresses and trailing checksums. see help file for details.
>
> mikedunn
>
> neeli bhaskar reddy <> wrote: > Hi all,
> can anybody guide me for a good utility (c6x) for coff
> (.out) to binary file (.bin).
> What exactly the difference between .hex file and .bin
> file.
> Is there any tool to convert hex file generated by
> hex6x conversion utility, to binary file.
>
> For firmware upgradation, to send the new image to dsp
> and burn onto flash, which format is well suited one.
>
> Thanks in advance. >
> __________________________________ >
>
> _____________________________________
> Note: If you do a simple "reply" with your email client, only the author
> of this message will receive your answer. You need to do a "reply all" if
> you want your answer to be distributed to the entire group.
>
> _____________________________________
> About this discussion group:
>
> To Join: Send an email to
>
> To Post: Send an email to
>
> To Leave: Send an email to
>
> Archives: http://www.yahoogroups.com/group/c6x
>
> Other Groups: http://www.dsprelated.com
>
> Yahoo! Groups Links

--
Geschenkt: 3 Monate GMX ProMail + 3 Top-Spielfilme auf DVD
++ Jetzt kostenlos testen http://www.gmx.net/de/go/mail ++


Attachment (not stored)
HEX2BIN.EXE
Type: application/octet-stream



Thanks,
Surprised to see that, -b option is available with
hex6x. It was nowhere documented, i dont know why.
hex2bin utility is also good.

Regards
--- wrote:

> Hi,
>
> If the secret -b switch doesnt work in your
> version... try this:
>
> First create the .hex using the hex6x.exe
>
> second: use the attached hex2bin.exe for the
> conversion from hex to bin. In
> my project it seems to work fine. I think that you
> can find tools like that
> on the internet...
>
> call:
> hex2bin anything.hex anything.bin
>
> bye,
>
> thomas
>
> > neeli bhaskar reddy,
> >
> > The hex6x.exe utility [runs from a 'DOS' prompt]
> may do it. Newer
> > versions of hex6x [mine is 5.0] seem to have an
> undocumented '-b' option
> that
> > creates a binary image.
> >
> > If your version of CCS doesn't support it, it is
> fairly easy to convert
> > the 'hex' files to binary. The hex files are in
> readable ASCII with
> leading
> > addresses and trailing checksums. see help file
> for details.
> >
> > mikedunn
> >
> > neeli bhaskar reddy <>
> wrote:
> >
> >
> > Hi all,
> > can anybody guide me for a good utility (c6x) for
> coff
> > (.out) to binary file (.bin).
> > What exactly the difference between .hex file and
> .bin
> > file.
> > Is there any tool to convert hex file generated by
> > hex6x conversion utility, to binary file.
> >
> > For firmware upgradation, to send the new image to
> dsp
> > and burn onto flash, which format is well suited
> one.
> >
> > Thanks in advance.
> >
> >
> >
> > __________________________________
> >
> >
> >
> >
> >
> >
> >
> > _____________________________________
> > Note: If you do a simple "reply" with your email
> client, only the author
> > of this message will receive your answer. You need
> to do a "reply all" if
> > you want your answer to be distributed to the
> entire group.
> >
> > _____________________________________
> > About this discussion group:
> >
> > To Join: Send an email to
>
> >
> > To Post: Send an email to
> >
> > To Leave: Send an email to
>
> >
> > Archives: http://www.yahoogroups.com/group/c6x
> >
> > Other Groups: http://www.dsprelated.com
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
>
> --
> Geschenkt: 3 Monate GMX ProMail + 3 Top-Spielfilme
> auf DVD
> ++ Jetzt kostenlos testen
> http://www.gmx.net/de/go/mail ++

> ATTACHMENT part 2 application/octet-stream
name=HEX2BIN.EXE __________________________________