Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/22/05 05:22
Read: times


 
#92114 - re:
Responding to: ???'s previous message
Sugiarso said:

what if i want to read and write a lot of data to serial
eeprom ??

Sugiarso,
if you use 24c512 then you have only 512/8=64 KB mem location
to reading or writing.
you can change the code easily to:

mov dptr,#0fffeh ;instead of mov adres,#0ffh
mov dyta,#19h
lcall eeprom_write

Therefore you must change [adres to dptr] in eeprom_write and eeprom_read routines.


if i want to read and write data that not in the first address what should i do?

it is easy,you should set read or write address in any accurate location only!
for example at first of your code you can write:

mov adres,#43h
mov dyta,#22h
lcall eeprom_write



where should i asked the data address (not the eeprom address)
thanks before


I can't understand your aim from this sentence
please describe it more
Mehdi











List of 17 messages in thread
TopicAuthorDate
interface serial eeprom 24c512 - 89s8252            01/01/70 00:00      
   here!            01/01/70 00:00      
      thanks            01/01/70 00:00      
      wanna ask more            01/01/70 00:00      
         Homework            01/01/70 00:00      
         Re:wanna ask more            01/01/70 00:00      
            thanks anyway            01/01/70 00:00      
               Re:thanks anyway            01/01/70 00:00      
                  thank you            01/01/70 00:00      
                  hello again            01/01/70 00:00      
                     re:            01/01/70 00:00      
                        RE:            01/01/70 00:00      
                           To Sugiarso:            01/01/70 00:00      
                              thanks            01/01/70 00:00      
                                 Again,Edited            01/01/70 00:00      
         public information            01/01/70 00:00      
   Check this page....            01/01/70 00:00      

Back to Subject List