This post was last edited by IoT Maker on 2021-12-5 19:31
The only reference document for the network port remote screen update function is "Network Function Application Instructions", which is relatively simple and not very clear, although there are step-by-step instructions:
Simply put, configure the IP address and port in SGTools . This means that the screen acts as the server during the remote upgrade process, and the server's IP is based on the local area network of the router connected to the network cable port. This can be viewed based on other devices connected to the router. For example, if the computer and the screen are connected to the same router, then you can check the computer's IP in this router to find out the IP segment under the router . My computer IP is 192.168.0.100 , so set the server IP in SGTools to 192.168.0.101 or other 192.168.0.xxx .
Configure in the project settings of SGTools :
After setting, download the project to the screen via USB , and then send the following to the screen via the serial port: AA E3 00 CC 33 C3 3C to enter the remote upgrade command. The screen is black:
Next, open the TOPWAY_Remote_Update_Tools remote upgrade software. This software acts as a client, so you need to enter the server IP and port to connect:
After setting up the server and IP , you need to load the upgrade file, which is the output file in the SGTool project generated file . After loading, click " UPDATE " to start the remote upgrade. The following prompt often appears:
I tried to upgrade dozens of times, but the "OUTTIME" message appeared every time . Later , I suspected that the path of the OUTPUT file was too deep, which caused the upgrade software to take too long to read and process, resulting in frequent " OUTTIME " messages. So I copied the OUTPUT file to the desktop and loaded it for testing.
It turned out that it was caused by the path being too deep. After putting it on the desktop and upgrading it, it was successful in just one try!
The OUTPUT file uploaded above is relatively small, containing only 3 pictures. Then a file with 14 pictures was tested for remote update. In the first upgrade, " OUTTIME " appeared at about 80% of the total progress . After the failure, the upgrade was restarted after manually clicking again to try the upgrade. It took about 4 minutes in total. This is still a bit questionable. I would like to ask Topmicro officials: During the remote upgrade process, if the upgrade is terminated due to verification or timeout problems, can the user click the upgrade again to continue the upgrade at the problematic location instead of starting from the beginning? This will increase the upgrade speed and avoid a lot of waiting time when problems occur when upgrading large files. I think after such optimization, the upgrade experience will be more perfect.
In addition, it must be said that the network communication function of this smart screen module of Topway is quite practical. For some products that have been sent to customers, once there are some problems with the products or customers have new requirements, it is extremely convenient to debug the screen through the Internet. Next,
was used to test the query version, curve display and other commands sent through the network port, which was also successful. This function belongs to the remote control of the screen. As long as the screen is connected to the network port and successfully connected to the Internet, we can connect to the serverIPand port created by the screen through any network tool at the remote end, and send control commands to the screen, achieving the same purpose as sending control commands through the serial port, which greatly facilitates remote debugging and saves time and labor costs.
The following figure shows the test of communication control through the network debugging assistant and the screen: