cancel
Showing results for 
Search instead for 
Did you mean: 

STM32f4 discovery USB device example

Ed Sutter
Associate II
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
15 REPLIES 15
Ed Sutter
Associate II
Posted on August 29, 2013 at 18:44

Ok, great. That cleaned up the map, thanks much.  Shoulda realized that myself.

Anyway, still (not expecting an answer here) I'd like to know why the linker did that in the first place.

Thanks again, 

Ed 

Ed Sutter
Associate II
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.  
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
Up vote any posts that you find helpful, it shows what's working..
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
Up vote any posts that you find helpful, it shows what's working..
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
Up vote any posts that you find helpful, it shows what's working..
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
Up vote any posts that you find helpful, it shows what's working..