Skip to content

Close serial port , stop uploading after x seconds #60

@preshantram

Description

@preshantram

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions