¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date

Re: dfu_util command line for updating firmware please ?

 

All fine and dandy, but non-applicable on the Linux system the OP was asking about. There, you get either the CLI he is asking ahout, or the ST Cube programmer.

On August 12, 2023 12:24:53 PM EDT, John Barnett K5GYU <john.barnett@...> wrote:
Andy,

Don't know if this will help but these info below is what I used to update my firmware in my NanoVNA-H4.

NanoVNA H / H4 Firmware
Now you have to download the firmware. You can find it on Github under the following Link DiSLord NanoVNA: DiSLord NanoVNA-H4 Firmware
Make sure to select the correct version, depending on whether you have the H or H4 variant. The wrong firmware makes the device unusable for the time being. You can still write the firmware directly on the chip, but you will need the appropriate hardware.
At the time of this post, version 1.0.64 was current. Here you need to download the file with the extension .dfu:

NanoVNA H / H4 in DFU mode and install driver
1. First, the NanoVNA H4 must be set to DFU mode: To do this, press the joystick in the middle and switch on the device. The screen should now remain black.
2. With the NanoVNA H, the DFU mode is started via the Config Menu.
3. Now the NanoVNA H4 can be connected to the computer via USB. Probably the USB driver is missing in the Device Manager.
4. Then the driver must be installed in the device manager from the DFU installation path via the device manager. You can find it here: C:\Program Files (x86)\STMicroelectronics\Software\DfuSe v3.0.6\Bin\Driver\Win10
5. Now DfuSeDemo can be started from the start menu.
Firmware Flash with DfuSE
In the DfuSE, the lower ¡°Choose Button¡± must then be clicked:

Now the just downloaded firmware file can be selected:

John

John Barnett, Jr. P.E. - 37424
Wireless Communication Systems - F1866
Cell: 903-399-4804
email: john.barnett@...
Web Site: www.wirelesscommsys.com

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Andy Foad via groups.io
Sent: Saturday, August 12, 2023 10:01 AM
To: [email protected]
Subject: [nanovna-users] dfu_util command line for updating firmware please ?

Folks..

I have an ancient NanoVNA, 0-900Mhz, sandwich board type.

I have dfu_util already on my Linux PC and working.

I have a bunch of .dfu files (NOT .BIN) that I'd like to experiment with.

All I need now is the dfu_util command line params, can any one help ?

Thanks.

73 de Andy










--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


Re: dfu_util command line for updating firmware please ?

 

Andy,

Don't know if this will help but these info below is what I used to update my firmware in my NanoVNA-H4.

NanoVNA H / H4 Firmware
Now you have to download the firmware. You can find it on Github under the following Link DiSLord NanoVNA: DiSLord NanoVNA-H4 Firmware
Make sure to select the correct version, depending on whether you have the H or H4 variant. The wrong firmware makes the device unusable for the time being. You can still write the firmware directly on the chip, but you will need the appropriate hardware.
At the time of this post, version 1.0.64 was current. Here you need to download the file with the extension .dfu:

NanoVNA H / H4 in DFU mode and install driver
1. First, the NanoVNA H4 must be set to DFU mode: To do this, press the joystick in the middle and switch on the device. The screen should now remain black.
2. With the NanoVNA H, the DFU mode is started via the Config Menu.
3. Now the NanoVNA H4 can be connected to the computer via USB. Probably the USB driver is missing in the Device Manager.
4. Then the driver must be installed in the device manager from the DFU installation path via the device manager. You can find it here: C:\Program Files (x86)\STMicroelectronics\Software\DfuSe v3.0.6\Bin\Driver\Win10
5. Now DfuSeDemo can be started from the start menu.
Firmware Flash with DfuSE
In the DfuSE, the lower ¡°Choose Button¡± must then be clicked:

Now the just downloaded firmware file can be selected:

John

John Barnett, Jr. P.E. - 37424
Wireless Communication Systems - F1866
Cell: 903-399-4804
email: john.barnett@...
Web Site: www.wirelesscommsys.com

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Andy Foad via groups.io
Sent: Saturday, August 12, 2023 10:01 AM
To: [email protected]
Subject: [nanovna-users] dfu_util command line for updating firmware please ?

Folks..

I have an ancient NanoVNA, 0-900Mhz, sandwich board type.

I have dfu_util already on my Linux PC and working.

I have a bunch of .dfu files (NOT .BIN) that I'd like to experiment with.

All I need now is the dfu_util command line params, can any one help ?

Thanks.

73 de Andy


Re: dfu_util command line for updating firmware please ?

 

These params work for me:
for dfu file:
dfu-util -a 0 -D filename.dfu

for bin file:
dfu-util -d 0483:df11 -a 0 -s 0x08000000:leave -D filename.bin


dfu_util command line for updating firmware please ?

 

Folks..

I have an ancient NanoVNA, 0-900Mhz, sandwich board type.

I have dfu_util already on my Linux PC and working.

I have a bunch of .dfu files (NOT .BIN) that I'd like to experiment with.

All I need now is the dfu_util command line params, can any one help ?

Thanks.

73 de Andy


Re: Best Way to Measure Antenna SWR

 

Hi Mark, thanks for all your comments. This antenna has been up for several years now and I have addressed most of the points you covered. The wire is hard drawn so no stretching.

I made no attempt to compensate for the VSWR on the higher bands as my TX has an internal tuner. I'm aware it doesn't give the best efficiency but if you look at the QSO map on my QRZ page you will see that it performs remarkably well on all the bands.

--
Mike G8GYW


Re: The ultimate nanoVNA-H4 case?

 

There are some great ideas here.

I have both the tinySA Ultra and the NanoVNA H4.. but add in a Hioki Analog 3030 VOM, and a owon hds2102s oscilloscope, the fluke and such, I'm still working an approach using a larger satchel with a collection of the half-hard/half-soft cases in colors. My biggest problem has always been getting the complete set of standard (furnished accessories) back in the right storage container. I use a fine and a medium tip white marker to put identification on cables and parts. VNA and SA has worked well, but those VNA calibration pieces are still looking for a place to run and hide each time I use them. I have a nice fish tackle box with drawers and lift-outs for my spare connectors (power, vhf/uhf/hf etc, gas soldering iron)
.
I am still using the original boxes for my various test units first listed, putting all of them in a larger box. (usually the next larger size from an Amazon delivery.)


Re: Best Way to Measure Antenna SWR

 

I modeled the antenna presented in the previous email on the subject. It's
clear why this configuration does not function on 20-meters. Have a look
at the attachment.

Dave - W?LEV

On Fri, Aug 11, 2023 at 8:33?PM Mike <mail@...> wrote:

On Fri, Aug 11, 2023 at 12:36 PM, Bryan Curl wrote:


Mike,
Tell us more about your antenna.
What length is your EFHW?
Did your EFHW have a reflector stub of some length connected to the
shield
side or is it fed straight to coax?
Any choke in the line at some point?

I wonder how common mode currents would contribute to the measurement.

73, Bryan, n0lif
Bryan

The attached drawings should answer your questions. The wire was bent to
fit my garden. Performance is very good, with 100W SSB QSOs from my QTH
near London to the US midwest, South America and Indonesia.
--
Mike G8GYW





--

*Dave - W?LEV*
--
Dave - W?LEV


Re: Best Way to Measure Antenna SWR

Mark KQ4EKK
 

Just an additional note, that I did not mention in this type of scenario...

If you do need to do tuning, make sure you are making that decision AFTER examining the plots across ALL your workable bands. Since you are using this antenna for multiple HF bands, you will want to look at the plots where you USE the bands. You do not just want to look at 40m and then start trimming like crazy and shift all the other bands into unworkable frequencies. So just a SAFETY note. Make your trimming decisions using all the information and with your goals in mind and know when to stop tuning as to hurt other bands.

ALSO, since you are using enameled wire your can fold back your wire after using some sandpaper to strip the enamel off and wrap the wire around. This is the same as shorting (cutting). If you mess up to much just unwrap and shorten your fold back and wrap again, test, and continue. Your do not really need to cut at all then.....


Re: Best Way to Measure Antenna SWR

Mark KQ4EKK
 

Hello Mike,
Very nice setup. Everything looks great.

I see the wire is 16 SWG (14AWG) enameled copper wire. Since you installed it, have you noticed any stretching of the wire? (Does it droop more?) ===> Stretching of the wire will cause your plots to shift more because your wire length is now longer and not the same tuning length as when you first installed it. Using a copper clad steel wire will lessen the stretching or maybe even a kevlar based wire will help.

For the overall SWR presented to RADIO measure at end of coax in shack. Since you are in a PERMANENT setup and not changing locations, heights, ground effects, etc, this is the SWR setting that your use to TUNE your antenna (if needed). Since you are possibly stretching your length you MIGHT need to trim the "C location" end a little bit to move your plots to the right and back into perfect tune for your needs. Watch this over time because your wire WILL stretch and de-tune. But it is a simple measurement in your shack. Save your plots and compare them over time.

Optional:
Disconnect the coax from the CMC choke and do a quick scan down (or up) the coax to make sure it is all clean (you can find youtube vids on that) (obviously the coax is not in radio for this test, just an open coax).
Move the next measurement to the bottom of choke. Test the swr. The result should be close to the coax measurement results if you have a good quality coax in good working order). This will not be your overall SWR tuning measurement. You will want the reading that your SHACK measures of the ANTENNA system for a permanent antenna tuning.
It is nice to know your measurement at the 49:1 just for future reference, but it will only tell your if your WIRE has changed characteristics OR if your 49:1 has changed (but at 100W, it is probably not going to cook the wires, if it is well made). If you do not change the choke or the connectors or coax, you can already see this result from the shack measurement alone (and that is the only measurement that matters) but each piece of the puzzle is good to know if you have issue and want to find out what changed (over time).

Overall, Very nice setup and documentation. And GREAT results on the contacts...

Hope this makes sense and if I am mistaken with anything, please chime in everyone.

73,
Mark


Re: Best Way to Measure Antenna SWR

 

On Fri, Aug 11, 2023 at 12:36 PM, Bryan Curl wrote:


Mike,
Tell us more about your antenna.
What length is your EFHW?
Did your EFHW have a reflector stub of some length connected to the shield
side or is it fed straight to coax?
Any choke in the line at some point?

I wonder how common mode currents would contribute to the measurement.

73, Bryan, n0lif
Bryan

The attached drawings should answer your questions. The wire was bent to fit my garden. Performance is very good, with 100W SSB QSOs from my QTH near London to the US midwest, South America and Indonesia.
--
Mike G8GYW


Re: Nano VNA SAVER graphs of a 40m loop antenna

 

How high Barry?


Re: Nano VNA SAVER graphs of a 40m loop antenna

 

So, it's just a tad too long to center on the band. But if you're a CW
operator, perfect.

Dave - W?LEV

On Fri, Aug 11, 2023 at 3:16?PM Barry K3EUI <k3euibarry@...> wrote:

I just put up a full one-wavelength (140 ft) 40 meter loop antenna for
NVIS over the MidAtlantic area.
testing with my 3 yr old Nano VNA reveals no surprises using Nano VNA
SAVER to make these graphs
SWR, RETURN LOSS (dB), PHASE (degrees) and Smith Chart
yes .... I know I plotted RETURN LOSS as a negative value - but then it
matches the shape of the SWR curve.

de k3eui barry
phila region






--

*Dave - W?LEV*
--
Dave - W?LEV


Re: Front end overload

 

Thank you, Zack and Robin for the reply. I bought a NANO VNA and had second thoughts about using it to measure an AM radio station tower, given the presence of another local AM signal. I might make an LC trap to reduce level of the other local signal, but the impact of the trap on the measurement needs to be taken into account.
Most likely I will locate an operating impedance bridge, which I used many years ago to measure under power from a transmitter, at about 100 watts. Relatively safe, for the brief exposure at medium wave.


Nano VNA SAVER graphs of a 40m loop antenna

 

I just put up a full one-wavelength (140 ft) 40 meter loop antenna for NVIS over the MidAtlantic area.
testing with my 3 yr old Nano VNA reveals no surprises using Nano VNA SAVER to make these graphs
SWR, RETURN LOSS (dB), PHASE (degrees) and Smith Chart
yes .... I know I plotted RETURN LOSS as a negative value - but then it matches the shape of the SWR curve.

de k3eui barry
phila region


Re: Front end overload

 

Adding to Zack's reply, the first active device that the input encounters is an SA612 mixer chip. The data sheet (from NXP) suggests that compression non-linearity starts at around -30 dBm, and is -1 dB at about -25 dBm input. Above about -18 dBm, the output is constant. The data sheet also shows the results for inputs up to around +3 dBm. So for accurate measurement the signal? to the chip should be held back to no more than -20 dBm.

The input circuit starts with a *20 dB attenuator pad* before the input to the mixer. This then translates to:

* compression starts around -10 dBm

* 1 dB compression around -5 dBm

* constant output at around 2 dBm

* maximum *safe* input is generally reckoned to be *+10 dBm*, due to
the unbalanced nature of the attenuator circuit used [nanoVNA H4
circuit for version 4.2 hardware]

* and an *absolute maximum input* would be *+20 dBm*, but for a
*very short time* only, due to the power dissipation in the input
shunt resistor, which is probably 1/16 W rated

In this case, *less* is very much *more*.

Also, adding to what Zack has said, measuring anything with the level of local signal that you suggest it going to be very tricky, and need a lot of either guile or brute force (= high power.) On the guild front you /might/ find it useful to use driving software such as nanoVNA Saver to allow taking & recording many independent measurements. But if the signal levels are too high, that it us unlikely to be enough. Assuming that the signals are away from your frequencies of interest, then using the minimum bandwidth possible may be helpful.

Thinking out of the box, it would, in principle, be possible to us a band-stop (or band pass) filter and calibrate the nanoVNA at the measuring plane, with the filter between that measuring plane and the nanoVNA.

Good luck, 73,

Robin, G8DQX (who last worried about MW transmitters and their aerials/antennas rather a long time ago!)

On 11/08/2023 13:43, Zack Widup wrote:
I believe it's 10 dBm (10 mW). Do you really mean 1000 kHz? That's in the
AM broadcast band. That's a vertical of almost 250 feet. That will probably
produce way too much overload.

Zack W9SZ

On Thu, Aug 10, 2023 at 9:29?PM<greg@...> wrote:

Pardon the basic question. What is the approximate maximum input port RF
voltage before damaging the device? Let's say I hook it up to a tower in a
location with about 100 millivolts per meter of field strength from another
signal. Is this likely to damage the unit? I want to measure reactance and
resistance of a 1/4 wave vertical antenna at approximately 1,000
kilohertz. Thank you.







Re: Front end overload

 

I believe it's 10 dBm (10 mW). Do you really mean 1000 kHz? That's in the
AM broadcast band. That's a vertical of almost 250 feet. That will probably
produce way too much overload.

Zack W9SZ

On Thu, Aug 10, 2023 at 9:29?PM <greg@...> wrote:

Pardon the basic question. What is the approximate maximum input port RF
voltage before damaging the device? Let's say I hook it up to a tower in a
location with about 100 millivolts per meter of field strength from another
signal. Is this likely to damage the unit? I want to measure reactance and
resistance of a 1/4 wave vertical antenna at approximately 1,000
kilohertz. Thank you.






Re: Best Way to Measure Antenna SWR

 

Mike,
Tell us more about your antenna.
What length is your EFHW?
Did your EFHW have a reflector stub of some length connected to the shield side or is it fed straight to coax?
Any choke in the line at some point?

I wonder how common mode currents would contribute to the measurement.

73, Bryan, n0lif


Re: Best Way to Measure Antenna SWR

 

You can do both. If you calibrate with the SOLT loads at the cable end you will get the antenna impedance. If you calibrate at the nano-vna end you will get the line plus antenna.


Front end overload

 

Pardon the basic question. What is the approximate maximum input port RF voltage before damaging the device? Let's say I hook it up to a tower in a location with about 100 millivolts per meter of field strength from another signal. Is this likely to damage the unit? I want to measure reactance and resistance of a 1/4 wave vertical antenna at approximately 1,000 kilohertz. Thank you.


Re: Basic questions on nanovna-saver and IF filter plots

 

Thank you Roger, and your math example helps to clarify.

Keith
N3KXZ