Hi Wade,
Can you explain how the application crashed ?
Can you send us the log when this happened ?
We never got a crash while flashing the sensor until now, any log could be important, you can read more about the interface logs and the folder structure here.
Just to make sure, please reset ping-viewer settings with the header menu, you can read more about it here, and connect the device again to the computer to see if it’s working.
To flash an damaged sensor, right now it’s only possible if you open the device, turning the blue ring in counterclockwise direction:
If you turn on the device and a led start to blink, the device should be good and the firmware is running fine.
If the led is not blinking:
- Open the folder that ping-viewer binary is.
- Copy the folder path.
- Open your OS terminal. (powershell on windows).
- type:
cd "ping-viewer folder path"
- After that you should download the last firmware available:
- On windows:
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/bluerobotics/ping-firmware/master/ping1d/Ping_V3.26_115kb.hex" -OutFile "$PWD/Ping_V3.26_115kb.hex"
- On linux:
wget "https://raw.githubusercontent.com/bluerobotics/ping-firmware/master/ping1d/Ping_V3.26_115kb.hex"
- On windows:
- With the sensor open, you should see a BOOT button in the main board, click and hold this button down and power the device, you should see no LED blinking.
- You should check the port of the device with windows Device Manager or with
dmesg
on linux. - After finding the port (COMx on windows and /dev/ttyUSB* on linux) you can start the flash procedure.
- In the same terminal type:
- On windows
.\stm32flash.exe -v -g 0x0 -b 115200 -w .\Ping_V3.26_115kb.hex COM4
- Where COM4 is my serial port
- On linux
.\stm32flash -v -g 0x0 -b 115200 -w .\Ping_V3.26_115kb.hex /dev/ttyUSB0
- Where /dev/ttyUSB0 is my serial port
- On windows
If the instructions are not clear or sound a bit complicated, please wait a bit more for us to create a Ping-Viewer version that allows you to flash non detected devices.
You can check the status of this issue here:
https://github.com/bluerobotics/ping-viewer/issues/468