- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
cyusb3014,sample: firmware\serialif_examples\cyfxusbi2cregmode
I send vendor command (USB control center) but it shows:
CONTROL OUT transfer failed with Error Code:997.
How to avoid this?
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please refer to the readme.txt file of USBI2CRegMode example.
If the data (data to send) needs to be sent from Host to Device, the direction of the transfer will be OUT otherwise IN.
The bRequest should be filled with bRequest mentioned in readme.txt file. bmRequestType can be mapped as follows
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please change the direct of transfer to "IN", and "Bytes to transfer" to 8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please refer to the readme.txt file of USBI2CRegMode example.
If the data (data to send) needs to be sent from Host to Device, the direction of the transfer will be OUT otherwise IN.
The bRequest should be filled with bRequest mentioned in readme.txt file. bmRequestType can be mapped as follows
Rashi