We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I connecting external eeprom to atmel 89C52 chip. How do I write c code so that I can write data memory to the chip while using the address lines and the rd wr on the chip.
Use an an address decoder to activate a chip select to the EEPROM and then wire up the ALE, RD, and WR lines as you would for SRAM. Reading is identical to SRAM. You never write to an EEPROM, you program it. Lookup the erase/program algs. for your part and write a driver. - Mark
Did you connect power?
I tried that and that didn't work. Any more bright ideas!
How about ground?
To which chip?
You only want to connect to chips that have pins. Be very careful when doing this- you can mess it up somethin fierce!!!!!!!
Does it matter what color the wire I use to connect these chips with? Like which color do I use for ground? Black is usually used by green is the color of ground so wouldn't use that. I also was told that you need two wires, one for voltage and one for current. Is this true?
YES!!!!!!! I have been told to seperate the voltage from the current before as well. Dr. Marks, my old prof was adament on this point. And he is very, very, very, very, very, very, very, very, something.
Wow!!!!!!!!!By seperating the voltage and current it suddenly worked. Thanks for the great ideas. Dr. Marks must of been a wise man.
empty