Keyboard Shortcuts
ctrl + shift + ? :
Показати всі комбінації клавіш
ctrl + g :
Не доступний для безкоштовних груп.
ctrl + shift + f :
Знайти
ctrl + / :
Сповіщення
esc to dismiss
Лайки
Пошук
Recovering NanoVNA H4 from "USB device (device descriptor request failed)"
Hello Folks,
Saw couple topics related with "USB device (device descriptor request failed)" on this group, at least two of them - similar to what I'm facing right now - seems to have no solution. When trying to put my NanoVNA H4 in DFU mode (click the wheel + power on), Windows 10 would show it under device manager as "USB device (device descriptor request failed)". Other than trying to upgrade firmware, the device seems to be working properly. Tried unsuccessfully couple solutions found here and there: - Right clicked "USB device (device descriptor request failed)" and point to installation folders of "DfuSe Demo V3.0.6" and "STM32 Cube Programmer 2.16.0", trying to discover DFU drivers - Excluded "USB device (device descriptor request failed)" from USB power saving - Entered DFU from NanoVNA H4 advanced configuration menu; entered DFU mode by shunting the BOOT0 and the adjacent VDD pins - Also tried on macOS and Linux... The NanoVNA H4 seems to have no problem entering DFU using one of available modes to do so, but somehow, once in that mode, wrongly presenting himself to OS. I believe during the last firmware upgrade some part of the NanoVNA H4 has been wiped / wrongly flashed etc..., ruining the USB flashing interface. While further googling this issue, I found "nanoVNA-H – recovery" (https://owenduffy.net/blog/?p=16699) that describes a procedure to flash NanoVNA H, using SWD interface. Such procedure consist in connecting an external STM32 programer (STLINK-V3SET) to the pins SWDIO, SWCLK, GND and NRST present in both NanoVNA H and H4. Did anyone tried recovering NanoVNA H/H4 from this issue using STM32 programmer? (sorry for the long post, just want to be clear on my ask) Regards, Anaxi |
Flashing with stlink will always work. It's no different than flashing a
stm32 developer board. On Wed, 24 Apr 2024, 12:32 Anaxi via groups.io, <anxanywhere= gmail.com@groups.io> wrote: Hello Folks, |
Hi Anaxi,
переключити цитоване повідомлення
Показати цитований текст
I had a problem updating my Nano VNA H4 firmware the other day, I tried using Dfu_Demo and STM32CubeProgrammer neither of which worked, after one attempt it even stopped the screen working completley but it still wrnt into DFU mode when being powered on, I even tried NanoVNA -App and that also failed, eventuallt I found this artical Updating the NanoVNA Firmware – Ripples in the Ether (nt7s.com) <https://nt7s.com/2019/11/updating-the-nanovna-firmware/> followed the instructions and it worked, firmware updated and screen back to normal, recakibrated everything and all is good. One slight bit of confusion dfu-util showed me two devices, which I eventuall worked, it was treating the internal memory and the SD card as two separate devices, I selected the "Internal Flash" as the target and it worked. Zadig did spend a few minutes updating the drivers or at least it said it did, I didn't check version numbers before and after. After trying this I did not try DFU_Demo or STM32CubeProgrammer again so cannot say I if Zadig alone will fix the problem but I have also read somewhere that there is a problem with STM32CubeProgrammer v2.16 not recognising drivers and that going back to v2.15 does work. Good luck. David Pryor On Wed, 24 Apr 2024 at 14:27, Anaxi <anxanywhere@...> wrote:
Hi Dragan, |
DFU mode is a feature of the firmware so if your hypothesis is correct
(firmware issue) this would resolve it. I doubt that is the case since it is recognized by the OS. I would try with Linux again and post the error that you get. On Wed, 24 Apr 2024, 15:27 Anaxi via groups.io, <anxanywhere= gmail.com@groups.io> wrote: Hi Dragan, |
dmesg -w in the console then plug in the device. That should be enough to
figure out what is going on. Make sure that you are using the supplied USB cable or one that you are sure it works as data cable. On Wed, 24 Apr 2024, 19:12 Anaxi via groups.io, <anxanywhere= gmail.com@groups.io> wrote: Hi Dagan, |
If it recognizes the device as a serial port in normal mode then your
hypothesis is probably right. Order an stlink clone from AliExpress or eBay and flash the firmware that way. On Wed, 24 Apr 2024, 22:54 Anaxi via groups.io, <anxanywhere= gmail.com@groups.io> wrote: Hi Dagan, |
If everything works, except USB communication, then it has to be a hardware
issue. On Sat, 27 Apr 2024, 03:38 Anaxi via groups.io, <anxanywhere= gmail.com@groups.io> wrote: Well... got the STM32 programmer today... |
DFU mode comm is *NOT* a part of the downloadable software - it is part of the embedded bootloader.
переключити цитоване повідомлення
Показати цитований текст
On April 26, 2024 9:38:41 PM EDT, Anaxi <anxanywhere@...> wrote:
Well... got the STM32 programmer today... --
Sent from my Android device with K-9 Mail. Please excuse my brevity. |
Good news :) Disconnecting the battery for long period (this case was about 12h) solved the problem.
|
Повідомлення
Меню
Додаткові параметри
Більше
to navigate to use esc to dismiss