NRF52833 USB_DFU question

hi,I used the dfu usb_serial project to update the application,But I don't want to install the nrfutil.exe software because it is too cumbersome for the end customer。May I ask if you have a process related to dfu usb_serial? Or is there a PC reference code?What I want is for me to send a packaged upgrade package to the client and the client to update the application directly with the PC software without the end client having to type the nrfutil dfu usb_serial command to upgrade it。

  • Hi summer,

    summer said:
    but I use the USB analyzer to capture the transferred data, I found that the transferred data is different from the data in the Dfu. zip package

    Could you elaborate how you perform this comparison? From which DFU packet did you start to compare?

    If you review the Message Sequence Chart, you will see that the first messages are not binary data, but some protocol specific exchange.

    You should also compare the message against the .bin file inside the .zip package, not the .zip file itself.

    summer said:
    I want to generate a.exe executable file,I don't want to type this command(nrfutil dfu...) when updating the firmware.Is there any way?

    As previously stated, nrfutil source code is available on GitHub. You can simply extract the code you want and incorporate it into your custom .exe program.

Related