Skip to content
/ Nexus Public
forked from MMMZZZZ/Nexus

Nextion Upload Script using upload protocol v1.2

License

Notifications You must be signed in to change notification settings

UNUF/Nexus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nexus

Description

Nexus - short for Nextion Upload Script - is a python script that allows the upload of TFT files to a Nextion screen over serial. Unlike most other scripts out there this one uses the Nextion Upload Protocol v1.2. This is the newer version used by the Nextion Editor itself that allows skipping parts of the TFT file if those have not been modified.

Nextion never published any details about this newer version but it's been reverse-engineered and documented.

Requirements

Usage

Complete documentation of the command line options is available using

python Nexus.py -h

To upload a file at 512000baud/s type

python Nexus.py -i PATH_TO_YOUR_TFT_FILE -u 512000

The script will automatically scan all available ports for a Nextion screen. You can manually specify a port using -p PORT. To list all available ports use

python Nexus.py -l

Troubleshooting

If you get an error like Expected acknowledge (b'\x05'), got b''. it means that Nextion did not respond as expected or not at all. Most likely reasons are a wrong model (TFT file has been compiled for another model) or a too high baudrate.

About

Nextion Upload Script using upload protocol v1.2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%