Giter Site home page Giter Site logo

hydrausb3_host's People

Contributors

bvernoux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hydrausb3_host's Issues

Test failure end with error

I´m trying to run the benchmark but I have an unexpected result (I think the cable and port are fine)

afc@curie:~/CH569W/hydrausb3_host/HydraUSB3_USB_benchmark$ sudo ./HydraUSB3_USB_benchmark 
HydraUSB3_USB_benchmark v1.0.2 B.VERNOUX 31-Aug-2022
Options: verbose=0
USB3_EP1_BULK_BURST_SIZE=4096 USB3_EP2_BULK_BURST_SIZE=4096
Using libusb v1.0.26.11724
2023-03-20 16:15:43.148 (5.529 s) Dev (bus 2, device 9): 16C0 - 05DC speed: 5G
Test end with success

Start USB_TestDataIntegrity(libusb_bulk_transfer) Tests
libusb_bulk_transfer(WriteEP=0x02)/libusb_bulk_transfer(ReadEP=0x82)/memcmp: 10000 times 4096 Bytes ***
2023-03-20 16:15:43.148 (5.529 s) Start Test
2023-03-20 16:15:43.956 (6.336 s) End Test
Average speed 101.4 MBytes/Sec, Total=81920000 Bytes/81 MBytes
End USB_TestDataIntegrity(libusb_bulk_transfer) Tests
Test end with success

Start USB_TestDataSpeed(libusb_bulk_transfer) Tests
libusb_bulk_transfer(WriteEP=0x02)/libusb_bulk_transfer(ReadEP=0x82): 100 times 8388608 Bytes ***
2023-03-20 16:15:43.964 (6.345 s) Start Test1 USB Bulk Write(libusb_bulk_transfer)
2023-03-20 16:15:45.988 (8.368 s) USB Bulk Write(libusb_bulk_transfer) return error=-7
2023-03-20 16:15:45.988 (8.368 s) usb_write_EP2() error
2023-03-20 16:15:45.988 (8.368 s) Test failure end with error
Press Enter to exit

what could be the issue?
BR

HydraUSB3_USB_benchmark host tool

HydraUSB3_USB_benchmark host tool

  • Host tool (multi-platform GNU/Linux & Windows) using libusb
    • Support Linux / Windows (MSYS2/Mingw64) with makefile
    • USB2 High Speed and USB3 Super Speed benchmark
    • Commands to force USB2 HS or USB3 SS (by default the board is enumerated as USB3 SS)
    • Command to retrieve USB2 HS or USB3 SS statistics
    • Command to retrieve test logs
    • Command to reboot the board
    • Use default USB PID/VID from https://github.com/obdev/v-usb/blob/master/usbdrv/USB-IDs-for-free.txt
      - PID dec = 1500 (0x05dc), VID dec 5824 (0x16c0) For Vendor Class devices with libusb
      - To be checked later to use HydraUSB3 dedicated USB VID PID (waiting PR merge pidcodes/pidcodes.github.com#758
  • Requires HydraUSB3_USB firmware flashed on HydraUSB3 v1 board

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.