AnsweredAssumed Answered

Issue with USB DFU, request for direction

Question asked by Lyen.Rum on Aug 15, 2016
Latest reply on Oct 7, 2016 by Lyen.Rum
Hello all,

I am working on a project where MCU will enter USB DFU mode via a command (STM32L151rd, USB-FS_4.0, 32MHz PLL driven by HSE) without sensing any button press or changing BOOT0 pin.

I've configured USB VCP as the default mode. It'll switch role to DFU or MSC (in next USB connectivity) upon a command sending via VCP. DFU/MSC session will continue as long as USB cable is connected (via sensing a GPIO pin connected to USB). PC can recognize all three USB modes. Unfortunately, I am not clear about the register/vector table settings needed for DFU or which .hex file is needed to convert to .dfu and upload. Will this idea work at all for DFU ?

Would you please give me some direction for this specific project and help me get out of this problem.

Thank you for your kind time.