- How to run samples/subsys/usb/console on windows with nrf52840_pac10056?
Re: How to run samples/subsys/usb/console on windows with nrf52840_pac10056?
toggle quoted messageShow quoted text
From: Aaron Xu <overheat1984@...>
Sent: 28 March 2019 12:30
To: Andrei Emeltchenko <andrei.emeltchenko.news@...>
Cc: Lars Knudsen <larsgk@...>; Cufi, Carles <Carles.Cufi@...>; zephyr-devel <zephyr-devel@...>; Szymczyk, Marcin <Marcin.Szymczyk@...>; devel@...
Subject: Re: [Zephyr-devel] How to run samples/subsys/usb/console on windows with nrf52840_pac10056?
After updating my zephyr code to latest, I found some patch already done both on USB driver and sample. Good job!
And the result of console sample on my win10 PC is changed, there is one more Zephyr port, looks the USB device already be recognized, but still not works.
Any patch pending not merged?
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
You can also create issue for the sample.
> (it depends on this lib that has some of the webusb support
> -> https://os.mbed.com/users/larsgk/code/USBDevice_WebUSB/file/1d8a6665d607/WebUSBDevice/
> 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
> <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: https://github.com/zephyrproject-rtos/zephyr/pull/14106
> From: devel@...
> <devel@...> On Behalf Of Aaron Xu via
> Sent: 16 March 2019 02:10
> To: zephyr-devel <zephyr-devel@...>
> Cc: 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@...
> 7. http://lists.zephyrproject.org/
> 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
> 15. https://lists.zephyrproject.org/g/devel/post
> 17. mailto:devel+owner@...
> 18. https://lists.zephyrproject.org/g/devel/unsub
Join firstname.lastname@example.org to automatically receive all group messages.