my project requires to reset the Arduino DUE in three ways...
a) Reset using a reset button -> this is no problem.
b) Reset using the serial Interface.
I am using a programm, which I have written in Visual Basic, to communicate with the Arduino DUE.
I know it should be possible to somehow use the serial interface, to reset the DUE, the Arduino IDE does the same when uploading the sketch.
So I have to implement a reset function on the Visual Basic side using the serial interface.
A ToDo on how to do this would be highly appriciated.
c) Reset trough the arduino sketch itself.
When the program reaches a certain condition, a reset shall be made.
I know this is a bit tricky.
As far as I know there is no easy to use reset command, to actually trigger the reset in the software.
What I aim to do, is to just use a external piece of hardware to do the reset -> could be done like that -> when the program reaches the certain reset condition a pin goes to high -> the pin triggers a hardware block, that pulls the reset pin for the required period of time to low.
If someone has done something like this, a ToDo would be also highly appreciated.