Skip to main content
JZepe.1
Visitor II
July 21, 2022
Question

Do I need to configure USB FS with the STM32CubeMX tool in the STM32CubeIDE for the built-in DFU bootloader to work?

  • July 21, 2022
  • 1 reply
  • 651 views

I am using the STM32G474RE and according to AN2606 Rev 55, it has a built-in bootloader in system memory. I set the option bytes such that the MCU boots from system memory and I will use the STM32Cubeprorammer CLI to program via USB.

In my application code, do I need to configure USB or will the built-in bootloader handle USB configuration on its own?

This topic has been closed for replies.

1 reply

Mike_ST
ST Technical Moderator
October 3, 2022

Hello,

>> Do I need to configure USB FS with the STM32CubeMX tool in the STM32CubeIDE for the built-in DFU bootloader to work?

No.

>> In my application code, do I need to configure USB or will the built-in bootloader handle USB configuration on its own?

You only need to configure the USB in the application code (maybe using CubeMX), if you use the USB from this application.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.