Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] What is size of 24C02 24C04 24C08

Status
Not open for further replies.

polona1010

Member level 1
Joined
Apr 17, 2013
Messages
40
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,524
Hello

What is total size of 24c02 24c04 24c08 Ic?

Somewhere I find its 2KB, 4KB and 8KB organized in 8 pages. Is this true? Because on sveral internet locations I find that is lots smaller.

How to access to each page in eeprom to edit data in some software like PonyProg,...

How to access for reading and writing on each page over I2C ? Mikro C please
 

Yes. It is 2 KB, 4 KB, and 8 KB.
 

Attachments

  • eeprom sz.png
    eeprom sz.png
    20.2 KB · Views: 152
Last edited:
How I can see other all other pages in ponyprog?

How to use these pages in mikroc?
 

You don't have to worry about pages. You just have to write data to external eeprom using the address to where data has to be written. If you use 24LC02 then it has 256 KB X 8 Pages. Address starts from 0x0000. So 1st page is from 0x0000 to 0x00FF. If you write data to address 0x0100 then it will be in the first address of Page 2. You have to use I2C library in mikroC to write or read external eeprom.
 

If you use 24LC02 then it has 256 KB X 8 Pages. Address starts from 0x0000. So 1st page is from 0x0000 to 0x00FF. If you write data to address 0x0100 then it will be in the first address of Page 2.

Some confusion is taking place.

2402 has 2kbit of storage respectively 256 Bytes. 0xff is the highest address. A "page" of 2402/4/8 has 16 Bytes. The page structure only matters, if you want to write multiple bytes at once.
 
Thank you Fvm, this clears my thoughts. I have impression that 24C08 have 8KB, 24C02 2KB, but after your post I read again datasheet and I get it. Its in \"kilo bits\" not in \"kilo bytes\".

24C02 have 2048bits / 8bit per byte = total 256 bytes
24C04 have 4096bits / 8bit per byte = total 512 bytes
24C08 have 8192bits / 8bit per byte = total 1024 bytes (1KB - 1 kilo byte)
 

For sure datasheet say Kbits not Kbytes. If you need more spaces for bytes use several EEPROMs on I2C, and you need to set for each chip different address.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top