Giter Site home page Giter Site logo

Comments (7)

dmitrystu avatar dmitrystu commented on June 10, 2024 1

Looks like it's fixed. Could you please do an independent test then i will merge this branch.

from libusb_stm32.

dmitrystu avatar dmitrystu commented on June 10, 2024

OMG. Some things from ST make me crazy. Is this fix works for the multiple endpoints? I have no L151 in my lab, so I can't do a test.

from libusb_stm32.

covsh avatar covsh commented on June 10, 2024

OMG. Some things from ST make me crazy. Is this fix works for the multiple endpoints? I have no L151 in my lab, so I can't do a test.

I have Control Endpoint and 2 Bulk IN endpoints. Fix works well.

from libusb_stm32.

dmitrystu avatar dmitrystu commented on June 10, 2024

Could you please test with the assembly version of the driver? Looks like it's correct for L151.

and

For L100 it works well in both cases. Perhaps it's a cause that i didn't discover this bug.

from libusb_stm32.

covsh avatar covsh commented on June 10, 2024

Just testing assembler version. pma_write and pma_read works well.
But my BULK endpoint didn't works.

Endpoints configure as:

usbd_ep_config(dev, 0x02, USB_EPTYPE_BULK /*| USB_EPTYPE_DBLBUF*/, 0x40);
usbd_ep_config(dev, 0x05, USB_EPTYPE_BULK /*| USB_EPTYPE_DBLBUF*/, 0x40);
usbd_reg_endpoint(dev, 0x02, txd1_ep_cb);
usbd_reg_endpoint(dev, 0x05, txd2_ep_cb);

And i have STALL packet on USB analyzer on both endpoints.
image
Seems with asm driver endpoint didn't config correctly (C version works well)

I not familiar with asm, its hard to debug this for me

from libusb_stm32.

dmitrystu avatar dmitrystu commented on June 10, 2024

Confirmed for large (>=64 bytes) endpoints.

from libusb_stm32.

covsh avatar covsh commented on June 10, 2024

Test done. Asm and C version works well. Thanks for fixing.

from libusb_stm32.

Related Issues (20)

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.