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

enterDfuMode should catch UsbError #36

Open
nrobinson2000 opened this issue Feb 8, 2021 · 1 comment
Open

enterDfuMode should catch UsbError #36

nrobinson2000 opened this issue Feb 8, 2021 · 1 comment

Comments

@nrobinson2000
Copy link

nrobinson2000 commented Feb 8, 2021

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.

@nrobinson2000
Copy link
Author

@busticated Have you encountered this before?

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