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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/30/06 17:05
Read: times


 
#119459 - Solution
Responding to: ???'s previous message
I'm sorry but i don't think you got my question right, it's in the main thread. I'm supposed to be storing data into the 24c04 continuously, so when the first page address comes to 0ffh, the microcontroller should automatically shift to the 2nd page. the below part of the code should help you understand what i mean.


mov a,ADDRS
cjne a,#0ffh,full_write_loop2

jnb ROLLOVER,overload
mov WTCMD,#10100010B
mov ADDRS,#00h
clr ROLLOVER          ;indicates memory write into 2nd half



when in the first page(determind by rollover=1) and ADDRS reaches 0ffh, it should change the page.

List of 22 messages in thread
TopicAuthorDate
eeprom word addressing            01/01/70 00:00      
   do not confuse bits and bytes            01/01/70 00:00      
      maximum seerial memory chip available?            01/01/70 00:00      
         yes, you do            01/01/70 00:00      
   code not working            01/01/70 00:00      
      How to post code            01/01/70 00:00      
      formatted code.            01/01/70 00:00      
         I searched for a comment stating "write            01/01/70 00:00      
         "write device address"-i2c subroutine            01/01/70 00:00      
            you reply with an uncommented sub            01/01/70 00:00      
            formatted code with comments.            01/01/70 00:00      
               ORL a,HighAddressBit;            01/01/70 00:00      
                  Solution            01/01/70 00:00      
                     You 'can' make the chips you use work fo            01/01/70 00:00      
                        Question still remains unanswred            01/01/70 00:00      
                           i told you how            01/01/70 00:00      
                           One more time            01/01/70 00:00      
                              code written for that but not working            01/01/70 00:00      
                                 rather than trying to figure your code o            01/01/70 00:00      
   Corrections please, urgent.            01/01/70 00:00      
   It is in the data sheet            01/01/70 00:00      
   datasheet            01/01/70 00:00      

Back to Subject List