hi
im use the command line of nrfutil to ota the nrf52840' firmware.but now i want to develop a soft to ota the device without the environment of python.but i dont kown how to use the nrfutil ,so there is any way to achieve it?
hi
im use the command line of nrfutil to ota the nrf52840' firmware.but now i want to develop a soft to ota the device without the environment of python.but i dont kown how to use the nrfutil ,so there is any way to achieve it?
Hi,
Not sure I understand the question. If you want to develop the USB DFU bootloader, please see the Secure DFU Bootloader over Serial Link (UART/USB) example.
-Amanda H.
im sorry for my desc,i want to develop a windowns app to dfu my usb device,and how should i use the nrfutil.exe
Hi,
We provide the source code for pc-nrfutil (python) which supports DFU transfers through USB CDC, so you could use that as a reference if you want to implement the same functionality with the Windows SDK. We also have the DFU message sequence charts that give an overview of how the DFU exchange works. See USB CDC ACM DFU Transport. We also have the DFU Trigger Library (USB) as you may have seen.
For nrfutil.exe, enter the following command to start the DFU process over the serial link, where package.zip is the name of the firmware package that you want to upload and COM_PORT is the COM port to which the device is connected:nrfutil dfu usb_serial -pkg package.zip -p COM_PORT for USB transport
See the Secure DFU Bootloader over Serial Link (UART/USB) example regarding how to use the example image with the nrfutil.exe.
-Amanda H.
Hi,
We provide the source code for pc-nrfutil (python) which supports DFU transfers through USB CDC, so you could use that as a reference if you want to implement the same functionality with the Windows SDK. We also have the DFU message sequence charts that give an overview of how the DFU exchange works. See USB CDC ACM DFU Transport. We also have the DFU Trigger Library (USB) as you may have seen.
For nrfutil.exe, enter the following command to start the DFU process over the serial link, where package.zip is the name of the firmware package that you want to upload and COM_PORT is the COM port to which the device is connected:nrfutil dfu usb_serial -pkg package.zip -p COM_PORT for USB transport
See the Secure DFU Bootloader over Serial Link (UART/USB) example regarding how to use the example image with the nrfutil.exe.
-Amanda H.