Sunday, March 3, 2019


Not found,  but you can find the code define from G4KLX Project

Flash Nextion Firmware online(ssh),
thanks Peng Hui Ping VR2VYE provide this method ,from now not need TF Card. Video demo follow my facebook status and the end of this article.
First publish in
*Now not support board 4 PINs header output mode, Pi-Star setting Nextion (Modem)

Prepare tools
1x USBtoTTL Adapter, such as CP2102, PL2303 model
require pyserial runtime

How to do
1) login ssh mode:
default login
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

#Change system to Read and Write

Step 1, Install require runtime . VERY IMPORTANT!

sudo su; 
cd /tmp;
git clone;
cd pyserial;
python install;

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


Step 2, download Nextion firmware (*.tft not *.HMI)

#Download Nextion firmware to current directory
#for 4.3 inch NX4827T043

#for 3.2 inch NX4024T032

Step 3, flash use command 

#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 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

Note: Only a member of this blog may post a comment.

TKR-850 Upgrade DMR MMDVM repeater

 Assemble for Keenwood, plugs and play. Check it out .