Giter Club home page Giter Club logo

Comments (4)

riyas-org avatar riyas-org commented on August 16, 2024

Wire-shark capture , seems in STM32F446 , enumeration process fails from SET ADDRESS REQUEST. Same code works fine on stm32F407 and 429

from libopencm3-examples.

scaldov avatar scaldov commented on August 16, 2024

The same on stm32f412z

from libopencm3-examples.

scaldov avatar scaldov commented on August 16, 2024

correct work on f411:

-|6|SRQ/CIDSCHG/PTXFE/EOPF/USBSUSP/ESUSP/NPTXFE/
-|196|SRQ/CIDSCHG/PTXFE/RSTDET/EOPF/ENUMDNE/USBRST/ESUSP/NPTXFE//ED//R/
-|268|PTXFE/EOPF/NPTXFE/RXFLVL/SOF/
|268|PTXFE/EOPF/NPTXFE/RXFLVL/SOF/
|269|PTXFE/IEP/EOPF/NPTXFE/SOF/[80/06/00/40/100/]

|269|PTXFE/EOPF/USBRST/NPTXFE/RXFLVL//R/
|269|PTXFE/NPTXFE/RXFLVL/
-|323|PTXFE/ENUMDNE/NPTXFE//ED/
|393|PTXFE/EOPF/NPTXFE/RXFLVL/SOF/
|393|PTXFE/EOPF/NPTXFE/RXFLVL/SOF/
|393|PTXFE/IEP/EOPF/NPTXFE/SOF/[00/05/00/00/14/]
ADDR 20

-|411|PTXFE/EOPF/NPTXFE/RXFLVL/SOF/
|411|PTXFE/EOPF/NPTXFE/RXFLVL/
|412|PTXFE/IEP/EOPF/NPTXFE/SOF/[80/06/00/12/100/]

|412|PTXFE/EOPF/NPTXFE/RXFLVL/
|412|PTXFE/EOPF/NPTXFE/RXFLVL/
|412|PTXFE/EOPF/NPTXFE/RXFLVL/SOF/
|412|PTXFE/EOPF/NPTXFE/RXFLVL/SOF/
|413|PTXFE/EOPF/NPTXFE/RXFLVL/SOF/
|413|PTXFE/EOPF/NPTXFE/RXFLVL/
|414|PTXFE/EOPF/NPTXFE/RXFLVL/SOF/
|414|PTXFE/EOPF/NPTXFE/RXFLVL/
|415|PTXFE/EOPF/NPTXFE/RXFLVL/SOF/
|415|PTXFE/EOPF/NPTXFE/RXFLVL/SOF/
|415|PTXFE/IEP/EOPF/NPTXFE/SOF/[80/06/00/09/200/]

from libopencm3-examples.

scaldov avatar scaldov commented on August 16, 2024

incorrect work on f412:

Numbers are milliseconds.
Here it could be seen, that after first USBRESET MCU receives GET DEV DESCR request, host receives reply then it issues a second USBRESET and nothing happens. After about a second I perform MCU reset and host issues USBRESET and once again USBRESET and send SETUP ADDRESS.
It is very strange. Seems like host waits for some line state. Or maybe MCU does not see SETUP ADDRESS from first attempt.
--------------------------------------------------|6|SRQ/CIDSCHG/PTXFE/EOPF/USBSUSP/ESUSP/NPTXFE/
-|121|SRQ/CIDSCHG/PTXFE/RSTDET/EOPF/ENUMDNE/USBRST/ESUSP/NPTXFE//ED//R/
---|485|PTXFE/EOPF/NPTXFE/RXFLVL/SOF/
|485|PTXFE/EOPF/NPTXFE/RXFLVL/
|486|PTXFE/IEP/EOPF/NPTXFE/SOF/[80/06/00/40/100/]

|487|PTXFE/EOPF/NPTXFE/RXFLVL/
|487|PTXFE/EOPF/USBRST/NPTXFE/RXFLVL//R/
|496|PTXFE/ENUMDNE/NPTXFE//ED/
-|564|PTXFE/EOPF/NPTXFE/RXFLVL/SOF/
----------|6|SRQ/CIDSCHG/PTXFE/EOPF/USBSUSP/ESUSP/NPTXFE/
----|441|SRQ/CIDSCHG/PTXFE/RSTDET/EOPF/ENUMDNE/USBRST/ESUSP/NPTXFE//ED//R/
|461|PTXFE/EOPF/ENUMDNE/USBRST/NPTXFE/SOF//ED//R/
---|718|PTXFE/EOPF/NPTXFE/RXFLVL/SOF/
|718|PTXFE/EOPF/NPTXFE/RXFLVL/
|718|PTXFE/IEP/EOPF/NPTXFE/[00/05/00/00/02/]
ADDR 2

|736|PTXFE/EOPF/NPTXFE/RXFLVL/SOF/

from libopencm3-examples.

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.