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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Aleksandar Stancic
06/21/09 12:21
Read: 201 times
Serbia


 
#166311 - apply proper reset
Responding to: Jan Waclawek's previous message
I finally got it! After two days..

MOV R1,0
should be
MOV R1,#0!

I've copied those lines from a program
I am using for 10 months, and this is
the first time I've seen the error...

The reason it worked from FLIP is that BOOT ROM
has left R1 at a fixed state (ie. a value from
0 to FF, but always the same).

I haven't read anywhere, but I bet that the
memory 0-7F is undefined after power-up, right?

The time it took me to remove the programming cable
was enough for CPU to 'forget' the memory contents
below SFRs.

-------------------
The RES pin is still floating, and it works.

Does anyone have experience with ED2 regarding
brown-outs, etc? Should I implement a reset IC
or is internal circuit sufficient?

The ED2 should work up to 60MHz. I've programmed it
with FLIP (all 64k, several times) at 48MHz.

Does PSEN have internall pull-up?


List of 14 messages in thread
TopicAuthorDate
AT89C51ED2 changing speed on its own      Aleksandar Stancic      06/21/09 03:21      
   apply proper reset      Jan Waclawek      06/21/09 05:37      
      apply proper reset      Aleksandar Stancic      06/21/09 12:21      
         then that's R0 not R1      Jan Waclawek      06/21/09 14:57      
         MAX1232 + 4k7 pull-up      Kai Klaas      06/22/09 07:26      
            I beliebe this chip has a built-in watchdog and thus ...      Erik Malund      06/22/09 09:43      
               I don't like those on-chip watchdogs and Vcc monitors      Kai Klaas      06/22/09 10:35      
                  Should be always on      Per Westermark      06/22/09 10:47      
                  external vs internal      Erik Malund      06/22/09 13:18      
                     ..      Aleksandar Stancic      06/22/09 13:45      
                        Ground plane?      Kai Klaas      06/22/09 14:01      
                           no ground plane      Aleksandar Stancic      06/22/09 14:10      
                              choose a "magic" frequency crystal ...      Jan Waclawek      06/22/09 15:00      
                                 20MHz and 57600      Aleksandar Stancic      06/22/09 17:33      

Back to Subject List