How to write & read data to EPROM using PC (12Cxx, 24Cxx)

Electronics & Electrical Engineering Topics
Post Reply
User avatar
Rksk
Major
Major
Posts: 730
Joined: Thu Jan 07, 2010 4:19 pm
Location: Rathnapura, Sri Lanka

How to write & read data to EPROM using PC (12Cxx, 24Cxx)

Post by Rksk » Sun Dec 04, 2011 10:36 am

12Cxx, 24Cxx these EPROMs always used in colour TVs to save user & factory settings. But when we are going to replace one, we have to copy its factory settings to new one (If not we've to set all the factory settings one by one).

There is a way to copy one IC another IC. But it's not good always, because we have to store many EPROMS which contain data for each TV models. If there is a way to read & write data using PC, it will be very usefull.

I found a circuit diagram to connect those EPROMS directly to pc, but didn't found any software.
epp.JPG
epp.JPG (29.45 KiB) Viewed 6529 times
Also I heard that, we can use PIC programers for that.

Please help to do this in any way.
User avatar
Shane
Captain
Captain
Posts: 226
Joined: Sun Jul 19, 2009 9:59 pm
Location: Jönköping, Sweden

Re: How to write & read data to EPROM using PC (12Cxx, 24Cxx)

Post by Shane » Sun Dec 04, 2011 2:37 pm

I suggest you to use a microcontroller as a EEPROM programmer. First you need to find which type of EEPROM you have. If you have an I2C one, you need find a microcontroller with an I2C port. If it is SPI, you need to find a micro with a SPI port. I usually work with Atmel AT24C64, 64KB EEPROM with I2C (2-wire). That's what we normally do.

Also, since SD/MMC cards are getting cheaper, you can integrate a SD/MMC card directly to the micro where you would be able to store anything you want directly from PC using a card reader. Only thing is you will have to add a FAT32 file system to your program.
User avatar
Rksk
Major
Major
Posts: 730
Joined: Thu Jan 07, 2010 4:19 pm
Location: Rathnapura, Sri Lanka

Re: How to write & read data to EPROM using PC (12Cxx, 24Cxx)

Post by Rksk » Sun Dec 04, 2011 2:43 pm

Isn't there any easy way like above my attachment?

[ Post made via Mobile Device ] Image
User avatar
Shane
Captain
Captain
Posts: 226
Joined: Sun Jul 19, 2009 9:59 pm
Location: Jönköping, Sweden

Re: How to write & read data to EPROM using PC (12Cxx, 24Cxx)

Post by Shane » Sun Dec 04, 2011 2:48 pm

I guess no. There is protocol to program/read from EEPROM, so even you make it over a PC, you will have to either code it up or use a software to do that. A sample code on a PIC18F452 is attached here.
eeprom.zip
(2.81 KiB) Downloaded 706 times
Post Reply

Return to “Electronics & Electrical Engineering”