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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/01/08 12:47
Read: times


 
#154259 - Are you calling IAP correctly.
Responding to: ???'s previous message
I have never done IAP programming. I have not read the '669 data sheet.

With the P89C51Rx2, you set up R1,R2,DPTR to erase a flash sector.
Then you set up R1,R2,DPTR to write each program byte with ACC.

Most importantly you check the return value in ACC for success.

Your symptoms look like you are not erasing the block first.

You will have to read the '669 data sheet carefully and follow the recommended procedure.

David.

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