stm32f103 libopencm3 und usb_cdcacm example will nicht

Gast #4054879
Lesenswert?

Servus..
Ich hab mir heute, weil ich ein USB-Device für meinen stm32f103 (lctech 
minimal stm32f1 board) brauche.

habe also libopencm3 runter geladen, inklusive examples, dieses 
kompiliert und dann unter
libopencm3-examples/examples/stm32/f1/other/usb_cdcacm
das erstellte .elf mittels stm32flash -w hochgeladen.
Nach Neustart des Boards (mit Umstecken des Boot Pins) bekomme ich in 
meinem dmesg folgende Fehler:
[quote]
[19354.468052] usb 3-1: new full-speed USB device number 14 using 
xhci_hcd
[19354.588132] usb 3-1: device descriptor read/64, error -71
[19354.812065] usb 3-1: device descriptor read/64, error -71
[19355.028017] usb 3-1: new full-speed USB device number 15 using 
xhci_hcd
[19355.148351] usb 3-1: device descriptor read/64, error -71
[19355.372098] usb 3-1: device descriptor read/64, error -71
[19355.588012] usb 3-1: new full-speed USB device number 16 using 
xhci_hcd
[19355.588348] usb 3-1: Device not responding to setup address.
[19355.792518] usb 3-1: Device not responding to setup address.
[19355.996107] usb 3-1: device not accepting address 16, error -71
[19356.108168] usb 3-1: new full-speed USB device number 17 using 
xhci_hcd
[19356.108529] usb 3-1: Device not responding to setup address.
[19356.312650] usb 3-1: Device not responding to setup address.
[19356.516140] usb 3-1: device not accepting address 17, error -71
[19356.516233] usb usb3-port1: unable to enumerate USB device
[/quote]

auf freenode #libopencm3 konnte mir leider nicht geholfen werden, weil 
man mit dem board keinerlei erfahrung hätte. Der f103 hat allerdings für 
usb gar keine alternate pins..

Hat jemand das schonmal gemacht?

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren