Skip to main content
Graduate II
October 5, 2021
Solved

How to set a NUCLEO G474RE into DFU(Device Firmware Update) mode ?

  • October 5, 2021
  • 2 replies
  • 2998 views

I mean, is there any button or pins I could press when power on then make it into DFU mode, and the DFU mode would be recognized by Ubuntu?

    This topic has been closed for replies.
    Best answer by TDK

    Not easily.

    This board only has a single USB connector (CN1) which is connected to the ST-Link chip, not the STM32G474. So that won't help you.

    You would need to solder a USB connector to the relevant pins, then put the device in bootloader mode by holding BOOT0 high during reset. Then it would be recognized as a DFU.

    2 replies

    TDKAnswer
    Super User
    October 5, 2021

    Not easily.

    This board only has a single USB connector (CN1) which is connected to the ST-Link chip, not the STM32G474. So that won't help you.

    You would need to solder a USB connector to the relevant pins, then put the device in bootloader mode by holding BOOT0 high during reset. Then it would be recognized as a DFU.

    MQi.1Author
    Graduate II
    October 7, 2021

    So I need 3 components - USB socket, USB-TTL convertor, and 5v to 3.3v regulator?

    Super User
    October 7, 2021
    Just a USB socket. There are 5V pins on there which can be used to supply power from an external source (VBUS). See user manual for details about the power options. Not sure why you'd need a USB-TTL converter.
    MQi.1Author
    Graduate II
    October 9, 2021

    I have thought I need to program the chip by UART as an AVR.