¿ªÔÆÌåÓý

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

Upgrading to latest Firmware problem


 

Re recent Thread .... "PC Won't Recognize Unit in DFU Mode so Can't Update Firmware" by mirskym (Michael)

Trying to upgrade my nanoVNA to latest software version by Dislord NanoVNA H v1.0.45 .....

I have the same problem as Michael .... my Surface Pro 4 has been connected to my nanaoVNA previously ... COM port 3 ... checked it prior to starting this upgrade process.
Have downloaded the DfuSe (v3.0.6) file containing the DfuSe Demo.exe file.
Also downloaded the NanoVNA H v1.0.45.dfu file.
Using the procedure as per The Absolute Beginner's Guide to NanoVNA Version 1.5
nanoVNA was put into Dfu mode using onscreen Menu ... nanoVNA screen is black with 2 lines of writing at the top .... DFU: Device Firmware Upgrade Mode etc

Then connected nanoVNA to PC via USB .... PC responds with beeps
DfuSe Demo page appeared ... but nanoVNA not recognized.

In Device Manager, I can see "ST Bootloader" ... but it has a small yellow triangle (usually indicates a problem, not functioning etc)
Opened Properties popup, under General tab, it states that "The Drivers for this device are not installed (Code) 28"
This is where I stopped.

nanoVNA - H edy555 design Version: 0.4.5-1-gfbbceca
nanoVNASaver Version: 3.6
Surface Pro 4 running latest version of Windows 10

Help ... please ...:)

Thanks, Ian


 

I tried the solution Mack mentioned in my thread but didn't work

Michael


 

Hi Ian,
You should not open a new topic because your problem cannot be followed.
If I take it well from your various writings, you will try under Win 10.
Put the device in dfu mode by first pressing and holding the multi-function button on the NanoVNA before plugging in the USB connector until the connection is made.
Then check the device manager or DfuSe Demo to see if the program sees the device. When in dfu mode, it is not visible between COM ports. When in VNA mode, the COM port is displayed. It follows that the device cannot be accessed in terminal program in dfu mode.
Continue the firmware upload in dfu mode: use the buttons in the lower right corner of the DfuSE Demo program (Upgrade or Verify Action). Select the firmware to be uploaded (Choose ...). Once selected, the Ugrade button will also darken and press 'Upgrade'. When done, disconnect the USB connector and restart the device. You will then need to log in with the new firmware. Now you need to access the device via USB with a terminal program.
Ask for available commands by typing help.
If you have problems using the terminal program, read the help on the program's website beforehand.
After answering the help question, type: clearconfig 1234
You will get an answer to this. Then, if necessary, perform a touchscreen calibration. You may not need to see it when using the touch screen.
Then calibrate to the frequency range you want to use and save it to a memory. After completing the calibrations, be sure to use the 'saveconfig' command. You should see the backups when you turn on the device again.
Maybe I didn't forget anything.
Don¡¯t post a new topic until you have the same problem. Continue here.

73, Gyula HA3HZ
--
*** If you are not part of the solution, then you are the problem. ( ) ***


 

On Wed, Jan 6, 2021 at 10:37 AM, Gyula Molnar wrote:


Then check the device manager or DfuSe Demo to see if the program sees the
device.
This is the problem. In VNA mode you can see the COM port, But in DFU mode it doesn't see the device.


 

On Wed, Jan 6, 2021 at 07:37 PM, Gyula Molnar wrote:

Hi Gyula,
My responses start on separate lines with

If I take it well from your various writings, you will try under Win 10.
Yes


Put the device in dfu mode by first pressing and holding the multi-function
button on the NanoVNA before plugging in the USB connector until the
connection is made.
* nanoVNA was in DFU mode before connecting USB. nanoVNA screen is mostly black, but states " DFU: Device Firmware Upgrade Mode" etc


Then check the device manager or DfuSe Demo to see if the program sees the
device.
* Device is not identified in "Available DFU Device" field


When in dfu mode, it is not visible between COM ports. When in VNA
mode, the COM port is displayed. It follows that the device cannot be accessed
in terminal program in dfu mode.
* ???? Device Manager states "ST Bootloader" ... but it has a small yellow triangle (which usually indicates a problem, not functioning etc)
I opened Properties popup, under General tab, it states that "The Drivers for this device are not installed (Code) 28"


Continue the firmware upload in dfu mode: use the buttons in the lower right
corner of the DfuSE Demo program (Upgrade or Verify Action). Select the
firmware to be uploaded (Choose ...).
I can "Choose" the NanoVNA H v1.0.45.dfu file. Solid green bar appears with the words "File correctly loaded"

Once selected, the Upgrade button will
also darken and press 'Upgrade'.
* Upgrade button stays grey ie not functional

I cannot proceed any further with the Upgrade.

I appreciate your help with this problem, Ian


 

The problem is the driver.? :-)

Put the NanoVNA into DFU mode and find out what pops up on Device Manager when you plug in the cable.
It may be something like ST Bootloader.
When you've identified the device in Device Manager, right-click and select Update Driver.
Select "Browse my computer for drivers".
Select "Let me pick from a list..."
Click on "Have Disk", then Browse to "C:\Program Files (x86)\STMicroelectronics\Software\DfuSe v3.0.6\Bin\Driver\Win10" (assuming a normal W10 installation)
Click on "STtube.inf" and wait for the DFU-mode driver to be installed.

After that, when you plug in the NanoVNA in DFU mode it will show up in Device Manager (under USB Controllers) as "STM Device in DFU Mode"

Mike
M0MLM


------------------------------------------------------------------------
*From:* mirskym [mailto:mirskym@...]
*Sent:* Wednesday, 6 January 2021, 9:27 am
*Subject:* [nanovna-users] Upgrading to latest Firmware problem

On Wed, Jan 6, 2021 at 10:37 AM, Gyula Molnar wrote:

Then check the device manager or DfuSe Demo to see if the program sees the
device.
This is the problem. In VNA mode you can see the COM port, But in DFU mode it doesn't see the device.




 

This whole story has nothing to do with nanovna. This indicates that you are ignoring warnings sent by Windows. Take it seriously, if windows as an operating system gives you some sort of warning, you should fix the error there. In this case, how did the driver get on my machine? Installed by DfuSe Demo, if you watch the installation process, you will see this.
And you have the solution. We¡¯ll just give you tips on where to look for a solution to a possible error.
Mike described what to do.

--
*** If you are not part of the solution, then you are the problem. ( ) ***


 

On Wed, Jan 6, 2021 at 11:50 AM, Mike Millen wrote:


Click on "STtube.inf" and wait for the DFU-mode driver to be installed.
OK, tried all that. It said Windows has determined that your driver software is up to date (my Bootloader is installed OK). But when do you click STube? Does seem to be a way to choose it when clicking update driver software for Bootloader. Only allows you to point to the directory.


 

reinstall the DfuSe Demo
You're not Ian, is that another topic?

--
*** If you are not part of the solution, then you are the problem. ( ) ***


 

ps.: If it still doesn't work, look for another machine with USB2.

--
*** If you are not part of the solution, then you are the problem. ( ) ***


 

Ian and I both have the same problem. I posted the first thread about it and then Ian posted this one.

I reinstalled DfuSe. No luck. Still can't see the device


 

Hi all,

I have now got it .... apparently, the DfuSe Demo driver was not installed properly.

When Device was not recognized in the "Available DFU Device" field within the DfuSe Demo (v3.0.6) window ....
Go to Device Manager
Click on Update Driver
Browse to the DfuSe Demo.exe file loaded on PC
Load/Update Driver

Then your Device should recognized.

Cheers, Ian


 

Ian,

When you say to click on Update Driver, click on what? On the STM Bootloader entry in Device Manager? I did that as Mike Millen suggested below. Then I went to the drivers section of the DfuSe Demo driver subdirectory, selected the proper driver directory and Windows came back with "Windows has determined that you already have the latest driver installed".

Could you please give me a more detailed step by step?

Thanks in advance,
Michael


 

Oooopppssss ... quite a few Threads got crossed up here ...Mike Millen posted at #19816 with same answer .... while I was having a celebratory whiskey .... :) :)

Thanks Mike and Gyula .... I will try upgrading nanoVNASaver tomorrow .... :)


 

------------------------------------------------------------------------
*From:* mirskym [mailto:mirskym@...]
*Sent:* Wednesday, 6 January 2021, 10:33 am
*Subject:* [nanovna-users] Upgrading to latest Firmware problem

Ian,

When you say to click on Update Driver, click on what? On the STM Bootloader entry in Device Manager? I did that as Mike Millen suggested below. Then I went to the drivers section of the DfuSe Demo driver subdirectory, selected the proper driver directory and Windows came back with "Windows has determined that you already have the latest driver installed".
You can't just stop at the directory... you must click on STtube.inf

Mike

Could you please give me a more detailed step by step?

Thanks in advance,
Michael


 

Michael,
How was the reinstallation done?
I use Revo uninstaller when I want to uninstall a program, it deletes the data entered during each installation. Then I do a machine reboot so that the memory is forgotten and then I reinstall the program I want.
I read it somewhere, but I may not select well that it doesn¡¯t work with USB3, only with USB2. That's why I wrote the other machine.

--
*** If you are not part of the solution, then you are the problem. ( ) ***


 

Ian,
I also recommend the NanoVNA-App made by OneOfEleven in addition to the Saver.
Link:

--
*** If you are not part of the solution, then you are the problem. ( ) ***


 

Honestly I can't understand why people still struggle with the DfuSe stuff when NanoVNA-App is so quick and easy and it has been out there for a while. I too struggled with the driver dance the first time around with DfuSe but have not used it since I discovered the App. OneOfEleven has produced a top notch software. Everyone should have a copy in your windows toolbox.

73

-Jim
NU0C

On Wed, 06 Jan 2021 02:43:01 -0800
"Gyula Molnar" <gyula.ha3hz@...> wrote:

Ian,
I also recommend the NanoVNA-App made by OneOfEleven in addition to the Saver.
Link:


 

I also tried NanoVNA-App when I was in the middle of having driver problems. But it also wouldn't see the nanoVNA because it also needs the DFU driver.


 

Have a look here: /g/nanovna-users/message/6921
There are many other references to how forum members fixed their driver issues - please read the very first link in the WIki on searching the forum.
All I did was use the following search term in the search field:?? driver AND delete AND hidden

On Thursday, January 7, 2021, 3:53:52 a.m. EST, mirskym <mirskym@...> wrote:

I also tried NanoVNA-App when I was in the middle of having driver problems. But it also wouldn't see the nanoVNA because it also needs the DFU driver.