Device: PyBoard-D STM32F7222
When using -R option the pyboard is not being reset after flashing. The dfu-util responded that it has been reset, but it remains in DFU mode.
run:
dfu-util --alt 0 -R -D firmware.dfu
Observe:
...
Download done.
Done parsing DfuSe file
Resetting USB to switch back to Run-Time mode.
The same code successfully deployed on the board and board is reset after flashing when compiled and flashed using "deploy" command.
Anonymous
The -R option does not mean "reset board", it means issue a USB reset. Depending on the board and bootloader that might reset the board, but many boards are different.
Since you have omitted the larger part out the output I cannot see what DFU version your bootloader is declaring, but I guess it is a DfuSe device (1.1a) and you can learn more about it on https://dfu-util.sourceforge.net/dfuse.html
If what you want to achieve is leaving the DFU mode and enter run-time mode, you can use the -s :leave option.