- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to implement a USB 2.0 host for a custom class on a CYW54907 wireless SoC (CYW943907AEVAL1F dev board). I would like to connect the host to a custom class on a USB device running on an FX3 module (CYUSB3KIT-003 EZ-USB® FX3™ SuperSpeed Explorer Kit).
I am using USBX dpump to create a custom class on the host (see attached code). I also added dpump to the event handler in wiced_usb.c (attached). On the FX3 device, I am running the default BulkLoopAutoCpp example. I have also tried running the MouseDemo on FX3.
I cannot get the custom DPUMP class to work. I notice that when I plug the device in, the event callback function (wiced_usb_host_usbx_host_evt_callback) in wiced_usb.c does not trigger. I suspect the reason is that the UX_HOST_CLASS class instance NULL? I get the same result when I test with default USBBulkSourceSinkLED example on FX3 (the LED doesn't even light up). Here is the terminal debug terminal output from this test:
+-------------------------------------------------+
+ USB20 Host DPUMP Custom Class Application +
+-------------------------------------------------+
> USB20 Host init starting...
Detected board strapping is in USB-PHY mode!!
Detected board is in USB Host mode!!
USB Host support 2 HCI resource
USB20 Host init completed!!!
#UX#: Device:
. State: 1
. Address: 1
. HCD name: ux_hcd_ehci
. Class name: (null)
. Speed: 2 (HIGH)
. Port Index: 0
. Max Power: 250
loopback
+++START: DPUMP custom class loopback started
*** Please input any key from your terminal program ***
DPUMP == NULL
---END: DPUMP test
I also checked the MouseDemo with the same host – it enumerates as an HID device, and successfully executes the event callback function (see red). (It also prints data successfully when run with hid_keyboard host app). Here is the terminal output:
+-------------------------------------------------+
+ USB20 Host DPUMP Custom Class Application +
+-------------------------------------------------+
> USB20 Host init starting...
Detected board strapping is in USB-PHY mode!!
Detected board is in USB Host mode!!
USB Host support 2 HCI resource
USB20 Host init completed!!!
Entering event call
#UX#HostClassHid#: event UX_DEVICE_INSERTION
#UX#HostClassHid#: Found Keyboard HID Class device
RETURN TO MAIN APP EVENT HANDLER------------------- (1)
USB20 Host: event (1)
USB20 Host: unknown event (1)
#UX#: Device:
. State: 3
. Address: 1
. HCD name: ux_hcd_ohci
. Class name: (null)
. Speed: 0 (LOW)
. Port Index: 0
. Max Power: 250
Could you please assist me in getting a custom class to work?
Many thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We too noticed a issue with USBX DPUMP class and are checking with expresslogic currently., I will update you on further developments.
Regards,
-Madhu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. In the mean time, are there any other code examples for transferring raw data over two bulk endpoints that I could use? I need high speed, so do not want to use a virtual COM port.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have meet the same issue, do you have any progress? thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Madhu Lakshmipathy confirmed the issue 8 months ago.
I notice now it usually takes very long time to get bug fixes of the sdk, this is not good.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Madhu Lakshmipathy wrote:
Hi,
We too noticed a issue with USBX DPUMP class and are checking with expresslogic currently., I will update you on further developments.
Could you elaborate a bit about the issue with USBX DPUMP class?
Any update for the fix?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, our custoemr has meet same issue.
for fix issue, could you have any update status
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please create a new thread as I'm not sure the Applications Team is monitoring these older threads.