Skip to content

enterDfuMode should catch UsbError #36

Open
@nrobinson2000

Description

@nrobinson2000

https://community.particle.io/t/connection-being-lost-when-flashing-via-usb/59315/3?u=nrobinson2000

In the linked thread I discuss the findings of my research into a bug a user on the forum encounters when attempting to flash firmware in Workbench on Mac.

Overall, I think the catch in enterDfuMode should return when a UsbError is caught, as this is indicative that a device has (likely) entered DFU mode, but an error has occurred in the process. Catching the UsbError would eliminate the annoying one-minute timeout the user experiences.

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