cancel
Showing results for 
Search instead for 
Did you mean: 

RNDIS + CDC composite device fails to start after power cycle (Code 10 on Windows) nucleoh7s3

taeun
Associate II

Hello,

I’m developing a USB composite device on STM32 that combines RNDIS and CDC interfaces.
The device works perfectly the first time it’s connected to a Windows 10 PC — both RNDIS and CDC functions operate normally.

However, after I reset the MCU or power-cycle the board, Windows shows the following error in Device Manager:

“This device cannot start. (Code 10)”
{Operation failed} The requested operation was unsuccessful.

At this point, the RNDIS interface no longer works.
If I uninstall the device from Device Manager or reinstall the driver, it starts working again.
On Linux, the same device works without any issue, even after multiple resets.

I have confirmed the following:

  • The USB VID/PID remain the same after reset.

  • The device descriptors are correctly reported.

  • The problem occurs only on Windows after a full power cycle or hardware reset.

Has anyone experienced similar behavior with RNDIS composite devices on STM32?
Is there something specific I should check in the USB descriptors or RNDIS initialization sequence to prevent this Code 10 issue after reset?

Any suggestions or known workarounds would be greatly appreciated.

Thanks in advance,

taeun_0-1762484827535.png

 

0 REPLIES 0