This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:common:development:setup-serial-tool [2022/08/13 03:49] ruby [Preparation] |
products:sbc:common:development:setup-serial-tool [2024/08/18 22:18] (current) nick |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Introduction ===== | ===== Introduction ===== | ||
- | This page will introduce the serial | + | This page will introduce the serial |
===== Preparation ===== | ===== Preparation ===== | ||
- | Take a Serial Debugging Tool, or it says the USB to TTL Converter. For example, the [[https:// | + | Take a serial tool, which is also known as an USB to TTL Converter |
===== Hardware Connection ===== | ===== Hardware Connection ===== | ||
Line 13: | Line 13: | ||
{{ / | {{ / | ||
- | Use the following diagram to connect your serial tool to your board’s GPIOs. | + | You can connect your serial tool to the board GPIO pins, referring to the following diagram, |
+ | ^ Serial tools pin ^ GPIO board header pin ^ Name ^ | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | |||
+ | /* | ||
* Tool Pin '' | * Tool Pin '' | ||
* Tool Pin '' | * Tool Pin '' | ||
* Tool Pin '' | * Tool Pin '' | ||
* Tool Pin '' | * Tool Pin '' | ||
- | + | */ | |
- | Insert the USB-side of the tool into your computer. | + | Insert the USB port into your computer. |
* Blue line: '' | * Blue line: '' | ||
Line 30: | Line 37: | ||
<WRAP important > | <WRAP important > | ||
* VIM1/ | * VIM1/ | ||
- | * VIM4 Baudrate: **921600** | + | * VIM4/ |
- | * Edge1 Baudrate: **1500000** | + | * Edge1/ |
</ | </ | ||
Line 44: | Line 51: | ||
$ sudo apt install minicom | $ sudo apt install minicom | ||
``` | ``` | ||
- | Add access | + | Add permissions |
```shell | ```shell | ||
$ sudo usermod -a -G dialout $(whoami) | $ sudo usermod -a -G dialout $(whoami) | ||
``` | ``` | ||
<WRAP info > | <WRAP info > | ||
- | You may need to logout or reboot your system | + | You may need to logout or reboot your system to take effect. |
</ | </ | ||
2. **Setup** | 2. **Setup** | ||
- | Connect the USB to TTL Converter tool to your SBC and computer | + | Connect |
```shell | ```shell | ||
Line 60: | Line 67: | ||
``` | ``` | ||
- | Enter the minicom setup mode: | + | Enter the '' |
``` | ``` | ||
+-----[configuration]------+ | +-----[configuration]------+ | ||
Line 74: | Line 81: | ||
+--------------------------+ | +--------------------------+ | ||
``` | ``` | ||
- | Use the up/ | + | Use the up/ |
* You can use '' | * You can use '' | ||
Line 153: | Line 160: | ||
Install the CH340 driver. | Install the CH340 driver. | ||
- | - Download the [[https://dl.khadas.com/ | + | - Download the [[dl>tools/ch34x_install_windows_v3_4.zip|driver]]. |
- Unzip the compressed file. | - Unzip the compressed file. | ||
- Run the installer. | - Run the installer. |