Pages: [1]   Go Down
Author Topic: Opcode for Reset Atmega2650  (Read 297 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 68
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
 
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 602
Posts: 33371
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Pages: [1]   Go Up
Jump to: