Skip to main content
Visitor II
September 2, 2023
Question

STM32H723 not entering usb dfu mode - usb type-c configuration/wiring issue?

  • September 2, 2023
  • 1 reply
  • 3469 views

I'm wondering if this is caused by the use of a usb type-c connector. Is there recommended wiring for how to connect a type-c to STM32 processors while retaining the ability for dfu functionality?

 

Note that for BOOT0 R30 has been modified to be 0 ohm on my test board. Also I've removed D1.

 

    This topic has been closed for replies.

    1 reply

    Super User
    September 2, 2023

    Would be helpful to see more of the schematic. How is USB connected to the chip? Are you using supported pins? Can you connect over SWD?

    CMorg.1Author
    Visitor II
    September 3, 2023

    Able to connect over SWD. USB is connected to DP and DM only, no connection to vbus or ID pins.

    Board boots normally if reset without holding the BOOT0 button but hangs at startup if booted when holding the BOOT0 button. So maybe its getting stuck in a DFU by accident?

    I can't tell from AN2606 but maybe its a transition on one of the other pins at power up causing the issue?

    I've cross posted slightly here on stack exchange where I have more schematic sections posted, https://electronics.stackexchange.com/questions/679846/stm32h723-not-entering-usb-dfu-mode

    CMorg.1Author
    Visitor II
    September 3, 2023

    And the code runs as expected on the board too, serial terminal, gpio pins etc.