Page 1 of 1

ZumRadio-MMDVM firmware update?

Posted: Sun Jul 15, 2018 3:58 pm
by N6MIK
Hi all,

I tried to update the firmware using "sudo pistar-mmdvmhshatflash rpi_duplex"

After completing, and power cycling, the modem still reports the original firmware version (MMDVM:20170501)

I must be missing something - any thoughts?

Cheers,
N6MIK

Re: ZumRadio-MMDVM firmware update?

Posted: Wed Sep 12, 2018 5:31 am
by N9UMJ
If it is a zumradio , You are trying to update it with the firmware for a hotspot...This is what you need to do to get the correct firmware into the ZumRadio...Disregard if this is a ZUMSPOT

Installation of necessary software (only once)

If you are using Pi-Star, expand filesystem (if you haven't done before):

sudo pistar-expand
sudo reboot

Enable RW filesystem if you are using Pi-Star:

rpi-rw

Update list of packages:

sudo apt-get update

Install toolchain and necessary packages:

sudo apt-get install git gcc-arm-none-eabi gdb-arm-none-eabi libstdc++-arm-none-eabi-newlib autoconf libtool pkg-config libusb-1.0-0 libusb-1.0-0-dev

Download and compile serial flashing utilities:

cd ~
git clone https://github.com/jsnyder/stm32ld
cd stm32ld
make
sudo cp stm32ld /usr/local/bin

Remove libi2c-dev and stm32flash packages if you are using Pi-Star:

sudo apt-get remove libi2c-dev
sudo apt-get remove stm32flash

Install the latest stm32flash:

cd ~
git clone https://git.code.sf.net/p/stm32flash/code stm32flash
cd stm32flash
make
sudo make install

Another place to get the lastest stm32flash is:

https://sourceforge.net/projects/stm32flash/files/

MMDVM firmware compilation and uploading for MMDVM-Pi

Download firmware sources:

cd ~
git clone https://github.com/g4klx/MMDVM
cd MMDVM
git submodule init
git submodule update

Edit Config.h according your preferences:

nano Config.h

You can select for example:

// #define EXTERNAL_OSC 12000000 (disable any external TCXO)
// #define ARDUINO_DUE_ZUM_V10 (this option doesn't matter for STM32 devices)
#define MODE_LEDS
#define SEND_RSSI_DATA
#define SERIAL_REPEATER
#define USE_DCBLOCKER
#define USE_ALTERNATE_POCSAG_LEDS

Compile:

make pi

If you are using Pi-Star, stop services:

sudo pistar-watchdog.service stop
sudo systemctl stop mmdvmhost.timer
sudo systemctl stop mmdvmhost.service

Upload the firmware:

sudo make deploy-

Re: ZumRadio-MMDVM firmware update?

Posted: Wed Sep 12, 2018 5:22 pm
by VK7HSE
The very last command should be

sudo make deploy-pi

Sent from my Pixel 2 XL using Tapatalk


Re: ZumRadio-MMDVM firmware update?

Posted: Sat Dec 22, 2018 5:24 pm
by G8YDE
Is this the latest "how to" to update the Zum Radio firmware. I have one set up as a dmr hot spot but when connected to TG9990 I can transmit but I don't get an echo also PTT Led not operating so not at the "invert tx audio or invert PTT stage . Firmware is 20170501 Pi-Star v20181220 . any other ideas welcome .
Stuart
G8YDE

Re: ZumRadio-MMDVM firmware update?

Posted: Sat Dec 22, 2018 8:23 pm
by G8YDE
Stupid me I was connected to the wrong phoenix -f server all fine now.

Re: ZumRadio-MMDVM firmware update?

Posted: Thu Feb 18, 2021 2:52 am
by ZL3DMH
There is 2 switches on the mmdvm board,
does the 1 marked boot have to be changed before doing the firmware update.

or do you just leave everything as it has been running and follow these instructions.

Doug ZL3DMH

Re: ZumRadio-MMDVM firmware update?

Posted: Tue Oct 19, 2021 7:04 am
by VK7HSE
ZL3DMH wrote: Thu Feb 18, 2021 2:52 am There is 2 switches on the mmdvm board,
does the 1 marked boot have to be changed before doing the firmware update.

or do you just leave everything as it has been running and follow these instructions.

Doug ZL3DMH
Hello Doug,
I'm sure you have this sorted by now, but the ZumRadio boards don't need you to press any buttons it all taken care of in stm32flash.

Re: ZumRadio-MMDVM firmware update?

Posted: Mon Dec 20, 2021 11:57 am
by F5VMR
Having already successfully compile this sometime ago for GB7HT, I tried to do the same to GB7NE, that has the identical board. The compilation works, and the STM reports successful completion. But when I restore the Pi-Services the modem fails with the following.

E: 2021-12-20 11:51:11.545 Received a NAK to the SET_CONFIG command from the modem

GB7NE has been subjected to a power power failure, so I wonder if either the GPIO section of the Raspberry has become nul, or the STM itself. I suspect the latter as I swapped the Modem board to another Raspberry Pi and the identical response is received.

The Board is 12MHz (or at least GB7HT reports that), but this fails to show when Pi-Star is enabled. I know this is not a Pi-Star issue but an MMDVM/ZUMRadio 0.9 problem. If there are others that have any ideas, I would appreciate it, bearing in mind the flashing works. I have changed the TXCO frequencies, and several other options without success. When trying pistar-mmdvmcal, the terminal reports 'Board not supported', which is not helpful.

Re: ZumRadio-MMDVM firmware update?

Posted: Mon Jan 03, 2022 11:56 am
by F5VMR
OK - So i've gone back to a previous commit. and I can now read the modem with findmodem.
Detected MMDVM (GPIO): /dev/ttyAMA0 (MMDVM 20180327 (D-Star/DMR/System Fusion/P25/NXDN) GitID #f898390)
Now I have an entirely different issue, in that MMDVMCAL works, and transmits perfectly, but when set back to DMR neither the rx nor tx lights operate, that suggests that part of the compilation has failed, although no errors are reported. I'm going to try a further git checkout from the same source as GB7HT, that does work.

POST SCRIPT.
Detected MMDVM (GPIO): /dev/ttyAMA0 (MMDVM 20210101 (D-Star/DMR/System Fusion/P25/NXDN/POCSAG/FM) 12.0000 MHz GitID #34cbff4)
is the build that worked, but I had to rebuild the pi-star to 4.1.5 again to get it to communicate with the modem. It now works.

Not an easy one to resolve.