bluerobotics / ping-viewer

Ping Viewer is an open-source application to view and record data from the Blue Robotics Ping Echosounder and Ping360 Scanning Sonar.
https://docs.bluerobotics.com/ping-viewer/
GNU General Public License v3.0
40 stars 38 forks source link

Firmware update failing on Windows 10 (stm32flash 0.5, Failed to init device.) #1065

Open dkim1113 opened 8 months ago

dkim1113 commented 8 months ago

Summary

Version: 2.4.1

Operating System: Windows 10

What is happening: Firmware update failing on Windows 10 (stm32flash 0.5, Failed to init device.) The error message: stm32flash 0.5 http://stm32flash.sourceforge.net/ Using Parser : Intel HEX Interface serial_w32: 57600 8E1 Failed to init device

How to reproduce it: Connect Ping2 Sonar to Windows 10 laptop USB port > Open PingViewer > Connect either baud 9600 or 115200 > click the gear icon, try automatic update (current firmware version: 3.28, latest version: Ping-V3.29_auto.hex OR try manual update after downloading Ping-V3.29_auto.hex file. > Click FIRMWARE UPDATE.

Additional information

I am using BLUART USB to TTL Serial and RS485 Adapter (https://bluerobotics.com/store/comm-control-power/tether-interface/bluart-r1-rp/)

image

If possible, add the cra_sh report or the GUI log (Documents/PingViewer/GUI_Log/date-time.txt) 20231016-144000098.txt

ES-Alexander commented 3 months ago

Someone also ran into this in 2.4.2, as brought up in this forum post.

@patrickelectric any ideas on this?

joaoantoniocardoso commented 3 months ago

Maybe it needs to be run as admin?

patrickelectric commented 3 months ago

@joaoantoniocardoso by default ping-viewer run as admin in windows.