USB DFU in SDK 2.0 or later

Hello,
Is there any documentation anywhere on USB DFU in SDK 2.0 or later?
I once implemented USB DFU in SDK 1.4, but it seems to be different from that time.

 Device Firmware Update (DFU) with MCUBoot bootloader 

I'm working with the readme.rst of zephyr/dfu in the sample project, but I can't seem to get dfu-util.exe to work.
Any hints would be appreciated.

The specification of exe in the upload file is intentional. This is because I am first checking to see if the device is recognized.

Parents Reply Children
  • Hello,

    I'm glad to hear that it worked! 

    Yoshihiro Goto said:
    I have one question. Will the firmware in slot 0 remain forever? Why can't slot 0 be overwritten?

    The bootloader always boots the application from the first slot (unless direct-xip mode is used). So, when you upload the new firmware, the application will store it in the secondary slot. On reboot, the bootloader will detect the new firmware image and copy it to the first slot before booting it.

Related