Open main menu

Wiki-Orange Pi β

Changes

Orange Pi 5 Plus

280 bytes added, 14:40, 6 June 2023
How to use the debugging serial port on the Ubuntu platform
=== How to use the debugging serial port on the Ubuntu platform ===
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''There are many serial port debugging software that can be used under Linux, such as putty, minicom, etc. The following demonstrates how to use putty.'''</big>|}
<ol style="list-style-type: decimal;">
<li><p>First, insert the USB-to-TTL module into the USB port of the Ubuntu computer. If the connection and recognition of the USB-to-TTL module is normal, you can see the corresponding device node name under '''/dev''' on the Ubuntu PC. Remember this node name, and then set the serial port software will be used.</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>test@test:~$ '''ls /dev/ttyUSB*'''</p>
<p>/dev/ttyUSB0</p>|}</li>
<li><p>Then use the following command to install putty on Ubuntu PC</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>test@test:~$ '''sudo apt-get update'''</p>
<p>test@test:~$ '''sudo apt-get install -y putty'''</p>|}</li><li><p>Then run putty, '''<span style="color:#FF0000">remember to add sudo permission</span>'''</p>{| class="wikitable" style="width:800px;" |-|<p>test@test:~$ '''sudo putty'''</p>|}</li>
<li><p>After executing the putty command, the following interface will pop up</p>
<p>[[File:media/image186.png|367x321px]]</p></li>
<span id="how-to-use-the-debugging-serial-port-on-windows-platform"></span>
 
=== How to use the debugging serial port on Windows platform ===