AnsweredAssumed Answered

Reset device peripherials after remapping

Question asked by tm on Jan 31, 2014
Latest reply on Jan 31, 2014 by sung.chen_chung
Hey guys,

I am already running an application with USB in VCP mode, and I developed a circuit, that would rise voltage on boot0-pin to enter the bootloader after a reset is done trough the watchdog...

My problem is that I have to disconnect the USB-plug to get the device detected in DFU mode after the watchdog did a reset. So my idea is to configure the UBS D+ and D- pins as outputs, and pull them low shortly before the reset...
Unfortunately just defining them as output does not work. I also tried to reset the peripherial clocks, but it would not work. Any ideas how I can felicitate this software driven usb-disconnect?

thanks and best regards!

Outcomes