Firmware upgrading from v1.4.7 to v1.4.8

Help and support for ZUMSpot Hardware
waynedc
Posts: 7
Joined: Sat Apr 14, 2018 1:42 am

Firmware upgrading from v1.4.7 to v1.4.8

Post by waynedc » Sat Sep 15, 2018 3:24 am

I am having an issue getting my ZumSpot firmware on a Pi-Zero-W upgraded from v1.4.7 to v1.4.8. I get the following result in SSH at the end of a "SUDO PISTAR-ZUMSPOTFLASH RPI" command:

Flashing your rpi modem complete, press any key to reboot your Pi-Star System...Total wall clock time: 2.7s
Downloaded: 1 files, 2.8K in 0.003s (990 KB/s)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 608 0 608 0 0 1050 0 --:--:-- --:--:-- --:--:-- 1051
100 43536 100 43536 0 0 33056 0 0:00:01 0:00:01 --:--:-- 240k
Cloning into 'STM32F10X_Lib'...
remote: Counting objects: 174, done.
remote: Total 174 (delta 0), reused 1 (delta 0), pack-reused 173
Receiving objects: 100% (174/174), 3.27 MiB | 945.00 KiB/s, done.
Resolving deltas: 100% (60/60), done.
Checking connectivity... done.
Raspberry Pi 2 or Pi Zero W 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 your rpi modem complete, press any key to reboot your Pi-Star System...

My Pi-Star dashboard continues to indicate the FW is v1.4.7. Updates and upgrades are the latest and the device has been shut down and rebooted. This firmware update has been attempted several times with the same result. Any assistance is appreciated.

Wayne
N7ZQS

User avatar
KE0FHS
Posts: 1072
Joined: Wed Apr 11, 2018 8:40 pm
Location: Colorado, USA
Contact:

Re: Firmware upgrading from v1.4.7 to v1.4.8

Post by KE0FHS » Sat Sep 15, 2018 1:02 pm

Hi Wayne, are you sure your modem board is a ZUMspot (typically purchased from HRO)? There are clone boards that look similar but require different firmware.
73, Toshen, KE0FHS
Playing with Pi-Star (unofficial notes about setting up and using Pi-Star):
https://amateurradionotes.com/pi-star.htm

waynedc
Posts: 7
Joined: Sat Apr 14, 2018 1:42 am

Re: Firmware upgrading from v1.4.7 to v1.4.8

Post by waynedc » Sat Sep 15, 2018 2:25 pm

I am positive as that is where I purchased it. It is the Zumspot and Pi-Zero kit they sell. It is the only one I have.

Wayne
N7ZQS

User avatar
KE0FHS
Posts: 1072
Joined: Wed Apr 11, 2018 8:40 pm
Location: Colorado, USA
Contact:

Re: Firmware upgrading from v1.4.7 to v1.4.8

Post by KE0FHS » Sat Sep 15, 2018 2:41 pm

I'm guessing your hotspot was working fine on v1.4.7. If that's true, one further thing I can think of is to try using a different power supply (steady 2.5A output is key), then perform a hotspot shutdown, power off, and restart, and then try the firmware update again. Also, in general I trust using a standalone SSH app like Termius or PuTTY more than the Expert Editor's SSH Access window, which is an implementation of Shellinabox, and can sometimes be a little moody.
73, Toshen, KE0FHS
Playing with Pi-Star (unofficial notes about setting up and using Pi-Star):
https://amateurradionotes.com/pi-star.htm

waynedc
Posts: 7
Joined: Sat Apr 14, 2018 1:42 am

Re: Firmware upgrading from v1.4.7 to v1.4.8

Post by waynedc » Sat Sep 15, 2018 3:51 pm

Thank you Toshen,

Yes, the Zumspot works great on v1.4.7. No complaints. I use Putty already for all ssh in to the device. I will confirm good power and try it again.

I do not know what the highlighted text is in my original post, but it mentions a failure. Is that a normal response at the end of the "sudo zumspotflash rpi" process?

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

73,
Wayne
N7ZQS

waynedc
Posts: 7
Joined: Sat Apr 14, 2018 1:42 am

Re: Firmware upgrading from v1.4.7 to v1.4.8

Post by waynedc » Sat Sep 15, 2018 5:07 pm

I confirmed good power and changed power supplies as well. Same results

Thanks for all the help. It is much appreciated.

73,
Wayne
N7ZQS

User avatar
KE0FHS
Posts: 1072
Joined: Wed Apr 11, 2018 8:40 pm
Location: Colorado, USA
Contact:

Re: Firmware upgrading from v1.4.7 to v1.4.8

Post by KE0FHS » Sat Sep 15, 2018 9:25 pm

The first two highlighted lines are normal. The final one is where things went off the rails. I just re-ran sudo pistar-zumspotflash rpi on my hotspot. The final lines were:

Code: Select all

FINISHED --2018-09-15 15:10:26--
Total wall clock time: 1.8s
Downloaded: 1 files, 2.8K in 0.006s (495 KB/s)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   608    0   608    0     0   1253      0 --:--:-- --:--:-- --:--:--  1256
100 43536  100 43536    0     0  40062      0  0:00:01  0:00:01 --:--:--  118k
Cloning into 'STM32F10X_Lib'...
remote: Counting objects: 174, done.
remote: Total 174 (delta 0), reused 1 (delta 0), pack-reused 173
Receiving objects: 100% (174/174), 3.27 MiB | 460.00 KiB/s, done.
Resolving deltas: 100% (60/60), done.
Checking connectivity... 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
Version      : 0x10
Option 1     : 0x00
Option 2     : 0x00
Device ID    : 0x0410 (Medium-density)
- RAM        : 20KiB  (512b reserved by bootloader)
- Flash      : 128KiB (sector size: 4x1024)
- Option RAM : 16b
- System RAM : 2KiB
Write to memory
Erasing memory
Wrote and verified address 0x0800aa10 (100.00%) Done.

Starting execution at address 0x08000000... done.

Flashing your rpi modem complete, press any key to reboot your Pi-Star System...
When I pressed a key, it rebooted.

At this point, things are beyond my knowledge level. If you're on Facebook, you may want to ask on the ZUMspot group. You might also want to contact HRO, as I guess it's possible you have a unit with an issue or defect that is preventing the new firmware from being written.

Good luck! I hope you get it sorted out soon.
73, Toshen, KE0FHS
Playing with Pi-Star (unofficial notes about setting up and using Pi-Star):
https://amateurradionotes.com/pi-star.htm

waynedc
Posts: 7
Joined: Sat Apr 14, 2018 1:42 am

Re: Firmware upgrading from v1.4.7 to v1.4.8

Post by waynedc » Sat Sep 15, 2018 11:55 pm

Thanks Toshen,

I do see a difference in yours vrs my results. It appears you are using a Pi3 as that is what was detected. I am using the Pi Zero W as it was correctly detected.

Appreciate the info.

73,
Wayne
N7ZQS

n9mxq
Posts: 195
Joined: Sun Apr 29, 2018 12:12 pm

Re: Firmware upgrading from v1.4.7 to v1.4.8

Post by n9mxq » Sun Sep 16, 2018 1:21 pm

The "Failure to Init device" line tells the tail. the Pi isn't seeing the MMDVM board via the upgrade pins (38 and 40). If those are properly connected between the Pi and MMDVM, my bet is the board has an issue.

When I ran the Jumbospot group on Facebook we'd see this weekly, those boards usually didn't come with those 2 pins connected and users would wonder why they couldn't upgrade..
Gene in Belvidere IL
3b+/Duplex Spot (DMR) and
3b+/Duplex Spot (YSF) at home
Pi0W/Zumspot portable (Spare)
Pi0W/Jumbospot while Mobile

User avatar
KE0FHS
Posts: 1072
Joined: Wed Apr 11, 2018 8:40 pm
Location: Colorado, USA
Contact:

Re: Firmware upgrading from v1.4.7 to v1.4.8

Post by KE0FHS » Sun Sep 16, 2018 1:55 pm

I do see a difference in yours vrs my results. It appears you are using a Pi3 as that is what was detected
Good catch, but makes no difference. Just re-ran the same sequence on my ZUMspot mobile hotspot, which uses a RPi Zero W:

Code: Select all

FINISHED --2018-09-16 07:50:20--
Total wall clock time: 2.2s
Downloaded: 1 files, 2.8K in 0.003s (889 KB/s)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   608    0   608    0     0   1236      0 --:--:-- --:--:-- --:--:--  1240
100 43536  100 43536    0     0  40242      0  0:00:01  0:00:01 --:--:-- 85869
Cloning into 'STM32F10X_Lib'...
remote: Counting objects: 174, done.
remote: Total 174 (delta 0), reused 1 (delta 0), pack-reused 173
Receiving objects: 100% (174/174), 3.27 MiB | 524.00 KiB/s, done.
Resolving deltas: 100% (60/60), done.
Checking connectivity... done.
Raspberry Pi 2 or Pi Zero W detected
stm32flash Arduino_STM32_0.9

http://github.com/rogerclarkmelbourne/arduino_stm32

Using Parser : Raw BINARY
Interface serial_posix: 57600 8E1
Version      : 0x10
Option 1     : 0x00
Option 2     : 0x00
Device ID    : 0x0410 (Medium-density)
- RAM        : 20KiB  (512b reserved by bootloader)
- Flash      : 128KiB (sector size: 4x1024)
- Option RAM : 16b
- System RAM : 2KiB
Write to memory
Erasing memory
Wrote and verified address 0x0800aa10 (100.00%) Done.

Starting execution at address 0x08000000... done.

Flashing your rpi modem complete, press any key to reboot your Pi-Star System...
73, Toshen, KE0FHS
Playing with Pi-Star (unofficial notes about setting up and using Pi-Star):
https://amateurradionotes.com/pi-star.htm

Post Reply