bobcat1 said:Hi
In order to know that you should convert the HEX file to binary form using hex2bin converting software.
search google to find a utility who can convert hex file to binary file
The file binary size is the size that occupy your flash in the micro controller
All the best
Bobi
:020000040000fa
:080000000002040000000000f2
:020000040000fa
:100400000f802000807f2400000188000000000091
:10041000050007000c000700800202000000000039
:100420000040da000000fe004440a900c0032000a4
:100430000000e0000300320000002000a00188005e
:100440004440a80000000600803e2000010020007b
:100450001600370062004000e080480091018800eb
:100460009001ba0062004000e080480091018800dd
:100470009002ba0062004000e08048000002eb00f9
:100480006028e10005003a008301e900070033001d
Freddie Chopin said:this memories can hold up to bilions CAPITAL LETTERS, which mean they are perfect for SCREAMERS and people who have their SHIFT and CAPS LOCK broken in the keyboard...
so STOP SHOUTING!
if you'd just look at the file, you'd see the answer for your question...
Code::020000040000fa :080000000002040000000000f2 :020000040000fa :100400000f802000807f2400000188000000000091 :10041000050007000c000700800202000000000039 :100420000040da000000fe004440a900c0032000a4 :100430000000e0000300320000002000a00188005e :100440004440a80000000600803e2000010020007b :100450001600370062004000e080480091018800eb :100460009001ba0062004000e080480091018800dd :100470009002ba0062004000e08048000002eb00f9 :100480006028e10005003a008301e900070033001d
1. this file contains semicolons, which are not part of the code
2. this file contains addresses (beginning of eqch line), which are not part of the code
3. this file consists of chars. each char ocupies 1byte, but you need 2 chars to show you the hexadecimal value, which occupies 1byte in ROM, that's why this file is that big
4. STOP SHOUTING
0x41 0x56 0x45!!
potyo said:You can read it in MCU's datasheet...
your question was answered like 5 times already, but you are still waiting for the answer...H_D_R said:and i know that also "AT89S52 has 8K Flash memory".
but my question is regarding real storage capacity.
please read my question carefully again...
Freddie Chopin said:your question was answered like 5 times already, but you are still waiting for the answer...H_D_R said:and i know that also "AT89S52 has 8K Flash memory".
but my question is regarding real storage capacity.
please read my question carefully again...
the value in datasheet IS real capacity. If you don't believe us, that hex is almost 3x bigger than the code it contains - it's a pity, we'll have to live with that... you even had the answer WHY it is 3x bigger...
0x41 0x56 0x45!!
CMOS said:This will answer your question
https://en.wikipedia.org/wiki/.hex
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?