Changes

Jump to: navigation, search

Orange Pi One Plus

2 bytes added, 10:48, 22 June 2022
Introduction to serial debugging tools
== '''Introduction to serial debugging tools''' ==
<br>
First you need to prepare a USB to TTL serial cable similar to the picture belowfollowing figure:<br><div style="padding-left:200px;">[[文件:Orange-pi-3-img28.png|800px600px]]</div>Connect the serial port cable as shown in the figure below. From the silk screen on the back of the board, you can see that the corresponding functions of the cables of different colors are as follows:<br>
* Black—GND
* Green-RX
* White-TX
<div style="padding-left:200px;">[[文件:Orange-pi-lite2one-img6plus-img5.png|800px600px]]</div>
<br>
=== '''Use on Windows platform''' ===
In the process of using OrangePi for project development, in order to obtain more debugging information, OrangePi supports serial port information debugging by default. For developers, they only need to prepare the materials mentioned above to get serial debugging information. The serial debugging tools used by different host computers are similar. Basically, you can refer to the methods below to deploy. There are many tools for serial debugging on the Windows platform. The commonly used tool is putty. This section uses putty as an example to explain deployment.<br>
<br>
* '''(1)Install USB driver'''<br>
<br>
Download the latest driver PL2303_Prolific_DriverInstaller_v130.zip, download and unzip.<br>
Wait for the installation to complete
<div style="padding-left:200px;">[[文件:Orange-pi-3-img32.png|800px]]</div>
* '''(2)Download and install Putty'''<br>
<br>
Putty can be downloaded from the following address, please choose the version suitable for your development environment.<br>
is shown in the figure below.</p>
<div style="padding-left:40px;">[[文件:Orange-pi-lite2-img7.png|600px]]</div>
* '''(3)Acquisition of equipment information'''<br>
<br>
 In Windows 7, we can check whether the serial port connection is normal and the device number of the serial port through the device manager. If the device is not recognized properly, please check if the driver is successfully installed. If there is a problem with the driver installation, you can try to scan and install the driver using 360 Driver Master.
<div>[[文件:Orange-pi-3-img33.png|800px]]</div>
<br>
* '''(4)Putty configuration'''<br>
<br>
 Set the serial port to the corresponding port number (COM4), disable flow control, and set the speed to 115200
There is not much difference between using putty on the Linux platform and the Windows platform. The following mainly describes the operation steps where there are differences. All operations are based on Ubuntu 14.04 system.<br>
<br>
* '''(1)Install and launch Putty'''<br>
<div style="background:#f1f1f1;border:1px solid #ddd;padding:5px;">
$ sudo apt-get install putty<br>
</div>
<br>
* '''(2)Configure Putty'''<br>
<br>
The serial number can be viewed through ls / dev / ttyUSB *<br>

Navigation menu