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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/21/09 17:21
Read: times


 
#166311 - apply proper reset
Responding to: ???'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            01/01/70 00:00      
   apply proper reset            01/01/70 00:00      
      apply proper reset            01/01/70 00:00      
         then that's R0 not R1            01/01/70 00:00      
         MAX1232 + 4k7 pull-up            01/01/70 00:00      
            I beliebe this chip has a built-in watchdog and thus ...            01/01/70 00:00      
               I don't like those on-chip watchdogs and Vcc monitors            01/01/70 00:00      
                  Should be always on            01/01/70 00:00      
                  external vs internal            01/01/70 00:00      
                     ..            01/01/70 00:00      
                        Ground plane?            01/01/70 00:00      
                           no ground plane            01/01/70 00:00      
                              choose a "magic" frequency crystal ...            01/01/70 00:00      
                                 20MHz and 57600            01/01/70 00:00      

Back to Subject List