2013-08-27 02:38 AM
Dear all,
I have read the discussion posted/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Leave%20DFU%20while%20boot0%20is%20high%20%28STM32F4%29&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=401
but i think that my issue is a little bit different. I have a device that can be controlled from a GUI software on the computer written in C♯. The device is recognized as an HID but the hardware is such that if the USB cable was already plugged in when the device power was turned on it enters DFU mode automatically. The GUI software will have a button that forces the device to leave DFU mode. To test this functionality I've used DFUse Demo application. However, when I press the leave DFU mode button the device disconnects but then again connects in DFU mode after a few seconds. This happens because the boot0 is held high as long as the USB cable is plugged in. So is there a way of returning to the HID mode without modifying the hardware thus with boot0 kept high? null