??? 12/17/04 21:04 Read: times |
#83375 - DPS setup Responding to: ???'s previous message |
hi,
But that's just what datasheet of AT89S52 demands on page 8: "The user should ALWAYS initialize the DPS bit to the appropriate value before accessing the respective Data Point Register." Yes, I see. But: - "should" does not mean "must", "have" etc. "Should" is just a kind of suggestion (as I know English). - The mean of the sentense is: "set DPS for accessing the respective DPTR. Here: if you use both DPTRs then maintain DPS in right way. Think about that it seems logicaly: if I use only one DPTR over all the code, then why I must set DPS each time when access one and same DPTR? The original poster have used AT89C52 before he switched to AT89S52 so I think his program does use only one DPTR, doesn`t it? Regards, Oleg |