| ??? 02/12/03 11:02 Read: times |
#38858 - RE: goto 0x0000 != Reset (any toolset) Responding to: ???'s previous message |
No need to waste extra hardware for a full reset.
Most times it was sufficient to do EA = 0; and then call 0x0000. But if you want, you can look on the data sheet of your 8051 derivate and look, which reset values assigned to every sfr. Then you can set it manually. A special case was, if you want to reset inside an interrupt handler. In this case search on the forum or the FAQ and you will find the explanations and solutions. If your 8051 derivate provide an internal watchdog, feel free to initialize it for the shortest time out, disable interrupts global and enter an endless loop. But watch, on some derivates the watchdog can never be disabled again, except from an external or power on reset. Peter |
| Topic | Author | Date |
| goto 0x0000 or Reset (keil) | 01/01/70 00:00 | |
| RE: goto 0x0000 or Reset (keil) | 01/01/70 00:00 | |
| RE: goto 0x0000 or Reset (keil) | 01/01/70 00:00 | |
| RE: goto 0x0000 or Reset (keil) | 01/01/70 00:00 | |
| goto 0x0000 != Reset (any toolset) | 01/01/70 00:00 | |
RE: goto 0x0000 != Reset (any toolset) | 01/01/70 00:00 | |
| RE: goto 0x0000 or Reset (keil) | 01/01/70 00:00 |



