Open main menu

Wiki-Orange Pi β

Changes

Orange Pi Zero 2W

283 bytes added, 16:11, 25 September 2023
How to use the debugging serial port on Ubuntu platform
=== How to use the debugging serial port on 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 interface of the Ubuntu computer. If the USB to TTL module is connected and recognized normally, you can see the corresponding device node name under '''/dev''' of the Ubuntu PC. Remember this node name and set the serial port later. 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 update'''</p>
<p>test@test:~$ '''sudo apt install -y putty'''</p>|}</li><li><p><span class="mark">Then run putty,</span> '''<span style="color:#FF0000">remember to add sudo permissions</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:zero2w-img63.png]]</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 ===