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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/17/04 03:42
Read: times


 
#83287 - Two DPTR registers
Responding to: ???'s previous message
Kuldeep said:
hi friend in one of my project 89c52 working fine but 89s52 do not,89s52 goes crazy and do wrong things,why so any help?


Hallo friend,

AT89S52 has two DPTR registers, AT89C52 only one. If you use DPTR register with AT89S52 you must define actual DPTR register in AUXR1 register first. And this everytime you address the DPTR, equally whether you switch between both DPTRs or not. So, a code which works for AT89C52 will very probably not work with AT89S52, if you use DPTR register!!

Kai

List of 30 messages in thread
TopicAuthorDate
whats that            01/01/70 00:00      
   compare the datasheets            01/01/70 00:00      
   What crazy?            01/01/70 00:00      
   Are they drop-in replacements?            01/01/70 00:00      
   Two DPTR registers            01/01/70 00:00      
      Two DPTR registers            01/01/70 00:00      
         compatiblity            01/01/70 00:00      
      two DPTRs            01/01/70 00:00      
         reset resistor            01/01/70 00:00      
            RC reset            01/01/70 00:00      
               Don't touch the oven...            01/01/70 00:00      
                  not just code loss            01/01/70 00:00      
                  I know its hot will fix it soon promise.            01/01/70 00:00      
         Datasheet tells it's necessary...            01/01/70 00:00      
            DPS setup            01/01/70 00:00      
               But what makes me wonder...            01/01/70 00:00      
                  rc reset            01/01/70 00:00      
                     Atmel App. notes might help you            01/01/70 00:00      
                        Brown-out kills            01/01/70 00:00      
                           perverse !            01/01/70 00:00      
                              Thanks            01/01/70 00:00      
                     elaborating on RC reset            01/01/70 00:00      
                        Absolutely right!            01/01/70 00:00      
   Rocking & Rolling AT89S52            01/01/70 00:00      
      please don't            01/01/70 00:00      
         Re: RC reset            01/01/70 00:00      
      Decoupling is stil missing!            01/01/70 00:00      
         Will Change it soon.            01/01/70 00:00      
            BOM            01/01/70 00:00      
               sure Ijaz            01/01/70 00:00      

Back to Subject List