I am working on USB DFU using internal firmware reset. I am able to halt at the breakpoint where the watchdog reset is being issued. The reset register is being read correctly and the next step is to stop the USB and jump to bootloader. The firmware is doing this correctly. I am using the xmegaa1uxplainedpro eval board.
I don't know how to use dfu-programmer. Can you provide a syntax of how to use the commands? I tried
dfu-programmer atxmega128a1u dump
It says no device present. Why is this?
I need examples on how to use all the commands with dfu-programmer-- erase, flash.
Is there a reset option?
Is there any other tool I can use for this? I have docklight scripting tool and I can issue commands from there instead of using dfu-programmer though I don't know what script to write. I used docklight to issue the WDT reset.