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

Back to Subject List

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


 
#154281 - call to IAP is correct
Responding to: ???'s previous message
Thanks David for concern,

I have taken all the precautions that are mensioned in datasheet of 669. necessary registers like AUXR1, A, R1 & EPTR are initialised correctly as per datasheet.

For IAP 669 uses EPTR(23 bit) instead of DPTR. Also R2 according datasheet is not needed.

If you read my 3 points carefully, you will find that if I try to write 2 bytes where only lower addres differs but higher & middle address are same (remember it is 23 bit address); then the write is incorrect for the second location.

also if I write only 2nd byte(ofcourse after erasing the whole 8k), it gets programed correctly.

List of 16 messages in thread
TopicAuthorDate
HELP needed for IAP             01/01/70 00:00      
   Duplicate            01/01/70 00:00      
      both are posted by me            01/01/70 00:00      
         Yes - that's what makes them duplicates!            01/01/70 00:00      
      Wrong            01/01/70 00:00      
   what actually needed is help            01/01/70 00:00      
      OK but how can we help you?            01/01/70 00:00      
   P89C669 is Obsolete Part!            01/01/70 00:00      
      Are you calling IAP correctly.            01/01/70 00:00      
         call to IAP is correct            01/01/70 00:00      
            Are the FLASH pages....            01/01/70 00:00      
   PROBLEM SOLVED            01/01/70 00:00      
      256?            01/01/70 00:00      
         I found the IAP library            01/01/70 00:00      
            That's OK, just...            01/01/70 00:00      
            NO David            01/01/70 00:00      

Back to Subject List