Entering DFU Mode within Application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-11-15 6:54 AM
Hi,
I have an application in which I want to enter the DFU mode using the software only. The device is in HID mode and after some external input it should enter the DFU mode. The present example by ST requires to place jumpers between VDD and BOOT0 pins and GND and PB2 pins and after that a restart is required. Is there a possible way to not do this and still enter the DFU mode using the software only ? Regards #dfu #dfu-se- Labels:
-
Bootloader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-11-15 7:32 AM
Is there a possible way to not do this and still enter the DFU mode using the software only?
Yes, how depends on the partUp vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-11-15 10:01 AM
I have implemented the DFU device descriptor and initialized it properly but when I switch the to the dfu mode the windows detects it as in DFU mode but not properly (yellow icon appears in device manager).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-11-20 2:26 AM
I have looked corrected the problem of PC not detecting the device in DFU mode by changing the USB VID and PID to that provided in the example. Now everything works correctly and the DFUse detects the device correctly but when I try to update the code nothing happens, DFUse shows that it has completed updating the target file on the board but when I restart the board my original application is still running in the board. Any idea what am I missing here ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-09-25 7:15 AM
Hello!
Can you provide some code or further information? I'm using the STM32F401 in CDC mode and want to enter DFU without setting the boot pins.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-09-25 8:27 AM
This is a recurring theme, I've covered it before, start with [DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Java/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Java/jumping%20to%20the%20bootloader%20via%20software%20does%20not%20permit%20dfu%20mode&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000F9A0E3A95BA69146A17C2E80209ADC21¤tviews=162]this thread (which I randomly Googled as the search here is awful) and look at some of the others I cited.
Up vote any posts that you find helpful, it shows what's working..
