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

Device reset not working? (Windows and macOS) #17

Open
murkle opened this issue Aug 1, 2023 · 1 comment
Open

Device reset not working? (Windows and macOS) #17

murkle opened this issue Aug 1, 2023 · 1 comment

Comments

@murkle
Copy link

murkle commented Aug 1, 2023

Hi!

I'm trying to get this to work with the Coral USB Accelerator (on macOS)
https://github.com/google-coral/libedgetpu/releases/
https://github.com/google-coral/webcoral

https://devanlai.github.io/webdfu/dfu-util/ doesn't seem to work

Also the "Flash Firmware" step here
https://test.geogebra.org/~mike/coral/

in Google's own demo also doesn't work

In both cases it looks like it's worked but lsusb still shows
Bus 000 Device 001: ID 1a6e:089a Global Unichip Corp. Composite Device
Bus 000 Device 000: ID 1a6e:089a Global Unichip Corp. USB 3.1 Bus

Rather than the expected (which I do get after "make reset" from the terminal)
Bus 000 Device 000: ID 18d1:9302 Google Inc. Composite Device
Bus 000 Device 000: ID 18d1:9302 Google Inc. USB 3.1 Bus

Link to firmware file used:
https://test.geogebra.org/~mike/coral/firmware.bin
https://github.com/google-coral/libedgetpu/blob/efb73cc94dac29dc590a243109d4654c223e008c/driver/usb/apex_latest_single_ep.bin

@murkle
Copy link
Author

murkle commented Aug 1, 2023

OK, so some more information:

  1. It works after restarting my computer (macOS and Windows 11), then the device shows as 18d1:9302 correctly

  2. It gives an error on Windows 11 but still appears to have worked:

Copying data from browser to DFU device
Wrote 10783 bytes
Manifesting new firmware
Error during reset for manifestation: NetworkError: Failed to execute 'reset' on 'USBDevice': Unable to reset the device.

@murkle murkle changed the title Does webdfu work with Chrome 116? Device reset not working? (Windows and macOS) Aug 1, 2023
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