File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff 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 ` 是你连接开发板的串口号,可能会有所不同,请根据实际情况修改。
You can’t perform that action at this time.
0 commit comments