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.

[PIC] Extending storage capacity in EEPROM

Status
Not open for further replies.

gne_577

Junior Member level 3
Joined
Jun 23, 2013
Messages
28
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,514
Hello Everyone..!

I am making a project. In which I required around 1,73,250 Bytes of data. I am using two AT24C512 EEPROM in Parallel connection. In this process Im using Single byte write operation not page write operation. According to the datasheet it organized as 65536 words of 8 Bits each.

Is this means that, 1 EEPROM can save upto 65536 bytes.??

Now I'm using two in parallel mode. So Is that means 65536 x 2 = 131072 Bytes..?

If i am going in right direction. So is that any way in which i can store 1,73,250 Bytes of data in it..?

If any possible way is available please let me know. I'm using X8 Compiler in C-Language.
 

...In which I required around 1,73,250 Bytes of data...
Not a numeric format that I understand. You meen 173,250 or 1,730,250?

...AT24C512 EEPROM...Is this means that, 1 EEPROM can save upto 65536 bytes.??
Yes you have 512Kbits (kilo bits) on each, so 512/8 Kbytes, so 64kb (Kilo Bytes). There are also 1Mbit serial eeprom devices (with 128kbytes eatch).


Now I'm using two in parallel mode. So Is that means 65536 x 2 = 131072 Bytes..?
correct


If i am going in right direction. So is that any way in which i can store 1,73,250 Bytes of data in it..?
if you want to store less that 64kb yes. If you need more and there is a possibility of compressing efficiently, then you could.
 
Is this means that, 1 EEPROM can save upto 65536 bytes.??
Correct!
Now I'm using two in parallel mode. So Is that means 65536 x 2 = 131072 Bytes..?
Correct!
If i am going in right direction. So is that any way in which i can store 1,73,250 Bytes of data in it..?
If you mean 173,250, the answer is no, you need a third AT24C512 because you have run out of space. You could consider moving up to one or two larger sized EEPROMs instead.

Connect them in parallel EXCEPT for the address pins which you hard wire differently on each IC. The bit pattern on the address pins becomes part of the serial address you use to access the memory contents so it becomes easy to talk to one IC or the other.

Brian.
 
I believe, you can find out how many 512kBit EEPROMs are needed to store 1.7 MByte of data, either using a pocket calculator or pencil and paper. Unfortunately, you can't address more than 4 devices on an I2C bus.

There's no simple solution using serial EEPROMs. My suggestion would be a 16 MBit serial SPI flash, if you live with page wise erasure.

If the capacity is only 0.17 MByte, using 3 EEPROMS shouldn't be a problem.
 
Thank you so much.. :)
your suggestions are really helpful.
I'll use 3 eeproms...
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top