Sunday, May 20, 2018

Firmware upgrade UserGuide for MMDVM HAT made by BI7JTA


1 ) Duplex hotSPOT by BI7JTA VR2VYE

Original from
https://github.com/VR2VYE/MMDVM_HS_firmware/releases
https://github.com/juribeparada/MMDVM_HS/releases

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:
http://pi-star:2222/
default
usr: pi-star
pas: raspberry


1) Use inner upgrade tools in Pi-Star OS

Use official version, build by G4KLX
sudo pistar-mmdvmhshatflash hs_dual_hat

Use VR2VYE build version
rpi-rw
#take ver 1.4.8 for example, the newest version visit github
wget https://github.com/VR2VYE/MMDVM_HS_firmware/releases/download/v1.4.8/mmdvm_duplex_fw.bin

sudo pistar-mmdvmhshatflash-custom mmdvm_duplex_fw.bin 

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

Use BI7JTA & VR2VYE build version
https://github.com/VR2VYE/MMDVM_HS_firmware/releases
Or
Use Andy CA6JAU Version
https://github.com/juribeparada/MMDVM_HS/releases

#1) login ssh mode:
http://pi-star:2222/
default
usr: pi-star
pas: raspberry

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

#2) Change system to Read and Write
rpi-rw
cd ~

#3) Download flash script , take  version 1.4.4 for example
#View the last version available here 
https://github.com/VR2VYE/MMDVM_HS_firmware/releases 
or
https://github.com/juribeparada/MMDVM_HS/releases
curl -OL https://github.com/VR2VYE/MMDVM_HS_firmware/releases/download/v1.4.4/install_fw_duplex.sh

#4) make runable
sudo chmod +x install_fw_duplex.sh

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

#6) Flash to lastest version
./install_fw_duplex.sh

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



2 ) Nano hotSPOT (Bluebox)

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

https://github.com/nano-mmdvm/MMDVM_HS_firmware/blob/master/how-to-upgrade-nano-hs-fw.md



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

sudo pistar-mmdvmhshatflash hs_hat  



4)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.

About MMDVM Repeater board by BI7JTA

G4KLX source code



No comments:

Post a Comment

Add Bluetooth connector between Nextion and Duplex hotspot

Purpose: Use HC05 instead of USBtoTTL Serial port Preview: Continue update ...