Skip to content

Commit 5a576c5

Browse files
authored
Merge pull request #49 from OpenSiFli/doc_8.25
1.3文档烧录命令更新
1 parent 8fa3afe commit 5a576c5

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

docs/src/get-started/README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,29 @@ SF32LB52-DevKit-Nano: sf32lb52-nano_52j.zip
3434
使用[sftool工具](../sftool.md)烧录固件,打开终端之后输入如下命令(Windows):
3535
!!!需要注意的是:命令中的 ./sftool.exe 中的斜杠,在不同操作系统中有不同的表现: windows是反斜杠,linux是斜杠。
3636
```powershell
37-
./sftool.exe -p COM3 -c SF32LB52 write_flash bootloader.bin@0x12010000 ftab.bin@0x12000000 ER_IROM2.bin@0x12A28000 ER_IROM3.bin@0x12228000 ER_IROM1.bin@0x12020000
37+
./sftool.exe -p COM3 -c SF32LB52 write_flash bootloader.bin@0x12010000 ftab.bin@0x12000000 ER_IROM2.bin@0x12A28000 ER_IROM3.bin@0x12268000 ER_IROM1.bin@0x12020000
3838
```
3939

40+
41+
42+
::: details 1.2.0 - 1.2.2 版本
43+
如果你使用的是1.2.0 - 1.2.2的版本,请使用以下命令:
44+
45+
```powershell
46+
./sftool.exe -p COM3 -c SF32LB52 write_flash bootloader.bin@0x12010000 ftab.bin@0x12000000 ER_IROM2.bin@0x12A28000 ER_IROM3.bin@0x12228000 ER_IROM1.bin@0x12020000
47+
```
48+
:::
4049
::: details 1.2.0 之前的版本
4150

4251
如果你使用的是1.2.0之前的版本,请使用以下命令:
4352

4453
```powershell
4554
./sftool.exe -p COM3 -c SF32LB52 write_flash bootloader.bin@0x12010000 ftab.bin@0x12000000 main.bin@0x12020000
4655
```
47-
4856
:::
4957

58+
59+
5060
::: tip
5161
`bootloader.bin``ER_IROM2.bin``ER_IROM3.bin``ER_IROM1.bin``ftab.bin`是你下载的固件文件名,建议使用绝对路径引用,如果路径中出现中文或者空格请用`"`将路径括起来。
5262
其中`COM3`是你连接开发板的串口号,可能会有所不同,请根据实际情况修改。

0 commit comments

Comments
 (0)