Sunday, May 20, 2018

Firmware upgrade UserGuide for MMDVM HAT(Simplex/Duplex/Repeater) made by BI7JTA

Important update ,from firmware v1.4.12

Frequency restrictions to avoid satellite interference. Please avoid the following ranges: 145.8-146.0 MHz and 435-438 MHz, otherwise firmware will not start.
tail -100f /var/log/pi-star/MMDVM-2018-11-21.log
Error message Received a NAK to the SET_FREQ command from the modem

1)  WiFi SSID and PASSWORD BE REPLACE WHEN Restore Configuration!
2) If run firmware upgrade script error ,run Pi-Star OS first 
sudo pistar-update && sudo pistar-upgrade

1 ) Duplex hotSPOT by BI7JTA VR2VYE

Original from

The lastest Version is 1.4.4 when update this guide,the newest you can find in github.

There are 3 ways to upgrade,
Make sure you has choose
Radio/Modem Type "STM32-DVM/ MMDVM_HS-Raspberry Pi Hat(GPIO)"

How to enter ssh mode:
usr: pi-star
pas: raspberry

1) Use inner upgrade tools in Pi-Star OS

Use official version, build by G4KLX (Just for duplex HAT, Not simplex HAT)
sudo pistar-mmdvmhshatflash hs_dual_hat

Use VR2VYE build version
#take ver 1.4.8 for example, the newest version visit github

sudo pistar-mmdvmhshatflash-custom mmdvm_duplex_fw.bin 

2) Manual execute upgrade, this way support downgrade version.

Use BI7JTA & VR2VYE build version
Use Andy CA6JAU Version

#1) login ssh mode:
usr: pi-star
pas: raspberry

Copy all follow text ,then Ctrl+V, and press ENTER

#2) Change system to Read and Write
cd ~

#3) Download flash script , take  version 1.4.4 for example
#View the last version available here 
curl -OL

#4) make runable
sudo chmod +x

#5) Stop MMDVMHost serice
sudo pistar-watchdog.service stop; sudo systemctl stop mmdvmhost.timer; sudo systemctl stop mmdvmhost.service

#6) Flash to lastest version

#7) Startup MMDVMHost service
sudo pistar-watchdog.service start; sudo systemctl start mmdvmhost.timer; sudo systemctl start mmdvmhost.service

2)for MMDVM repeater board make by jTA

Update: This firmware is compiled by BI7JTA, use source code from G4KLX 20180822, synchronize with duplex hotspot Ver 1.4.7 

New feature: Support POCSAG mode.

Flash use USB 
Suggest this way,enter flash mode easy then GPIO
1)Use USB mode  
1.1 Disconnect STM32-DVM from the RPi host, GPIO and USB all disconnect,  
1.2 Insert JP jumper, short BOOT and VCC near P25 LED,  
1.3 Connect STM32-DVM to the RPi host use USB wire, then will endter flash mode automatic. PWR, ACT and DMR will bright, not flashing (Very important,if not as I description, disconnect USB and connect again) .  
1.4 Flash use USB (replace your .hex path, and download stm32flash,see Require libs )  
sudo stm32flash -w /usr/src/MMDVM/bin/mmdvm.hex -v /dev/ttyUSB0  
Require libs  

Video Playlist :

Flash use ST-LINK
Buy a ST-Link ,then connect to the board ST-LINK interface, then open STM32 ST-LINK Utility, choose mmdvm.hex,then flash.

3 ) Nano hotSPOT (Bluebox)

sudo pistar-nanohsflash nano_hs
If not successful,some old nano HAT need do more operation,connect the upgrade GPIO jumper.

4)for RPi_Simplex_hotspot  && hotSPOT in LCD make by jTA

sudo pistar-mmdvmhshatflash hs_hat  

Pi-Star OS update and upgrade
sudo pistar-update && sudo pistar-upgrade

About MMDVM Repeater board by BI7JTA

G4KLX source code

No comments:

Post a Comment

Bluetooth Adapter for Nextion User guide

Test:  AT  Set Master AT+ROLE=M Set Slave AT+ROLE=S  Set Baud ...