Skip to content

Commit a233a0b

Browse files
committed
add uart line at quickly start
1 parent 9a2bedd commit a233a0b

10 files changed

Lines changed: 70 additions & 2 deletions
8.4 MB
Loading
3.19 MB
Loading
6.06 MB
Loading
114 KB
Loading
2.97 MB
Loading
2.98 MB
Loading
2.42 MB
Loading
2.91 MB
Loading

docs/CanaanK230/part1/02-DshanPICanMVV2quickstart.md

Lines changed: 66 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ sidebar_position: 2
3737

3838
通过Type-C线将板连接到PC电脑,您可以使用DshanPI-CanMV盒子中的的Type-C线。连接指南如下所示:
3939

40-
![image-20250329142707796](${images}/image-20250329142707796.png)
40+
![image-20250627093612460](${images}/image-20250627093612460.png)
4141

4242
> 注意:需要将拨码开关调整为Boot0为ON,Boot1为OFF;并将电源开关拨向Type-C线方向。
4343
@@ -75,3 +75,68 @@ sidebar_position: 2
7575

7676
官方例程讲解教程:https://developer.canaan-creative.com/k230_canmv/zh/main/zh/example/index.html
7777

78+
79+
80+
## [拓展]访问开发板的串口
81+
82+
硬件要求:
83+
84+
- USB转UART串口模块
85+
- Type-C转双串口模块
86+
87+
软件注意事项:
88+
89+
- MicroPython系统(默认):UART0
90+
- RT-smart系统:UART0
91+
- Linux系统:UART0
92+
- Rt-smart+Linux双系统:UART0(Linux小核),UART3(Rt-smart大核)
93+
94+
95+
96+
### 使用Type-C访问串口
97+
98+
将Type-C数据线接入Type-C双串口模块,杜邦线端接入USB转串口模块。连接成功后,USB转串口模块需要接入电脑,使用电脑访问串口模块,波特率为115200。
99+
100+
> 注意:
101+
>
102+
> - Type-C双串口模块的RX需要连接USB转串口模块的TX。
103+
> - Type-C双串口模块的TX需要连接USB转串口模块的RX。
104+
> - Type-C双串口模块的GND需要连接USB转串口模块的GND。
105+
106+
![image-20250627100241144](${images}/image-20250627100241144.png)
107+
108+
> - MicroPython系统:只有UART0作为系统串口输出。
109+
> - RT-smart系统:只有UART0作为系统串口输出。
110+
> - Linux系统:只有UART0作为系统串口输出。
111+
> - Rt-smart+Linux双系统:UART0作为Linux小核系统输出,UART3作为Rt-smart大核系统输出。
112+
113+
### 使用拓展排针访问串口
114+
115+
在拓展排针上,硬件也将UART0和UART3引到了拓展排针上,即您可以使用USB转UART串口使用杜邦线连接拓展排针上的串口进行访问,可以查看硬件原理图中拓展排针部分,可知UART0和UART3的位置:
116+
117+
![image-20250627102544058](${images}/image-20250627102544058.png)
118+
119+
下面展示如何通过拓展排针访问UART0:
120+
121+
![image-20250627104141126](${images}/image-20250627104141126.png)
122+
123+
实际连接图如下所示:
124+
![image-20250627104829720](${images}/image-20250627104829720.png)
125+
126+
> - MicroPython系统:只有UART0作为系统串口输出。
127+
> - RT-smart系统:只有UART0作为系统串口输出。
128+
> - Linux系统:只有UART0作为系统串口输出。
129+
> - Rt-smart+Linux双系统:UART0作为Linux小核系统输出,UART3作为Rt-smart大核系统输出。
130+
131+
下面展示如何通过拓展排针访问UART3:
132+
133+
![image-20250627104348893](${images}/image-20250627104348893.png)
134+
135+
实际连接图如下所示:
136+
137+
![image-20250627144635760](${images}/image-20250627144635760.png)
138+
139+
> - MicroPython系统:只有UART0作为系统串口输出。
140+
> - RT-smart系统:只有UART0作为系统串口输出。
141+
> - Linux系统:只有UART0作为系统串口输出。
142+
> - Rt-smart+Linux双系统:UART0作为Linux小核系统输出,UART3作为Rt-smart大核系统输出。

docs/CanaanK230/part1/05-MakeSDbootcard.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ sidebar_position: 4
1717

1818
开始前请下载DongshanPI-Vision开发板SD卡镜像,并记住它在计算机中保存的位置。
1919

20+
> 开始前请注意:EMMC与SD卡不允许存在不同的系统,例如EMMC中MicroPython系统,SD不允许烧录Linux系统启动,请保证EMMC和SD中为同一系统或者清空EMMC,否则会导致启动异常!!!
21+
>
22+
> 请记住:同一块硬件只能同时存在一个系统!!!
23+
2024
## 1.格式化microSD卡
2125

2226
将您的SD卡使用读卡器通过USB口插入您的PC电脑,使用SD卡格式化工具[SD Memory Card Formatter在新窗口打开](https://www.sdcard.org/downloads/formatter_4/eula_windows/)格式化您的SD卡。点击下图中红框位置,开始格式化内存卡。
@@ -75,4 +79,3 @@ sidebar_position: 4
7579

7680
使用Type-C线连接开发板端和电脑端,用于给开发板进行供电和使用串口登录开发板控制台。
7781

78-

0 commit comments

Comments
 (0)