User Activity

We have implemented a custom tool, which transfers a hex firmware file via USB DFU protocol to the control. While testing we had several problems sending the firmware to the control.First we extract the memory model out of the descriptor infromations...
Is their any possibilty to use CDC and DFU due to the same USB Port, by switching it by software? And is their any example for it? I tried several things but couldn't find any solution. The configuration at CubeMX Just allows one Class for USB_DEVICE...
Kudos given to