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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/09/08 13:26
Read: times


 
#155618 - Soft-Reset and Watchdog DS80C390 problem
Software Reset and Watchdog Reset let my system crash. So far I worked in traditional 64k mode and everything worked as expected. Now I use contiguous mode and experience the crashes.
Normal program execution just works fine.
I use a 256kByte Flash where a booloader stays in page 0
page 1 was used for programs so far in normal mode by switching page 0 -> 1 with help of port pins

Now contiguous mode programs are copied into page 2+3, which gives 128k max code size programs. Trying to jump back to page 0 (bootloader) or soft restarting the application with
((void (code *)(void)) 0x0000) ();
Hangs the system. Also using the Watchdog Timer to enforce a Hardware reset ends in a system not starting up anymore.
After power down up again, everything works fine again.

Any ideas?

Thank you. 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