how to send debug info to host via USB?
Refer USBDebug example part of FX3 SDK. Refer CyU3PDebugInit() API.
You are welcome
How to use debug endpoint of interrupt type along endpoint of bulk type?
I define new endpoint as well as at debugInit example, initiate endpoint, but endpoint didn't occur at control center.
You'll need to add an endpoint descriptor correspoinding to the bulk/interrupt endpoint.
After doing so, make sure to change the "number of endpoints" (bNumEndpoints) parameter of the interface descriptor and the overall length in the configuration descriptor.
Thank you scutifer! I have found this several minutes ago. But How to calculate overall length? And Do I have write something about debug endpoint there.
Thank you, dear scutifer! I did it!