Skip to main content
Ed Sutter
Associate III
Aug 26, 2013 8:45 PM UTC
Question

STM32f4 discovery USB device example

Posted on August 26, 2013 at 22:45

Hi, I'm trying to run the ''USB Device VCP example'' using the gcc (sourcery-lite) tools.  I can build it and it appears to be running (led is blinking and the message ''USB device library started'' comes out the UART; but then I get ''Unknown Device'' on the USB side when I plug it into a PC.  

Has anyone built any of the USB device demos with GCC?

#usb
This topic has been closed for replies.

15 replies

Ed Sutter
Ed SutterAuthor
Associate III
Aug 29, 2013 5:12 PM UTC
Posted on August 29, 2013 at 19:12

By the way, for anyone else reading this, I made the changes for this to

optionally work with USART6, which is the default configuration for the DB9 connector that comes with the STF4BB board.  
Tesla DeLorean
Guru
Aug 29, 2013 7:07 PM UTC
Posted on August 29, 2013 at 21:07

A tentative mod for the STM32F4DIS-BB, built with Yagarto 4.7.2

https://docs.google.com/file/d/0B7OY5pub_GfIcTJvY0RLaUViVnM/edit?usp=sharing

May be someone from Element14 will comp me a board.
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Tesla DeLorean
Guru
Aug 29, 2013 11:22 PM UTC
Posted on August 30, 2013 at 01:22

This is a quick port of the MicroSD + FatFs to the STM32F4DIS-BB platform

https://docs.google.com/file/d/0B7OY5pub_GfIY01DaHY4OVp4NUk/edit?usp=sharing

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Tesla DeLorean
Guru
Aug 29, 2013 11:47 PM UTC
Posted on August 30, 2013 at 01:47

This is a quick port of the MicroSD + USB MSC to the STM32F4DIS-BB platform

https://docs.google.com/file/d/0B7OY5pub_GfIRUJPSUVxNTV3TEk/edit?usp=sharing

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Tesla DeLorean
Guru
Sep 10, 2013 9:26 PM UTC
Posted on September 10, 2013 at 23:26

Doing some experimenting with the STM32F4-DIS and a SanDisk 16GB Ultra Extreme microSDHC UHS-1 Card.

15.82 MBps Read, 9.66 MBps Write with FatFs

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..