Re: How to run samples/subsys/usb/console on windows with nrf52840_pac10056?


Hi Lars,

On Sat, Mar 16, 2019 at 12:57:52PM +0100, Lars Knudsen wrote:
Hi Carles,
If the right descriptors are added, it should be possible to get working
without the *.inf file.  Windows is a mess - but it *is* possible.
There seem to be something wrong in the descriptors (at least in the
WebUSB sample) preventing windows from picking up the device sans drivers
- but I know it is possible because I made it in this project (mbed
based... trying to find time to port it over ;)) ->
Do they use MS OS Descriptors to pick right driver? We have this
capability in Zephyr, it is used in RNDIS to pick RNDIS compatible
device driver.

You can also create issue for the sample.

Best regards
Andrei Emeltchenko

(it depends on this lib that has some of the webusb support
-> [2]
Also... remember that windows remembers devices and their drivers.. and
during development/test of the solution, the easiest might be to have a
clean windows VM that can be deleted on every try ... that or bump the PID
;) ... windows is ..interesting
On Sat, Mar 16, 2019 at 12:42 PM Cufi, Carles
<[3]carles.cufi@...> wrote:

Hi Aaron,


This is because Windows needs an .inf file with matching VID/PID.

Marcin from Nordic is currently working on addressing that.


See: [4]




From: [5]devel@...
<[6]devel@...> On Behalf Of Aaron Xu via
Sent: 16 March 2019 02:10
To: zephyr-devel <[8]zephyr-devel@...>
Cc: [9]devel@...
Subject: [Zephyr-devel] How to run samples/subsys/usb/console on windows
with nrf52840_pac10056?



I want to evaluate the samples/subsys/usb/console sample. It looks quite
easy from the README file. But my PC(win10) cannot recognize the USB
console(I suppose CDC device) correctly.


PS: I connect the J3 port on pca10056 to my PC and switch the SW9 to




Do I miss something?



Visible links
3. mailto:carles.cufi@...
5. mailto:devel@...
6. mailto:devel@...
8. mailto:zephyr-devel@...
9. mailto:devel@...
12. mailto:larsgk@...?subject=Private:%20Re:%20Re%3A%20%5BZephyr-devel%5D%20How%20to%20run%20samples%2Fsubsys%2Fusb%2Fconsole%20on%20windows%20with%20nrf52840_pac10056%3F
13. mailto:devel@...?subject=Re:%20Re%3A%20%5BZephyr-devel%5D%20How%20to%20run%20samples%2Fsubsys%2Fusb%2Fconsole%20on%20windows%20with%20nrf52840_pac10056%3F
17. mailto:devel+owner@...

Join { to automatically receive all group messages.