Skip to main content
hampton
Associate
November 2, 2016
Question

problem with USB migrating from stm32f072 to stm32f042

  • November 2, 2016
  • 2 replies
  • 665 views
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

    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    November 3, 2016
    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
    hampton
    hamptonAuthor
    Associate
    November 3, 2016
    Posted on November 03, 2016 at 17:37

    thanks.  that was the problem