This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52840 USB CDC ACM Windows 10 Unknown USB Device

Hi,

I compiled (using ARM GNU) and run the USB CDC ACM example found on SDK_14_0_0. I have windows 10.

Windows 10 do not reckognize it as a CDC device and instead I am getting an 'Unkown USB Device (Device Descriptor Request Failed' on the system device manager.

It seems as the VID and PID are wrong (at least to Windows 10). Windows run the device on driver 'usbpcap.sys'.

I tried changing the driver but couldn't make it. I also tried to manually load the .inf file provided with the example but Windows protest that it is not compatible with the device and prompts me to check if it is designed to work with Windows x64 based systems.

The firmware starts up fine because I can see the NRF log info up to the detection of the plug-in event and USB ready event.

I also tried loading the original .hex file provided with the example but got similar behaviour.

Any help greatly appreciated.

Parents
  • Hi, I am having the same issue but I have a bit more information. I have both a Windows and a macOS machine. Using the same board the USB examples do not work on Windows (this is where I develop using Segger), but when I plug into the Mac, everything is good and the programs work well.

    I can debug both situations on Windows and Mac. On Windows the ev_setup_handler always reports: USBD event: Setup (rt:80 r:06 v:0100 i:0000 l:64) This is repeated about 7 times until Windows reports a device failure.

    On Mac, the sequence is starts up like the following: USBD event: Setup (rt:00 r:05 v:0009 i:0000 l:0) USBD event: Setup (rt:80 r:06 v:0100 i:0000 l:8)

    My PDK sticker: PCA10056 V0.9.2 2017.34

    Larry

  • Hi Larry,

    Have you done any modifications to the SDK USB examples when testing this? Could you do a test with the precompiled hex that comes with one of the USB examples in the SDK ?

Reply Children
No Data
Related