I am trying to send a control transfer using
int err = libusb_control_transfer(_handle, 0x40, 42, 0x1234, 0, data, length, 1000);
I keep getting LIBUSB_TRANSFER_TIMED_OUT, I am not sure why I have looked all over but no luck. Does anyone know how to fix this error or have a link to a solution or even an example of a working control transfer?
LIBUSB_CONTROL_TRANSFER on Infineon Cypress FX3
225 Views Asked by Luke At
1
There are 1 best solutions below
Related Questions in EMBEDDED-LINUX
- Touch calibration error when using Avalonia UI with Raspberry PI 4 (lite) DRM Mode
- Can't ping to 8.8.8.8 and google.com in beaglebone black
- How to extract the .img file into normal kernel source file in the linux?
- Using C++ libgpiod to calculate interval and speed between events
- yocto bitbake 'python3 setup.py bdist_wheel ' execution failed
- How to reduce cached memory used by Linux kernel on embedded linux platform
- Unable to parse input tree, possibly due to dash
- How to add a button handler to GPIO pin through a push button
- Linux of_platform_depopulate() does not remove drivers
- Filling a sk_buff with content of recieved frame
- How to reduce reserved memory allocated by Linux kernel during boot time
- embedded linux buildroot how to work with axi-gpio?
- How do I know when the dsa_loop and dsa_loop_bdinfo linux kernel modules are working?
- buildroot for zedboard, how to enable axi-gpio in device tree?
- Driver is not loading when there 2 or more source files
Related Questions in INFINEON
- TPM issue: error in session attributes of NV_define when trying to connect PCR policy
- Using Mbed with CY8CKIT_062_BLE
- How can I add two hexadecimal values with assignment operators in 8-bit or 16-bit format?
- HFP profile disconnection through Cypress - iOS HFP and PBAP profile both disconnecting at a time
- infineon TC1796 DMA access
- Exception occurred after porting the code of the TOM module of the TC367 project to TC389
- Need an example code for DMA to serial about Infineon's TriCore TC17xx
- XMC1300 boot kit memory corruption
- What are the minimum hardware requirements for .NET nanoFramework?
- Download Program to Microcontroller failes "DASWRAPPER::No ECF hardware found"
- LIBUSB_CONTROL_TRANSFER on Infineon Cypress FX3
- How do I fix `LIBUSB_ERROR_PIPE` error on **Infineon FX3**
- nanopb - binary compatibility between different processor architectures
- Assembly syntax for Tc2xx Tricore
- Is using the vendors libary with bitfields for mapping register a good idea?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Will get LIBUSB_TRANSFER_TIMED_OUT when the Transfer timed out, so first you can check if the ACK by USB device or not or you can change the timeout from 1000 to a high number for the test.
You can log to the FX3 side to check device gets this request or not.
And you can check USB traces using a USB analyzer (like Wireshark) to understand the status of the USB control transfer.
also, https://community.infineon.com/t5/USB-superspeed-peripherals/bd-p/usb-superspeed-peripherals can help you to debug your FW code.