Skip to content
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

Close serial port , stop uploading after x seconds #60

Open
preshantram opened this issue Sep 9, 2021 · 0 comments
Open

Close serial port , stop uploading after x seconds #60

preshantram opened this issue Sep 9, 2021 · 0 comments

Comments

@preshantram
Copy link

preshantram commented Sep 9, 2021

Dear,

I am having the issue that sometimes I don't know if I have a new or old bootloader version of the Arduino nano.
When trying to upload a sketch with the wrong bootloader set, it sends 2 bytes and keeps being in that state.
Is there a proper way to stop the upload process if the wrong bootloader has been set, or the device is simply not responding?
In that case I could restart the uploader process with the right bootloader option being set.

When choosing the wrong bootloader version the function ; uploader.UploadSketch() seems to never break, and keeps the serial port alive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant