Go Down

Topic: Opcode for Reset Atmega2650 (Read 377 times) previous topic - next topic

ambuj

Hi All,
        i want make soft reset without watchdog.
i tried some ways but i did not get success.
1. use opcode
2. illegal instruction set

also i want to which is more easy and what is disadvantage. if any other way so tell me it.

Thanks in advance
 

Grumpy_Mike

Quote
i want make soft reset without watchdog.

While you can't actually force a true reset condition from software you can emulate it by executing code pointed at in the reset vector.
You probably need machine code to do this.

PaulS

Quote
if any other way so tell me it.

The best way is to fix the problem that is causing you to think you need to reset.

Go Up