2022-07-21 11:01 AM
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?
2022-10-03 08:45 AM
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.