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)??
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.
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.
Isn't it enough to disable the linker/debugger? Childish !
Not very useful if you want to evaluate the debugger tho.
Choosing the right limitations for an evaluation version can be a very awkward task.
View all questions in Keil forum