Skip to content

Commit 0864a5d

Browse files
committed
add: airisp读取flash数据功能
1 parent b1ece12 commit 0864a5d

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

docs/airisp/docs/cmds.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,15 @@ icon: terminal
3939

4040
## read_protect
4141

42-
开启 FLASH 的读保护,此时将无法读取 FLASH 的内容。
42+
开启 FLASH 的读保护,此时将无法读取或写入 FLASH 的内容。
43+
44+
## read_flash <芯片FLASH地址> <读取长度> <固件文件>
45+
46+
向 FLASH 的指定地址开始,读取固件存入对应文件,固件文件只能为`BIN`文件。
47+
48+
### read_flash 命令参数
49+
50+
`read_flash`命令有如下参数:
51+
52+
1. `--overwrite`或者`-o`,作用是如果文件已存在,则覆盖文件,否则拒绝继续读取。
53+
2. `--no-progress`或者`-p`,作用是在下载的时候禁止显示进度条。

0 commit comments

Comments
 (0)