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

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

#3) Install require runtime
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


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

#for 3.2 inch NX4024T032

#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

Add Bluetooth connector between Nextion and Duplex hotspot

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