ZumRadio-MMDVM firmware update?

Help with other MMDVM Repeater Boards (with NO onboard RF)
Post Reply
N6MIK
Posts: 35
Joined: Wed Apr 18, 2018 12:53 am

ZumRadio-MMDVM firmware update?

Post by N6MIK » Sun Jul 15, 2018 3:58 pm

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

N9UMJ
Posts: 3
Joined: Thu Apr 12, 2018 1:28 am

Re: ZumRadio-MMDVM firmware update?

Post by N9UMJ » Wed Sep 12, 2018 5:31 am

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-

User avatar
VK7HSE
Posts: 62
Joined: Sun Apr 15, 2018 6:35 pm
Contact:

Re: ZumRadio-MMDVM firmware update?

Post by VK7HSE » Wed Sep 12, 2018 5:22 pm

The very last command should be

sudo make deploy-pi

Sent from my Pixel 2 XL using Tapatalk


Post Reply