cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103 USB VCP Demo Code Problems

ryansturmer2
Associate II
Posted on August 01, 2010 at 17:44

STM32F103 USB VCP Demo Code Problems

#stm32
11 REPLIES 11
ryansturmer2
Associate II
Posted on May 17, 2011 at 14:00

Thank you paul, that clears up that mystery for me.

It turns out there was a faulty solder connection on my evaluation kit!  Always the last thing you suspect I guess.  A little time on the scope revealed that DP wasn't actually doing what it was supposed to, so I touched it off with my iron, and now the thing responds!

It doesn't enumerate, but it responds.  The code appears to boot and run OK, but I'm getting enumeration errors (device not accepting address) on the host.

These bugs I can probably deal with. (Though if anyone has thoughts...)  I'm told that the IAR code works out of the box on this board, but the ST examples don't.  I wonder what could be different.  Thanks for the help everyone!

bernhard
Associate II
Posted on January 30, 2014 at 22:29

In my case it was a timing problem. Since I was debugging response seemed to take to long. As soon as I removed all breakpoints in the initialization routines it worked.