Prafull-
> I am writing the Web Server on TI DM642 platform. The
one web page in
> this
> server ll take the .bin file of the application and ll burn it into the
> Flash.
> The .bin file is formed from .out file of application using "Out2Bin"
> utility from our board vendor.
> Pls let me know if there is any format of binary file formed from
> ascii-hex file? and DO i need to parse this .bin file for address,
> checksum and data(to be burnt on Flash) in the .cgi function of webpage?
It seems your question was already answered by other experts.
A good question for you is why doesn't your vendor use hex6x utility to
create binary file from .out file, and then provide a utility to read that
output directly and download to Flash on their board? I would suggest to
ask your vendor to provide that. It would be a) more reliable and
future-proof since it extends TI programs one more step in the chain, b)
allow you to get better online tech support.
-Jeff
>>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.
>>> >