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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/09/06 23:42
Read: times


 
#109658 - 1 - 4 byte types supported
Responding to: ???'s previous message
Erik Malund said:
Do you know that?
There is a large advantage when reading >1 byte. The XBANKING method goes through the whole rigamarole for every byte. E.g. IIC serial memories can read a full page with one "setup" My typical EE routine is

not
byte_from_ee = read_ee( ee_address );
but
read_ee( ee_address, save_addr, length );

If your app re the EE is single byte always, then - maybe - the XBANKING trick can make a bit of sense.

Erik

Actually, I think the XBANKING method has the ability to grab 1 - 4 byte data types with a single call into the relevant routine inside XBANKING.A51. Of course, this does little to improve performance if you need to retrieve a large array.

--Sasha Jevtic

List of 25 messages in thread
TopicAuthorDate
storing serial data in memory            01/01/70 00:00      
   after 100.000 writes it dies            01/01/70 00:00      
   if internal memory is the problem            01/01/70 00:00      
      Battery backed NVRAM from Dallas            01/01/70 00:00      
         he seems not to need permanent storage            01/01/70 00:00      
            not permanent storage            01/01/70 00:00      
               if the problem is pin shortage            01/01/70 00:00      
                  PCR8750            01/01/70 00:00      
   Keil example-- writing to 8051 mem----            01/01/70 00:00      
      nope            01/01/70 00:00      
         Not quite...            01/01/70 00:00      
      memcpy()            01/01/70 00:00      
         yes, ANSI, but not really '51            01/01/70 00:00      
            Rubbish!            01/01/70 00:00      
               Rubbish? I said "on the edge"            01/01/70 00:00      
         Not quite...            01/01/70 00:00      
            Very clever            01/01/70 00:00      
               indeed, if you have the time            01/01/70 00:00      
                  Do you know that?            01/01/70 00:00      
                     there is a large advantage when reading            01/01/70 00:00      
                        1 - 4 byte types supported            01/01/70 00:00      
         example link            01/01/70 00:00      
      Demo only            01/01/70 00:00      
         Grrr            01/01/70 00:00      
   i think this got a bit off track            01/01/70 00:00      

Back to Subject List