Comments (4)
Wire-shark capture , seems in STM32F446 , enumeration process fails from SET ADDRESS REQUEST. Same code works fine on stm32F407 and 429
from libopencm3-examples.
The same on stm32f412z
from libopencm3-examples.
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.
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)
- Using program_erase_flash in USB devices on STM32F1 (e.g. DFU example) HOT 9
- usb_cdcacm example on STM32F303RD not working HOT 2
- stm32: FLASH_BASE only defined for F0/F1 HOT 1
- Add g0 examples HOT 1
- stm32F070 USB
- target memory segment string descriptor
- arm-none-eabi-gcc not found error HOT 7
- Unable to run elf files HOT 5
- Nucleo-F429ZI USB HOT 1
- A question about rfid driver HOT 2
- Current build fails HOT 1
- using stm32f103c8 test HOT 1
- Composite USB device example HOT 7
- stm32f429i-dicovery ltdc example gpio setup HOT 1
- Can not flash stm32vl-discovery via `make flash` in the fancyblink example HOT 1
- How stm32F429IGT6 use st-link and openocd to burn miniblink.elf ? HOT 8
- Examples are difficult to find with much duplication HOT 1
- API differs significantly between target microporcessors HOT 1
- I2C examples are broken?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libopencm3-examples.