PISTAR系统OS 和 MMDVM固件Firmware升级

56469total sites visits.

2623total visits.

重要更新:v1.4.12 开始,避让业余卫星频率 145.8-146.0 MHz and 435-438 MHz,否则热点板无法启动
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: WiFi SSID and PASSWORD BE REPLACE WHEN Restore Configuration!

系统PI-STAR OS系统升级

1) 直接刷TF卡: http://www.aprspi.org/mmdvm/mmdvm_flash_os/

2)在线升级:

进入SSH模式:
http://pi-star:2222/
登录:
user: pi-star,
pass: raspberry

执行:
sudo pistar-update && sudo pistar-upgrade #升级配置文件与系统版本

固件升级

 热点板:

sudo pistar-nanohsflash nano_hs                     #小蓝盒NanoPi
sudo pistar-mmdvmhshatflash hs_dual_hat  #双工板  by jTA
sudo pistar-mmdvmhshatflash hs_hat             #带风扇大板,大屏幕一体 ,树莓派单工板 by jTA

对于Nano小蓝盒较早的版本,如果上面的升级失败,请参考下面方法手工升级.

https://github.com/nano-mmdvm/MMDVM_HS_firmware/blob/master/images/Nano_hotSPOT_blueBOX_frimware_UpgradeGuide_CN.jpg  [超大图 电脑下载看]

https://github.com/nano-mmdvm/MMDVM_HS_firmware/blob/master/how-to-upgrade-nano-hs-fw.md  [描述 英文]

手工升级固件(支持降级),用于调试用(双工板为例)

进入SSH模式,
http://pi-star:2222/
usr: pi-star
pas: raspberry

执行命令,使用复制粘贴,
rpi-rw;
wget https://github.com/VR2VYE/MMDVM_HS_firmware/releases/download/v1.4.14/mmdvm_duplex_fw.bin;
sudo pistar-mmdvmhshatflash-custom mmdvm_duplex_fw.bin

如果更新失败,按 Ctrl+C 中断,重新更新
如果提示100%完成,按任意键重启;

固件下载:
VR2VYE编译: https://github.com/VR2VYE/MMDVM_HS_firmware/releases
G4KLX编译: https://github.com/juribeparada/MMDVM_HS/releases

中继板

不能直接在线升级,需要使用GIPO或USB手工升级,推荐USB方式,很好操作,如下

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
升级后支持POCSAG模式(详见本博教程一:中继板)
Video Playlist :(稍后上次到优酷,现在在you土鳖)

有问题请加QQ需求帮助。

常见问题:

1)重刷系统(TF卡)后,Modem无法初始化

原因:NanoPi NEO 升级脚定义GPIO15 GPIO16 电平不稳定(官方称之为电压抖动),导致STM32 MCU被重置RST

解决:

第一种方法(执行自动修复脚本)

进入SSH模式:
http://pi-star:2222/
登录:
user: pi-star,
pass: raspberry

执行:
rpi-rw;
curl -OL https://raw.github.com/VR2VYE/rc/master/rc.sh; sudo chmod +x rc.sh;
sudo ./rc.sh;

等待自动重启。
观察:热点板正常初始化时,所有LED灯均会闪烁自检一遍。

Github问题描述: https://github.com/bi7jta/nano_hotspot_upgrade_gpio_fix

 

第二种方法(手工修改 /etc/rc.local),适用于网络不佳时,注意使用WEB SSH,隔行之间不会自动换行,需要逐行复制粘贴:

1)设置可写模式,命令行执行:
rpi-rw

2)编辑 rc.local文件, 执行(Ctrl+C Ctrl+V,回车即可)
sudo nano /etc/rc.local

3)
移动上下光标,在 exit 0 之前插入下面内容,Ctrl+C 复制,Ctrl+V 粘贴

mount -o remount,rw /
echo 3 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio3/direction
echo 1 > /sys/class/gpio/gpio3/value
echo 3 > /sys/class/gpio/unexport
mount -o remount,ro /

4)
按 ctrl+X 保存并退出,拔电重启 nanoPi,

拔电重启.

第三种方法:下载专用的NanoPi NEO PI-STAR镜像,请加QQ群 320533571

 

2018-8-22 MMDVM_HS v1.4.7 固件发布
更新说明:
修复双工热点与数字电台连接似的时钟漂移问题。

原文:
Release notes:
Fix for clock drift between radio and duplex HS
https://github.com/juribeparada/MMDVM_HS/releases

VR2VYE & BI7JTA固件同步更新,用户可以自行确定使用官方固件还是本博专用固件。
https://github.com/VR2VYE/MMDVM_HS_firmware/releases

jTA用户反馈:
经@M6NBP 验证修复了Anytone 868UV DMR电台 60S 超时断开的问题
Anytone 868 and firmware MMDVM_HS 1.4.7
Works 100%
Radio now stays connected until it hits the preset 180 time out. Nice clean drop from Pi-Star as well
Can you post for all users to download and install.
Works also for the HD1, So should work with all radios that had the issue

感谢原作者 @Andy CA6JAU 对双工板的支持。

使用jTA系列MMDVM产品的用户,请关注本博对应的教程,获得升级方法。

 

发表评论

电子邮件地址不会被公开。 必填项已用*标注