Report
1 year, 2 months ago.

Difference between binary and hex files

Hi,

I am new to this mbed.

When i read the posts here i came to know that mbed online compiler gives the binary file whereas our custom LPC1768 ic to be programmed using hex file. So the binary files are to be converted into hex file using bin2hex.exe in order to program lpc ic directly.

I think hex files should also be stored as binary in memory.

So what is the difference between binary and hex files?

Is it possible to program the custom lpc1768 IC using bin file?

Thanks, Murugesh

Comment on this question

2 Answers

1 month, 4 weeks ago.

I also have this a question(what is the difference between binary and hex files?)

A binary file contains the ones and zeros which are going to be programmed. A hex file writes down all the data in ASCII as hexadecimal numbers.

posted by Erik Olieman 26 May 2014

thanks :-) ♥

posted by amir hossein jahanshahloo 26 May 2014

To post an answer, please login