How to install and use commands “dfu-util” in window system

I see the problem here.  use the dfu-util command in the window system 

and i tried many methods and failed    The following is my reference website

http://zadig.akeo.ie/ 

Windows · libusb/libusb Wiki · GitHub   

Using zadig to install the USB driver, my pc device manager can recognize the nrf5340dk board

dfu-util Homepage (sourceforge.net)

MSYS2     

Building dfu-util from source (sourceforge.net) 

use msys2  download libusb-1.0.26 and dfu-util-0.11  source code  and  install them 

at this time first try run  build/bin/dfu-util.exe --download  failed 

and follow this tickt add patch  ,delete folders ( libusb-1.0.26 , dfu-util-0.11 and build) retry again

failed

Related