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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/03/08 12:41
Read: times


 
#159565 - not 12 individual writes
Responding to: ???'s previous message
Dear David,

David Prentice said:
I find your problem most confusing. Your devices are obviously in working order. I can only think that there must be a conditional difference in the code for a 668 or 669.

The 24C04 and 24C16 both have 16 byte page buffers. So starting at 0x30 you should be able to consecutively write "Mahesh Joshi" without running across a page boundary.

I presume that you have tried 12 individual writes for each character.

Either post the code here, or email me the code.

David.


I am writing all chars at one go (Writing only "Mahesh"), buffer sent to UART looks like 0MAHESH(remember '0' means 0x30).

The same logic works with 669.

Only difference between the 2 codes is
1> SFR initialisation
2> Interrupt vector number.

(Body of ISR & Higher routines are all same)


Regards,
Mahesh




List of 25 messages in thread
TopicAuthorDate
PROBLEM IN I2C WITH P89C668            01/01/70 00:00      
   Oscilloscope            01/01/70 00:00      
   Check your hardware I2C addressing            01/01/70 00:00      
   Re to David & Per            01/01/70 00:00      
      Reducing the bit-rate is irrelevant            01/01/70 00:00      
         you can, with VERY minor modifications ...            01/01/70 00:00      
   observations till 2 pm IST            01/01/70 00:00      
      check your hardware again            01/01/70 00:00      
         Re: david            01/01/70 00:00      
            A complete mystery            01/01/70 00:00      
   NEW DEVELOPEMENT            01/01/70 00:00      
      A good test setup            01/01/70 00:00      
         Re: A good test setup            01/01/70 00:00      
      Write your name to the DS1307 RAM            01/01/70 00:00      
         DS1307 max RAM is.....            01/01/70 00:00      
            My data sheet says RAM 0x08 to 0x3F            01/01/70 00:00      
               Sorry David            01/01/70 00:00      
                  Please post your code.            01/01/70 00:00      
                     not 12 individual writes            01/01/70 00:00      
                        Without the code this will go on forever            01/01/70 00:00      
            i2c code            01/01/70 00:00      
               Code?            01/01/70 00:00      
               WHY ON EARTH ...            01/01/70 00:00      
                  Mahesh has a problem with HIS code            01/01/70 00:00      
               I have added code-tags to Praveen's i2c code            01/01/70 00:00      

Back to Subject List