or
download putty ssh login pi-star's ip:22
user:pi-star
pass:raspberry
copy follow pre line and press enter to run the command in putty terminal
----------------------------------------------------------------------------------------
rpi-rw
sudo service mmdvmhost stop
sudo pkill MMDVMHost
cd /tmp
sudo rm MMDVM_HS-1.3.3.bin
sudo wget http://www.taozhengbo.com/MMDVM_HS-1.3.3.bin
sudo chmod 664 MMDVM_HS-1.3.3.bin
sleep 2
sudo pkill MMDVMHost
sudo pkill mmdvmhost.service
sudo stm32flash -v -w MMDVM_HS-1.3.3.bin -g 0x0 -R -i 20,-21,21:-20,21 /dev/ttyAMA0
echo "Rebooting Pi"
sleep 30
sudo reboot
--------------------------------------------------------------------------------------
Video:
https://www.youtube.com/watch?v=gwKgOiBcSxQ&feature=youtu.be
pi-star@h-pi-star(rw):scripts$ ./install_fw_rpi.sh
回覆刪除% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 608 0 608 0 0 298 0 --:--:-- 0:00:02 --:--:-- 299
100 49752 100 49752 0 0 8690 0 0:00:05 0:00:05 --:--:-- 22916
Raspberry Pi 2 or Pi Zero W detected
stm32flash Arduino_STM32_0.9
http://github.com/rogerclarkmelbourne/arduino_stm32
Using Parser : Raw BINARY
Interface serial_posix: 57600 8E1
Failed to init device.
please help.
I got the same error! "Failed to init device".
回覆刪除you must kill MMDVMHost
回覆刪除ps -ef see MMDVMHost 's pid
then kill pid of MMDVMHost
then run ./install_fw_rpi.sh
can i use iron wire link two pin ?
刪除Need to cancel the link after the upgrade?
I connect the two pin and my micro sd card broken :(
回覆刪除why?
it is for raspberry pi gpio control RESET MCU and BOOT0 to upgrade mode,so don't nned to cancel link,the easy way only connect 2 last pin to raspberry not short.raspberry control one pin to reset mcu,another pin to boot0 high or low to boot loader mode.
回覆刪除another upgrade method is to use st-link ,board have stlink 4 hold ,GND ,CLK,DIO,3V3 to connect stlink upgrade use STM32 ST-LINK Utility,open .bin file to upgrade.
Where do I find install_fw_rpi.sh?
回覆刪除copy script and save to install_fw_rpi.sh
刪除Hello,
回覆刪除I own a JumboSpot RTQ.
How do I know which firmware revision is currently running on the board?
Thank you.
Regards,
Simone IU3KHJ
you can find in pi-star panel RADIO INFO FW
刪除What method is used to update mmdvm-pi repeater board?
回覆刪除