Skip to content

kBench test with Cypress CyStream example #57

@mcuee

Description

@mcuee

There is an error in the end for ISOC loop test, using WinUSB driver.
OS: Windows 10 Enterprise 22H2
Dell laptop with Intel Core i7-9850H.

C:\libusbK-3.1.0.0-bin\bin\exe\amd64> .\kBench.exe notestselect list intf=0 altf=6 loop buffercount=3 buffersize=16384 mode=async
device-count=3
1. USBasp (Composite Parent) (USB\VID_16C0&PID_05DC\0001) [libusbK]
2. SMSC-Microchip WinUSB USB5734 Device (USB\VID_0424&PID_2740\D&127B8A6A&0&5) [WinUSB]
3. CY-Stream (USB\VID_04B4&PID_00F1\6&E51CBBB&1&2) [WinUSB]
Select device (1-3) :3

opened CY-Stream (USB\VID_04B4&PID_00F1\6&E51CBBB&1&2)..
Loop Test Information
        Driver          : WinUSB
        Vid / Pid       : 04B4h / 00F1h
        DevicePath      : \\?\usb#vid_04b4&pid_00f1#6&e51cbbb&1&2#{97a0090b-0329-07f7-c2bd-7ba7a223756d}
        Device Speed    : High
        Interface #     : 00h
        Alt Interface # : 06h
        Num Endpoints   : 2
        Priority        : 0
        Read Size       : 16384
        Write Size      : 16384
        Buffer Count    : 3
        Display Refresh : 1000 (ms)
        Transfer Timeout: 5000 (ms)
        Retry Count     : 0
        Verify Data     : Off

Isochronous Read (Ep82h) Maximum Packet Size: 1024
Isochronous Write (Ep06h) Maximum Packet Size: 1024

While the test is running:
Press 'Q' to quit
Press 'T' for test details
Press 'I' for status information
Press 'R' to reset averages

Press 'Q' to exit, any other key to begin..
Avg. Bytes/s: 16483801.02 Transfers: 991 Bytes/s: 16483801.02 ISO-Packets (Total/Good/Bad):15952/15952/0
Avg. Bytes/s: 16400384.00 Transfers: 2002 Bytes/s: 16319432.51 ISO-Packets (Total/Good/Bad):32128/32128/0
Avg. Bytes/s: 16367702.92 Transfers: 3013 Bytes/s: 16303370.08 ISO-Packets (Total/Good/Bad):48304/48304/0
Avg. Bytes/s: 16420717.13 Transfers: 4025 Bytes/s: 16580608.00 ISO-Packets (Total/Good/Bad):64496/64496/0
Avg. Bytes/s: 16387255.96 Transfers: 5033 Bytes/s: 16254992.13 ISO-Packets (Total/Good/Bad):80624/80624/0
Avg. Bytes/s: 16408445.62 Transfers: 6041 Bytes/s: 16515072.00 ISO-Packets (Total/Good/Bad):96752/96752/0
Avg. Bytes/s: 16402599.69 Transfers: 7055 Bytes/s: 16367858.13 ISO-Packets (Total/Good/Bad):112976/112976/0
Avg. Bytes/s: 16386032.00 Transfers: 8064 Bytes/s: 16271118.11 ISO-Packets (Total/Good/Bad):129120/129120/0
Avg. Bytes/s: 16391231.16 Transfers: 9067 Bytes/s: 16433152.00 ISO-Packets (Total/Good/Bad):145168/145168/0
Avg. Bytes/s: 16382374.28 Transfers: 10077 Bytes/s: 16303290.64 ISO-Packets (Total/Good/Bad):161328/161328/0
Avg. Bytes/s: 16395831.74 Transfers: 11086 Bytes/s: 16531456.00 ISO-Packets (Total/Good/Bad):177472/177472/0
Avg. Bytes/s: 16388064.16 Transfers: 12097 Bytes/s: 16303370.08 ISO-Packets (Total/Good/Bad):193648/193648/0
Avg. Bytes/s: 16392758.82 Transfers: 13101 Bytes/s: 16449536.00 ISO-Packets (Total/Good/Bad):209712/209712/0
Avg. Bytes/s: 16380516.51 Transfers: 14107 Bytes/s: 16222740.16 ISO-Packets (Total/Good/Bad):225808/225808/0
Avg. Bytes/s: 16394843.15 Transfers: 15120 Bytes/s: 16596992.00 ISO-Packets (Total/Good/Bad):242016/242016/0
Avg. Bytes/s: 16391112.43 Transfers: 16132 Bytes/s: 16335574.38 ISO-Packets (Total/Good/Bad):258208/258208/0
Avg. Bytes/s: 16384000.00 Transfers: 17141 Bytes/s: 16271118.11 ISO-Packets (Total/Good/Bad):274352/274352/0
Avg. Bytes/s: 16393934.62 Transfers: 18152 Bytes/s: 16564224.00 ISO-Packets (Total/Good/Bad):290528/290528/0
Avg. Bytes/s: 16390841.99 Transfers: 19165 Bytes/s: 16335622.05 ISO-Packets (Total/Good/Bad):306736/306736/0
Avg. Bytes/s: 16388061.07 Transfers: 20177 Bytes/s: 16335574.38 ISO-Packets (Total/Good/Bad):322928/322928/0
Avg. Bytes/s: 16381680.20 Transfers: 21185 Bytes/s: 16254992.13 ISO-Packets (Total/Good/Bad):339056/339056/0
Avg. Bytes/s: 16392122.59 Transfers: 22199 Bytes/s: 16613376.00 ISO-Packets (Total/Good/Bad):355280/355280/0
Avg. Bytes/s: 16390355.04 Transfers: 23212 Bytes/s: 16351716.26 ISO-Packets (Total/Good/Bad):371488/371488/0
Avg. Bytes/s: 16389411.95 Transfers: 24227 Bytes/s: 16367874.02 ISO-Packets (Total/Good/Bad):387728/387728/0
Avg. Bytes/s: 16387246.28 Transfers: 25240 Bytes/s: 16335622.05 ISO-Packets (Total/Good/Bad):403936/403936/0
Avg. Bytes/s: 16387744.91 Transfers: 26256 Bytes/s: 16400141.87 ISO-Packets (Total/Good/Bad):420192/420192/0
Avg. Bytes/s: 16388208.73 Transfers: 27257 Bytes/s: 16400384.00 ISO-Packets (Total/Good/Bad):436208/436208/0
Avg. Bytes/s: 16385159.27 Transfers: 28268 Bytes/s: 16303370.08 ISO-Packets (Total/Good/Bad):452384/452384/0
Avg. Bytes/s: 16383440.48 Transfers: 29281 Bytes/s: 16335622.05 ISO-Packets (Total/Good/Bad):468592/468592/0
Avg. Bytes/s: 16387787.33 Transfers: 30289 Bytes/s: 16515072.00 ISO-Packets (Total/Good/Bad):484720/484720/0
Avg. Bytes/s: 16388188.01 Transfers: 31305 Bytes/s: 16400141.87 ISO-Packets (Total/Good/Bad):500976/500976/0
Avg. Bytes/s: 16387042.24 Transfers: 32319 Bytes/s: 16351748.03 ISO-Packets (Total/Good/Bad):517200/517200/0
Avg. Bytes/s: 16385474.80 Transfers: 33331 Bytes/s: 16335574.38 ISO-Packets (Total/Good/Bad):533392/533392/0
Error:[WinError] A device attached to the system is not functioning.

Error:[TransferThreadProc] failed writing! 1 of 1 ret=-31
waiting for Ep82h thread..
stopped Ep82h thread.   ExitCode=0
stopped Ep06h thread.   ExitCode=0
Loop Test Information
        Driver          : WinUSB
        Vid / Pid       : 04B4h / 00F1h
        DevicePath      : \\?\usb#vid_04b4&pid_00f1#6&e51cbbb&1&2#{97a0090b-0329-07f7-c2bd-7ba7a223756d}
        Device Speed    : High
        Interface #     : 00h
        Alt Interface # : 06h
        Num Endpoints   : 2
        Priority        : 0
        Read Size       : 16384
        Write Size      : 16384
        Buffer Count    : 3
        Display Refresh : 1000 (ms)
        Transfer Timeout: 5000 (ms)
        Retry Count     : 0
        Verify Data     : Off

Isochronous Read (Ep82h) Maximum Packet Size: 1024
        Total Bytes     : 281329664
        Total Transfers : 17171
        Avg. Bytes/sec  : 8191522.94
        Elapsed Time    : 34.34 seconds

Isochronous Write (Ep06h) Maximum Packet Size: 1024
        Total Bytes     : 276545536
        Total Transfers : 16879
        Other Errors    : 1
        Avg. Bytes/sec  : 8193941.81
        Elapsed Time    : 33.75 seconds

Press any key to exit..

Metadata

Metadata

Assignees

No one assigned

    Labels

    WinUSBSpecific to WinUSB backend of libusbk.dll

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions