-
Notifications
You must be signed in to change notification settings - Fork 151
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
"No device found" for unlisted atmega32u4 board #74
Comments
From the exclamation point on the "SparkFun Pro Micro" entry in Device Manager screenshot it looks like Windows is not recognizing the descriptors that this library adds and automatically loading the right driver. The device's other interface, the USB serial device, is properly recognized and has the right driver loaded. Can you look at the properties for the broken device and show us what error Windows reports? |
hi @reillyeon Now the issue is, SecurityError: Access Denied Showing by Zadig software, for Sparkfun Pro Micro board, 2 different device drivers; interface 0 ( usbser ) interface 2 ( no driver ) events for the broken device; Device USB\VID_1B4F&PID_9204&MI_02\7&28d8bbf4&0&0002 was configured. chrome errors;
|
Using the Zadig tool to force the WinUSB driver to load will work around the problem I described in my last comment. The Microsoft OS 2.0 descriptors that this library adds to the device should be telling Windows to load that driver by default. Recent builds of Chrome have a tool for debugging these issues but you will need to run it on a platform other than Windows, or use the Zadig tool first so that you can overcome the "access denied" error. This tool mimics the steps that Windows and Chrome perform when enumerating a new USB device but display the results in a way that can help to debug issues.
|
I tried zadig winusb install, but the issue still remains. I tested on Android OK, a successful communication between arduino and chrome. Do webusb support readline parser with newline delimiters ? |
Have you tried the debugging steps I suggested?
WebUSB provides the ability to read data from the device using USB transfers. Parsing that data is the responsibility of your application. |
As a sanity check can you make sure that the device or configuration descriptors can be read correctly. If they can then there is a bug in this library which needs to be investigated. |
If you think there is an error in your code please post it here. The normal "install driver" option is fine. Please confirm that when you've installed the driver you no longer get an "access denied" error. Please post a screenshot of the chrome://usb-internals tool where you have clicked the "Get Device Descriptor" button after installing the WinUSB driver. |
Firstly please excuse for I keep you busy. Winusb driver installed by Zadig. And this flow: When opened page; After clicked "Connect" button to force reconnect; Here usb internals for all the get are clicked: |
Need setting in chrome flags ? |
No Chrome flags are necessary. Since this device is working for you on Android please try these steps in chrome://usb-internals on your Android device to compare. |
Earlier I played with chrome flags. And then IT WORKS !! Github page on Windows Chrome and my Sparkfun Arduino board; Thank you very much. |
Hi,
I am trying to use webusb with another atmega32u4 board.
Can you help me ?
Sparkfun Pro Micro 3.3V 8MHz board.
Windows 10
Chrome 80.0.3987.149
The issue is "No device found" and no connection.
Installation steps;
Tried also only Vendor ID, { 'vendorId': 0x1B4F }, // Sparkfun
Device manager here;
The text was updated successfully, but these errors were encountered: