Note: Continuation of the previous article "Embedded Linux Development Board_Xunwei iTOP-4412 Elite Edition Getting Started (1)"
Table of contents
3. Installation and learning of iTOP-4412 platform basic software
3.1 Installation and configuration of HyperTerminal
3.1.1 Install USB to serial port driver
3.1.2 Installation of HyperTerminal
3.1.4 System configuration of HyperTerminal
3.2.1 Installation and configuration of VMware and Ubuntu
3.2.2 Virtual machine networking settings
3.3 Installation and use of SSH software
3.3.2 Connection failure handling
4. Installation and configuration of Android ADB driver
4.1 Win7 system ADB offline installation
4.2 ADB offline installation in win10 system
4.3 Turn off win10 driver automatic update
4.4 Online installation of ADB driver
4.5 Solutions to common problems with ADB driver installation
3. iTOP-4412 Installation and learning of platform basic software
3.1 HyperTerminal Installation and Configuration
3.1.1 Install USB to serial port driver
If the user directly connects the serial port COM3 of the development board to the serial port of the PC, he only needs to install the HyperTerminal software and does not need to install the USB to serial port driver.
If the user is using a laptop or a PC without a serial port, then a USB-to-serial port cable is needed to connect the development board and the PC, and a USB-to-serial port driver needs to be installed.
Download the compressed package of the USB to serial port driver, see the bundled resources:.
The following explains in detail the installation of the USB to serial port driver on a PC.
1) Unzip the compressed package to obtain the file, and select the corresponding installation package according to the operating system of your PC. The following takes WIN10 as an example:
As shown below, then double-click the above executable file to start installing the USB to serial driver.
2) As shown below, select Next to continue the installation.
3) As shown below, select to accept the installation agreement, and then click "Next" to continue the installation.
4) As shown below, the USB to serial port driver is being installed.
5) As shown in the figure below, it will prompt that the driver installation has been completed. Click "Finish" to end the USB to serial port driver installation.
Then check whether the USB to serial port driver is installed correctly.
Taking the author's machine as an example, the screenshot below may be slightly different from the user interface.
6) Users do not need to connect the USB to serial port cable to the PC first, but directly enter the device manager of the operating system, as shown below, and open the "Port".
As shown in the picture below, the red rectangular box shows that the machine has only one serial port, COM1. The author's machine has its own serial port, so it has COM1.
7) Then connect the USB to serial cable to the USB interface of the computer. The device manager displays as shown in the picture below. Comparing the picture below with the picture above, you can find that there is more content in the red rectangular box in the picture below. The COM3 number is the serial port number assigned to you by the system after connecting to the USB of the computer. (It needs to be reminded here that the port number displayed will be different depending on the USB interface that the user plugs in. You only need to pay attention to the serial number that is added after the USB to serial port is inserted. This added serial number needs to be remembered. It will be used in the settings of HyperTerminal.)
At this point, the USB to serial cable driver is installed.
3.1.2 HyperTerminal Installation
After unzipping the "hyperterminal-v2.4.8.zip" installation package, the software "hyper_terminal_latest.exe" will be generated. Then double-click the software "hyper_terminal_latest.exe" to start the installation. Detailed steps are shown in the figure below.
3.1.3 HyperTerminal settings
Open the software "Hyper Terminal" installed in the previous section.
3.1.4 System configuration of HyperTerminal
On PC, users also need to set up the operating system. Taking WIN10 as an example, right-click My Computer/Properties, enter the Device Manager, and click the menu "Port".
Select the COM3 port, right-click Properties, and click "Port Settings". Click OK.
3.2 VMware下Ubuntu 16.04
3.2.1 Installation and configuration of VMware and Ubuntu
3.2.2 Virtual machine networking settings
3. As shown below, select the "Custom" mode and select the network "VMnet8 (NAT)". This mode is suitable for some companies and campus networks with fixed IP. When installing a virtual machine, it will install two additional virtual network cards on the PC, one of which is VMnet8", which is equivalent to the PC building a virtual LAN. When the virtual machine and the PC are connected to the network, connect to The local area network is connected, and then the PC is connected to the external network.
3.3 Installation and use of SSH software
3.3.1 SSH installation
Users can install "SSH software", through which communication between the host and the virtual machine can be easily achieved. SSH software must be installed not only on Windows, but also on Ubuntu systems.
1. Find the bound resource. After decompressing ssh, double-click SSHSecureShellClient-3.2.9.exe in the folder and install it step by step according to the following process.
Generate 2 desktop icons, one for transferring files and one for entering commands. You can switch back and forth without switching interfaces. Entering commands in the SSH Secure Shell is equivalent to the terminal of the Ubuntu system.
2. SSH software must also be installed in the virtual machine system. The command is as follows:
sudo apt-get install ssh
The installation process is as follows:
To view the IP address of the Ubuntu system in the virtual machine, the command is as follows:
ifconfig
From this we can see that Ubuntu’s IP address is
In "File/Quick Connect" in "SSH Secure Files Transfer", enter the IP address and root in the pop-up window as shown below, and then click Connect.
Click Yes in the new pop-up window. connection succeeded.
As shown in the figure below, the left part of "SSH Secure File Transfer" is the file directory of the host, and the right part is the directory of the Ubuntu system.
The connection method of "SSH Secure Shell" is the same, and the connection is successful as shown in the figure below.
3.3.2 Connection failure handling
Note: If there is a connection failure prompt as shown below.
For processing methods, please refer to the article:
Server responded "Algorithm negotiation failed" error solution_It’s only after you’ve been drunk that you know how strong your wine is-tiger’s blog-CSDN blog https://blog.csdn.net/qq_27937043/article/details/123760527
Server responded "Algorithm negotiation failed"[SSH Secure link server error]_vMars_K's blog-CSDN blog https://blog.csdn.net/vMars_K/article/details/95592451
3.3.3 Use of SSH
The SSH Secure Shell connection method is the same as above. After connecting, enter the picture below and you can enter commands. It is called the SSH console, which is equivalent to giving commands to the system in the Ubuntu terminal.
Using this tool can not only transfer files, but also save you the trouble of switching between virtual machines and hosts, improving efficiency. If you use SSH to connect to Ubuntu and find that the newly created folder is not there, you only need to disconnect and connect again to display it.
Regarding how to use SSH, as shown in the interface below, to transfer files between the two systems, just drag and drop with the mouse.
4. Android ADB driver installationand configuration
iTOP-4412 Development Board OTG programming (or fastboot programming) uses the ADB driver.
4.1 win7 system ADB offline installation
Download resources Click the software "android_drv_90000_64.exe" to start the installation.
As shown in the picture below, if anti-virus software is installed, a dialog box will pop up, directly select the trust or installation option to continue the installation.
A warning may pop up again, continue to choose options such as trust or installation.
4.2 ADB offline installation in win10 system
Install the "Driver Wizard" software under win10, and the ADB driver will be automatically installed when OTG connects to the development board. Or install it using a resource package. Double-click to install and follow the remaining steps to install.
4.3 Turn off win10 driver automatic update
Since the win10 system will automatically update the driver, if the driver updates itself, the driver will become unavailable. Here is a method to disable the system from automatically updating the driver. Press the win+R key to open and run as shown below.
How to find the class GUID, right-click on This PC - Device Manager, and in the opened Device Manager, find the properties of the device you want to disable updating by right-clicking on it. For example, a USB serial port device is as shown below.
4.4 ADB Driver online installation
4.5 Solutions to common problems with ADB driver installation
After using "Offline Installation" and "Online Installation", the ADB driver may still be abnormal. The author has repeatedly tested and found that 99% of the cases are caused by the software on the PC "fighting" and rushing to connect to the development board. At this time, users need to be a little patient and use Baidu, as shown below.
The keywords that users may use found in the current test are as follows:
Disable 360 to automatically connect to the phone; disable qq to automatically connect to the phone; disable Tencent Butler to automatically connect to the phone; disable Wandoujia to automatically connect to the phone; disable Baofengyingyin to automatically connect to the phone; disable Driver Wizard to automatically connect to the phone; disable Kingsoft Internet Security to automatically connect to the phone