View Full Version : 24LC1025 Eeprom
· Can some one tell me how to read the complete end of the two wire bus 24LC1025·EEProm.
··The first half works fine. I thought Mike put something out on this but I have been unable to locate
· This on the Form with basic stamp. I am using a BS2SX.
·· would appreciate any info.
·· Thanks JHHR.....
01-25-2010, 01:13 AM
The 24LC1025 appears as two separate I2C addresses. The 1st half is accessed with a select byte of $A0 (write) or $A1 (read) if the chip select bits are zero. The 2nd half is accessed with select bytes of $A8 and $A9. Read the datasheet for the device to see how the bank select bit and the chip select bits go in the select byte.
·Thanks Mike for the Info.
·········I will look at the Data Sheet.
01-25-2010, 03:51 AM
Note that, if you use any of the I2C drivers that I wrote (Basic_I2C_Driver or the one in FemtoBasic), you can address the 1st half of the EEPROM at $00000 through $0FFFF and the 2nd half at $40000 through $4FFFF. This addressing gimmick is used on the Microchip 24LC1025 EEPROM. If you use the Atmel 24C1024B, the two banks of 64K bytes are adjacent in the address space ($00000 through $1FFFF).
·Mike thanks again for the Information.
·I am using the Microchip EEprom.
·Thanks for the quick response. I think you are one of the smartest guy's on the
01-25-2010, 04:33 AM
Thanks, but I don't think I'm anywhere near the smartest guy on the forum. I try to read things carefully. I do quick research on the web to answer questions. I learned basic electronics years ago through amateur radio and have a lot of experience building kits and some "from scratch" things. I worked in the computer business as a systems programmer for many years and wrote compilers, run-time libraries, operating systems, text editors, and stuff like that. Since it was a small company, I had to help design and debug hardware as well. All that doesn't make me smarter so much as more experienced than most. You too can browse the web to answer many of your own questions. I'm continually amazed at what's available with a simple web search. It's part of how I continue to learn and re-learn.