2024-11-12 03:35 AM
Hi all,
per AN3156 it states G0 series have USB DFU mode built-in the factory bootloader, so does it mean I won't have to configure the USB Device DFU Class in the CubeMX in order to make it work? Could I configure it into other classes (like CDC Virtual COM), and only need to flip the BOOT0 pin when it comes to firmware update?
Thanks
Solved! Go to Solution.
2024-11-12 04:25 AM
Yes. But that "flip BOOTO" needs to survive a reset. That needs some external infrastructure. Otherwise set some magic in SRAM, test early in your bootup for that flag and jump to bootloader.
2024-11-12 04:25 AM
Yes. But that "flip BOOTO" needs to survive a reset. That needs some external infrastructure. Otherwise set some magic in SRAM, test early in your bootup for that flag and jump to bootloader.