Page 1 of 1

Unable to upgrade firware to v1.5.2 on 7 hotspots

Posted: Sun Jan 10, 2021 1:52 pm
by AA3JC
I have 7 mmdvm dual pio boards that will not upgrade to https://github.com/juribeparada/MMDVM_H ... tag/v1.5.2
All are running Pi-Star:4.1.3 / Dashboard: 20201205, half of the hotspots are running on Pi 3b and Pi 4's with same issue. All have been updated and upgraded to the latest versions.

Not sure if I am doing something wrong, but the error seen in SSH and the results as follows: "Failed to init device" I even did it twice on all 7 hotspots with the same errror, the second time checking that the folder was empty prior to downloading the file again. I've double checked that it is the correct modem and it is a mmdvm dual hat 14.7456mhz. Any ideas ??

https://github.com/juribeparada/MMDVM_H ... hat_fw.bin

RESULTS ON SCREEN WHILE RUNNING FIRMWARE UPDATE IN SSH:

pi-star@aa3jc-06(rw):~$ sudo pistar-mmdvmhshatflash-custom mmdvm_hs_dual_hat_fw.bin
MMDVM_HS_Dual_Hat-v1.4.17 20190529 14.7456MHz dual ADF7021 FW by CA6JAU GitID #cc451c
4
Press any key to write the mmdvm_hs_dual_hat_fw.bin firmware to this modem or Ctrl-C
to quit...
Cloning into 'STM32F10X_Lib'...
remote: Enumerating objects: 193, done.
remote: Total 193 (delta 0), reused 0 (delta 0), pack-reused 193
Receiving objects: 100% (193/193), 3.28 MiB | 6.02 MiB/s, done.
Resolving deltas: 100% (71/71), done.
Raspberry Pi 3 detected
stm32flash Arduino_STM32_0.9

http://github.com/rogerclarkmelbourne/arduino_stm32

Using Parser : Raw BINARY
Interface serial_posix: 57600 8E1
Failed to init device.

Flashing mmdvm_hs_dual_hat_fw.bin to your modem complete, press any key to reboot you
r Pi-Star System...
Session closed.

Re: Unable to upgrade firware to v1.5.2 on 7 hotspots

Posted: Sun Jan 10, 2021 1:55 pm
by G8SEZ
Do you have the dual HAT's BOOT1 jumper bridged with solder? It being open is often the cause of this error.

Re: Unable to upgrade firware to v1.5.2 on 7 hotspots

Posted: Sun Jan 10, 2021 4:01 pm
by AA3JC
They all have previously had modem firmware upgrades done 2 times prior without issues....so not sure if that is the problem, but I will research it, Thanks for the help!

Re: Unable to upgrade firware to v1.5.2 on 7 hotspots

Posted: Sun Jan 10, 2021 4:18 pm
by G8SEZ
Also noticed you are using the -custom flash script, for me this works with the normal one without -custom

so run

sudo pistar-mmdvmhshatflash hs_dual_hat

assuming that you have 14.7456MHz TCXOs