Option/button to cancel avrdude when successful sync does not happen #1292
Labels
conclusion: duplicate
Has already been submitted
topic: code
Related to content of the project itself
type: enhancement
Proposed improvement
Describe the request
For numerous reasons it can happen that avrdude is unable to sync with the MCU, thus being unable to upload the sketch.
I would love to have an option to kill avrdude from within the IDE whenever this happens.
Describe the current behavior
When this happens one of two cases occurs:
In the latter one the avrdude process stalls any upload retry you want to do.
For example you are uploading a sketch and you noticed you wired up the MCU incorrectly. You correct that mistake in a few seconds, but can't start another upload until the 10 retries all failed. This can currently only be circumvented by killing the avrdude process manually.
Also avrdude still runs in this state when the device has been unplugged (and therefore it would definitely be safe to kill it).
I would love one or both of these proposed solutions to be implemented:
Now, I understand why this might not have been implemented, and that reason may be that if the actual upload is going (well) and you cancel it, you might brick your device.
I propose three barriers for this:
Arduino IDE version
2.0rc-9.1 and nightly
Operating system
Linux
Operating system version
XUbuntu 22.04 LTS
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: