-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Reset program button #5866
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Once you are on the serial monitor, you can reset the device by changing the baud rate (click on the dropdown and select the same baud rate you are using - you don't need to select another baud rate and move back to the previous one). After it the Arduino should have been reset. |
This isn't possible to implement completely portable right now. Most Arduinos are built so that opening the serial port will reset them, but some (Leonardo) need other prodding to reset. Additionally, third party boards might not support resetting at all. How and if a board is reset is not stored in boards.txt, so I don't think this is as trivial to implement as it sounds. To do it properly, boards.txt would have to get a new property "reset_method" or something? Not sure if this is something anyone wants to invest time in, though. |
@Ivan-Perez actually on boards with an USB2Serial bridge like UNO, Zero (Programming Port) if you press the reset button on the board you see again the code from the start, but in boards like MKR1000, Leonardo this is not possible because the USB is re-enumerated so you loose the USB connection since that serial port is busy |
Thank you for responding. |
I also support the idea. A dedicated button on Arduino IDE to send a reset pulse to the target board will definitely be a great idea since there's a lot of room in the buttons area to use besides Verify, Upload, New Open and Save. |
It would be nice to have a button at IDE to reset the program already inside arduino, without upload the code on computer.
The text was updated successfully, but these errors were encountered: