Menu

#184 reset option does not work

none
invalid
nobody
None
2024-01-22
2023-12-04
Ratmir
No

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.

Discussion

  • Tormod Volden

    Tormod Volden - 2023-12-04

    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.

     
  • Tormod Volden

    Tormod Volden - 2023-12-04
    • assigned_to: Tormod Volden --> nobody
    • Milestone: 0.12 --> none
     
  • Tormod Volden

    Tormod Volden - 2024-01-22
    • status: open --> invalid
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB