Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:edge2: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:edge2:development:setup-serial-tool [2022/09/28 08:20]
nick
products:sbc:edge2:development:setup-serial-tool [2023/04/03 22:30] (current)
nick
Line 1: Line 1:
-====== Edge2 Setup Serial Tool ======+====== Edge2 Setup Serial Debug Console ======
  
 ===== Introduction ===== ===== Introduction =====
Line 7: Line 7:
 ===== 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]].
- +
-An [[|Edge2 IO board]] is needed to work with the serial debug tool.+
  
 +An [[/products/sbc/edge2/applications/gpio/40pin-header|Edge2 IO board]] is needed to work with the serial tool.
  
  
 ===== Hardware Connection ===== ===== Hardware Connection =====
  
-An Edge2 IO board is needed to work with the serial debug tool.+{{/products/sbc/edge2/development/edge2-io.webp?500|serial_connections}}
  
-{{ /products/sbc/edge2/development/serial_connections_3pin.png?500|serial_connections}}+^  ^ USB-TTL pin name  ^ Edge2 GPIO name ^ GPIO pin ^  
 +| 1 | ''GND''      | ''GND'' | 4 | 
 +| 2 | ''TXD''      | ''DRX'' | 3 | 
 +| 3 | ''RXD''      | ''DTX'' | 2 | 
 + 
 +Full [[/products/sbc/edge2/applications/gpio/40pin-header#reference-tableEdge2 GPIO header - reference table]] 
 +       
 +/* IMHO its ugly 
  
 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,
  
-  * Tool Pin ''GND'' <-> ''Pin17'' of VIM’s GPIO +  * Tool Pin ''GND'' <-> ''Pin1'' of Edge2 IO's GPIO 
-  * Tool Pin ''TXD'' <-> ''Pin18'' of VIM’s GPIO ''Linux_Rx'' +  * Tool Pin ''TXD'' <-> ''Pin2'' of Edge2 IO's GPIO ''DRX'' 
-  * Tool Pin ''RXD'' <-> ''Pin19'' of VIM’s GPIO ''Linux_Tx'' +  * Tool Pin ''RXD'' <-> ''Pin3'' of Edge2 IO's GPIO ''DTX''
-  * Tool Pin ''VCC'' <-> ''Pin20'' of VIM’s GPIO +
- +
-Insert the USB port into your computer.+
  
-  Blue line: ''TXD'' +*/
-  * Orange line: ''RXD'' +
-  * Black line: ''GND''+
  
 ===== Setup Serial Communication Program ===== ===== Setup Serial Communication Program =====
Line 157: Line 158:
 Install the CH340 driver. Install the CH340 driver.
  
-  - Download the [[https://dl.khadas.com/Tools/CH34x_Install_Windows_v3_4.zip|driver]].+  - Download the [[https://dl.khadas.com/tools/CH34x_Install_Windows_v3_4.zip|driver]].
   - Unzip the compressed file.   - Unzip the compressed file.
   - Run the installer.   - Run the installer.
Last modified: 2022/09/28 08:20 by nick