bluerobotics / bluerobotics/ping-viewer
Firmware update failing on Windows 10 (stm32flash 0.5, Failed to init device.)
- Dominant language
- C++
- Stars
- 64
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
---
## 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/)
>

> If possible, add the cra_sh report or the GUI log (Documents/PingViewer/GUI_Log/date-time.txt)
[20231016-144000098.txt](https://github.com/bluerobotics/ping-viewer/files/12912654/20231016-144000098.txt)
Contributor guide
Research direction
Start by reproducing the update in PingViewer on Windows 10 with the BLUART adapter, using the reported connection and baud-rate steps. Review the attached GUI log at Documents/PingViewer/GUI_Log/date-time.txt alongside the stm32flash output. Done means the automatic or manual Ping-V3.29 firmware update completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100