Need help regarding 24C04 EEPROM

Thread Starter

parag

Joined Oct 10, 2006
2
Hi,

I am doing project on 89C52 microcontroller that is wireless transmission of data.
I have to store the data in external 24C04 EEPROM.
Can u plz send the assembly language program for storing and retrieving data from EEPROM
 

Papabravo

Joined Feb 24, 2006
21,225
Are you aware of the approximately 10 millisecond WRITE time for each byte that you want to store in the 24C04? Do you have enough RAM to buffer the data?

If somebody wants to send you some code they should go ahead, but you really should try to do it yourself. Any code that you get will need to be adapted to your hardware and debugged. It is not that difficult to write your own. You look at the timing diagram in the 24C04 data sheet and you duplicate the picture with instructions that set port pins to a one or a zero. You can slow things down to exactly the speed of the processor, what is important is the relative relationship of the edges.
 
Top