Sophie

Sophie

distrib > Mageia > cauldron > x86_64 > by-pkgid > 66a6eb96d71271b0c6dfbc2e9406051c > files > 1

dfu-util-0.11-2.mga9.src.rpm

###################################################################
# Notes on Uploading and Downloading firmware from and to a NanoVNA  
###################################################################

With the unit powered off, short the dfu boot pin to ground, connect the supplied USB
cable and power on the NanoVNA.

The following command should upload the current firmware from the NanoVNA

to your computer as a backup, to the file 'original.bin':

	$ dfu-util -a 0 -s 0x08000000 -U original.bin -vv

To convert this to original.dfu file you can use:

	$ dfuse-pack -b 0x08000000:original.bin original.dfu

To download a new firmware (newfirmware.dfu) to the NanoVNA:

	$ dfu-util -a 0 -D newfirmware.dfu

Please also see the dfu-util man page by using:

	$ man dfu-util

...and the help for dfuse-pack by entering:

	$ dfuse-pack --help

The above works fine for me - YMMV

If in doubt - read the docs :)