cancel
Showing results for 
Search instead for 
Did you mean: 

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

JZepe.1
Associate

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?

1 REPLY 1
Mike_ST
ST Employee

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.