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
  • Per is completely right. Please see our limitations for evaluation tools:
    http://www.keil.com/demo/limits.asp
    You can read there for the C51:
    "Programs start at offset 0x0800. Programs generated with the evaluation software may not be programmed into single-chip devices with less than 2 Kbytes of on-chip ROM."
    If you convert the resulting hex file to a binary file, the file will be 2K larger than expected, because the first 2K will be filled with a padding value you specify for the Hex to Bin converter.

Reply
  • Per is completely right. Please see our limitations for evaluation tools:
    http://www.keil.com/demo/limits.asp
    You can read there for the C51:
    "Programs start at offset 0x0800. Programs generated with the evaluation software may not be programmed into single-chip devices with less than 2 Kbytes of on-chip ROM."
    If you convert the resulting hex file to a binary file, the file will be 2K larger than expected, because the first 2K will be filled with a padding value you specify for the Hex to Bin converter.

Children