Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:common:development:setup-serial-tool

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:sbc:common:development:setup-serial-tool [2022/08/13 04:05]
ruby [Ubuntu]
products:sbc:common:development:setup-serial-tool [2022/10/16 02:20] (current)
hyphop [Hardware Connection]
Line 3: Line 3:
 ===== Introduction ===== ===== Introduction =====
  
-This page will introduce the serial debugging tools. You will learn how to connect Khadas SBC to PC and install debugging software on different PCs.+This page will introduce the serial tool. You will learn how to connect Khadas SBC to PC and install debugging software on different PCs.
  
 ===== Preparation ===== ===== Preparation =====
  
-Take a Serial Debugging Tool, which is also known as an USB to TTL Converter like [[https://www.amazon.com/Adaptor-Download-Adapter-Converter-LinkMore/dp/B08VGRRJ67/ref=sr_1_4?dchild=1&keywords=USB+to+TTL+ch340&qid=1629184609&sr=8-4|CH340 USB to TTL Converter]].+Take a serial tool, which is also known as an USB to TTL Converter like [[https://www.amazon.com/Adaptor-Download-Adapter-Converter-LinkMore/dp/B08VGRRJ67/ref=sr_1_4?dchild=1&keywords=USB+to+TTL+ch340&qid=1629184609&sr=8-4|CH340 USB to TTL Converter]].
  
 ===== Hardware Connection ===== ===== Hardware Connection =====
Line 15: Line 15:
 You can connect your serial tool to the board GPIO pins, referring to the following diagram, You can connect your serial tool to the board GPIO pins, referring to the following diagram,
  
 +^ Serial tools pin ^ GPIO board header pin ^ Name ^
 +| ''GND'' |  ''17''  | |
 +| ''TXD'' |  ''18''  | ''Linux_Rx''
 +| ''RXD'' |  ''19''  | ''Linux_Tx'' |
 +| ''VCC'' |  ''20''  | |
 +
 +/*
   * Tool Pin ''GND'' <-> ''Pin17'' of VIM’s GPIO   * Tool Pin ''GND'' <-> ''Pin17'' of VIM’s GPIO
   * Tool Pin ''TXD'' <-> ''Pin18'' of VIM’s GPIO ''Linux_Rx''   * Tool Pin ''TXD'' <-> ''Pin18'' of VIM’s GPIO ''Linux_Rx''
   * Tool Pin ''RXD'' <-> ''Pin19'' of VIM’s GPIO ''Linux_Tx''   * Tool Pin ''RXD'' <-> ''Pin19'' of VIM’s GPIO ''Linux_Tx''
   * Tool Pin ''VCC'' <-> ''Pin20'' of VIM’s GPIO   * Tool Pin ''VCC'' <-> ''Pin20'' of VIM’s GPIO
 +*/
 Insert the USB port into your computer. Insert the USB port into your computer.
  
Line 30: Line 37:
 <WRAP important > <WRAP important >
   * VIM1/VIM2/VIM3/VIM3L Baudrate: **115200**   * VIM1/VIM2/VIM3/VIM3L Baudrate: **115200**
-  * VIM4 Baudrate: **921600** +  * VIM4/VIM1S Baudrate: **921600** 
-  * Edge1 Baudrate: **1500000**+  * Edge1/Edge2 Baudrate: **1500000**
 </WRAP> </WRAP>
  
Line 54: Line 61:
 2. **Setup** 2. **Setup**
  
-Connect the USB to TTL Converter tool to your SBC and computer before setting up ''minicom''.+Connect your SBC to the computer via the USB to TTL Converter tool before setting up ''minicom''.
  
 ```shell ```shell
Line 60: Line 67:
 ``` ```
  
-Enter the minicom setup mode:+Enter the ''minicom'' setup mode:
 ``` ```
 +-----[configuration]------+ +-----[configuration]------+
Line 74: Line 81:
 +--------------------------+ +--------------------------+
 ``` ```
-Use the up/down arrows to shift to ''Serial port setup'', and hit Enter to enter the ''Serial port setup menu''.+Use the up/down arrow keys to shift to ''Serial port setup'', and hit Enter to enter the ''Serial port setup menu''.
  
   * You can use ''Shift'' + ''A'' to setup the serial device, hit Enter to confirm.   * You can use ''Shift'' + ''A'' to setup the serial device, hit Enter to confirm.
Last modified: 2022/08/13 04:05 by ruby