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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/10/08 05:19
Read: times


 
#155656 - I bet too..
Responding to: ???'s previous message
So far I worked in traditional 64k mode and everything worked as expected.

I can Restart here, I also can jump to bootloader..

Yes, I already use a pin to reset a graphics LCD panel.

Why would a normal reset (i e) power up start the system just fine, but the Reset caused by the Watchdog not?

// Reset code
EA=0;
PSW=0;
SP=4;
TR2=0;
TR1=0;
TR0=0;
CKCON &= 0x3f; // set Watchdogtimeout to 8msec @ 15MHz
TA=0xAA;
TA=0x55;
EWT=1; // Enable Watchdog
while(1); // let Watchdog enforce Reset
// ((void (code *) (void)) 0x0000) (); this works in 64k mode

nothing works in contiguous mode. I will use my scope.. maybe I find out what is on the address / data bus

Werner

List of 11 messages in thread
TopicAuthorDate
Soft-Reset and Watchdog DS80C390 problem            01/01/70 00:00      
   I'll bet you dollars to doughnuts            01/01/70 00:00      
      I bet too..            01/01/70 00:00      
         who set the SFRs to the default state?            01/01/70 00:00      
            SFR to default state            01/01/70 00:00      
               it does            01/01/70 00:00      
                  the reason I am puzzled            01/01/70 00:00      
                     if 'then' means ....            01/01/70 00:00      
   Blinded            01/01/70 00:00      
   Watchdog issue solved            01/01/70 00:00      
   Soft-Reset solved as well            01/01/70 00:00      

Back to Subject List