Saturday, June 9, 2018

Flash Nextion Firmware Online(without USB Adapt or SDCard)


Flash Nextion Firmware online(ssh),thanks Peng Hui Ping VR2VYE provide this method ,from now not need SD Card and USB adapt again. Later follow my status.

First publish in https://www.facebook.com/winters.cn/posts/1620668804697067



How to do
1) login ssh mode:
http://pi-star/admin/expert/ssh_access.php
default
usr: pi-star
pas: raspberry

Copy the follow RED text ,then Ctrl+V, and press ENTER,
Notice that rpi-rw, sudo su , su pi-star, just support one line one time

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

#3) Install require runtime
sudo su; 
rpi-rw; 
cd /tmp;
git clone https://github.com/pyserial/pyserial.git;
cd pyserial;
python setup.py install;

#When install  runtime complete,change to pi-star user
su pi-star
cd /home/pi-star

#Download nextion.py
wget https://raw.githubusercontent.com/g4klx/MMDVMHost/master/Nextion_G4KLX/nextion.py

#4)Download Nextion firmware to current directory
#for 4.3 inch NX4827T043
wget https://github.com/nano-mmdvm/Duplex_hotSPOT/raw/master/nextion/NX4827T043_G4KLX_ShowIP_by_BI7JTA.tft

#for 3.2 inch NX4024T032
wget https://github.com/nano-mmdvm/Duplex_hotSPOT/raw/master/nextion/NX4024T032_G4KLX_ShowIP_by_BI7JTA.tft


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

#6)Flash to /dev/ttyUSB0
python nextion.py NX4827T043_G4KLX_ShowIP_by_BI7JTA.tft /dev/ttyUSB0

#Flash to /dev/S2 when using modem,4 PINs header
Now not support

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






No comments:

Post a Comment

Pager Setting User Guide 0810

Download Pager ID Programmer software http://mmdvm.io/files/POCSAG/ for windows Setting Write your RID and S/N ,frequency En...