Ports and Interfaces > USB

WinUsb_WritePipe(...) always returns "false"

(1/1)

kabanga:
Hello everyone,
I'm using the Axelson's WinUSB(C#).
A few days ago it was perfectly working.
Now it's not. I can't send data to the microcontroller.
While debugging my application I remarked that WinUsb_WritePipe(...) = bResult always returns "false". Why?
I didn't make any changes to the original Axelson's lib.
I have no idea what could have had happened.
Thanks for your help.

Regards

Jan Axelson:
Reboot the PC. Reload the firmware. Use a protocol analzyer to find out what is happening on the bus. Try to read data.

Jan

kabanga:
I reloaded the firmware. Then I sent data to the MCU. No data are sent.
And I see nothing in the monitoring window of "USB Monitoring Studio software".
What is puzzling for me is that I didn't change anything to my working code and PC.
Why did it suddenly stop working?

Regards

Jan Axelson:
Be sure the host enumerated the device. Look for it in Windows Device Manager.

Jan

kabanga:
It's working again, but I can't explain why .

Thanks and regards

Navigation

[0] Message Index

Go to full version