Skip to content

Commit fd11028

Browse files
committed
docs: duo256m add riscv and arm switch
1 parent dc63c9a commit fd11028

File tree

4 files changed

+40
-2
lines changed

4 files changed

+40
-2
lines changed

docs/duo/getting-started/duo256m.md

+20-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Milk-V is the Authorised Global Distributor of the SG2002 chips. You can buy sam
2727

2828
## Duo256M GPIO Pinout
2929

30-
<Image src='/docs/duo/duo/duo-pinout-01.webp' maxWidth='50%' align='center' />
30+
<Image src='/docs/duo/duo256m/duo256m-pinout-01.webp' maxWidth='50%' align='center' />
3131

3232
### GPIO pin mapping
3333

@@ -75,3 +75,22 @@ Milk-V is the Authorised Global Distributor of the SG2002 chips. You can buy sam
7575
</div>
7676

7777
The logic level of `GP26` and `GP27` pins is 1.8V, and the logic level of other GPIO pins is 3.3V logic level.
78+
79+
## Duo256M User Guide
80+
81+
### RISC-V and ARM switching
82+
83+
The large core of Duo256M can choose to use RISC-V or ARM processor. The RISC-V core is used by default. You can switch to the ARM core by shorting physical pin 35 (Boot-Switch) and GND. If you find that Duo256M cannot start normally during use, please first check whether the core currently used is consistent with the firmware used.
84+
85+
<Image src='/docs/duo/duo256m/duo256m-arm-riscv-switch.webp' maxWidth='50%' align='center' />
86+
87+
If the debug serial port is connected, you can see in the first line of the boot log that starting with `C` means starting from the RISC-V core, and starting with `B` means starting from the ARM core.
88+
89+
- RISC-V:
90+
```
91+
C.SCS/0/0.C.SCS/0/0.WD.URPL.USBI.USBW
92+
```
93+
- ARM:
94+
```
95+
B.SCS/0/0.WD.URPL.B.SCS/0/0.WD.URPL.USBI.USBW
96+
```

i18n/zh/docusaurus-plugin-content-docs/current/duo/getting-started/duo256m.md

+20-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Milk-V 是 SG2002 芯片的全球授权经销商。您可以直接从我们的
2525

2626
## Duo256M GPIO 引脚分配
2727

28-
<Image src='/docs/duo/duo/duo-pinout-01.webp' maxWidth='50%' align='center' />
28+
<Image src='/docs/duo/duo256m/duo256m-pinout-01.webp' maxWidth='50%' align='center' />
2929

3030
### GPIO 引脚映射
3131

@@ -73,3 +73,22 @@ Milk-V 是 SG2002 芯片的全球授权经销商。您可以直接从我们的
7373
</div>
7474

7575
GP26 和 GP27 引脚逻辑电平为 1.8V, 其他 GPIO 逻辑电平均为 3.3V 逻辑电平。
76+
77+
## Duo256M 使用指引
78+
79+
### RISC-V 与 ARM 切换
80+
81+
Duo256M 的大核可以选择使用 RISC-V 或者 ARM,默认使用的是 RISC-V 核,可以通过短接物理引脚 35(Boot-Switch)和 GND 来切换到 ARM 核。如果您在使用中发现 Duo256M 不能正常启动,请先检查当前使用的核与使用的固件是否一致。
82+
83+
<Image src='/docs/duo/duo256m/duo256m-arm-riscv-switch.webp' maxWidth='50%' align='center' />
84+
85+
如果连接了调试串口,可以在第一行开机日志中看到,以 `C` 开头时代表从 RISC-V 核启动,以 `B` 开头时代表从 ARM 核启动。
86+
87+
- RISC-V:
88+
```
89+
C.SCS/0/0.C.SCS/0/0.WD.URPL.USBI.USBW
90+
```
91+
- ARM:
92+
```
93+
B.SCS/0/0.WD.URPL.B.SCS/0/0.WD.URPL.USBI.USBW
94+
```
Binary file not shown.
78.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)