cancel
Showing results for 
Search instead for 
Did you mean: 

problem with USB migrating from stm32f072 to stm32f042

hampton
Associate II
Posted on November 02, 2016 at 22:18

I have a USB CDC project that works fine with the STM32F072-DISCO board, but when I try to migrate the code over to my own board with an STM32F042 on it the device shows up as an ''STM Device in DFU Mode'' instead of a COM port in my Windows device manager.  The code is the same; I've just changed the target processor in my project settings.  Are there any differences in how the USB works between the two processors (STM32F072RB vs STM32F042K6) that I need to account for?  I'm using the STM32Cube firmware v1.6.0

2 REPLIES 2
Posted on November 03, 2016 at 05:04

Ensure BOOT0 is pulled low on your board.

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
hampton
Associate II
Posted on November 03, 2016 at 17:37

thanks.  that was the problem