楼主,你看下,你找的是不是这个:
This Demo presents the implementation of a device firmware upgrade (DFU) capability
in the STM32F10xxx microcontroller. It follows the DFU class specification defined
by the USB Implementers Forum for reprogramming an application through
USB-FS-Device.
The DFU principle is particularly well suited to USB-FS-Device applications that
need to be reprogrammed in the field.