I am using an ATMEL ATmega32 micro-controller, I notice the hex file I program my IC with is 81 Kbytes, much more than 32 Kbytes memory space provided by ATmega32, and it works properly! Am I mistaken here about the memory space or what? can anyone explain it to me please? thanks
Hi,
This is so because of the structure of Intel Hex file. When fully packed, every sixteen data bytes will have an extra 11bytes and each data byte itself is stored as two hex bytes. So a fully packed 32 k bytes of data will require a file size of 86k plus.