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

Bin size is larger than Hex File

Dear All,
I am new to Microcontrollers, I created a Hex file(751 bytes), but when i start burning- my microcontroller software tool shows 2297 bytes. How this is possible??
Whats wrong here....

I am trying to burn 2kb memory Microcontroller, burning ends with error...

How to lower Programming bytes(bin file extracted from hex file)??

Parents
  • Not sure but some evaluation versions of the Keil tools have added additional space in the output file to make it unviable to use the evaluation version for commercial use with small-memory chips.

    Another thing is that the hex file contains address information. So it can contain holes - when converted to a single binary, that binary can grow with the filler bytes to span these holes - a bin file can't have holes since it does not contain address information and is programmed by giving the programmer the start address where the binary blob should be located.

Reply
  • Not sure but some evaluation versions of the Keil tools have added additional space in the output file to make it unviable to use the evaluation version for commercial use with small-memory chips.

    Another thing is that the hex file contains address information. So it can contain holes - when converted to a single binary, that binary can grow with the filler bytes to span these holes - a bin file can't have holes since it does not contain address information and is programmed by giving the programmer the start address where the binary blob should be located.

Children