ATmega 32 memory space issue?!

Status
Not open for further replies.

mehipour

Junior Member level 2
Joined
Jul 1, 2008
Messages
20
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,398
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.

Regards,
Laktronics
 

waow i just new it!!! nice information.

when u said extra 11 bytes, is it bytes of adrress or some thing like that???
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…