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

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

Check new firmware

How to enter ssh mode:
http://pi-star:2222/ [Or use IP address]
usr: pi-star
pas: raspberry

1 ) Duplex HAT by BI7JTA VR2VYE


sudo pistar-vyehsflash hs_dual_hat
Radio/Modem Type "MMDVM_HS_Hat Dual Hat(VR2VYE) for Pi(GPIO)"


2)for Nano hotSPOT (BlueBOX)


sudo pistar-vyehsflash nano_hs
change Modem_Type to "MMDVM_HS_NPi Hat (VR2VYE) for Nano Pi(GPIO)"



*For old version HAT,
*If not successful,some old nano HAT need do more operation,connect the upgrade GPIO jumper, detail see here.
https://github.com/nano-mmdvm/MMDVM_HS_firmware/blob/master/how-to-upgrade-nano-hs-fw.md

3)for RPi_Simplex hotspot

sudo pistar-mmdvmhshatflash hs_hat  



4)for MMDVM repeater board make by jTA
For V1_F105 version
*Important* Current hardware Just support use boot loader flash HAT firmware


The new firmware version is RPT_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  

Demo videos :





https://www.youtube.com/playlist?list=PLe3vAuVeEGj-p4WhxvPDDpKf82AYa7e6B

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

For V3 F446 Version
Coming soon,

Contact me,


No comments:

Post a Comment

Pi-Star 4.1 (Buster) support Raspberry Pi 4

I will upload demo video when my Pi 4(4G) arrived . Description: https://forum.pistar.uk/viewtopic.php?t=1906 Download IMG http://w...