该工具用于串口烧录 bin 文件到 Py32F030 芯片。
cargo install --git https://github.com/hysonglet/pyisp.git
git clone https://github.com/hysonglet/pyisp.git
# 查看帮助
pyisp -h
# 查看当前连接的串口
pyisp -p
# 下载并运行
pyisp -s tty.usbserial-130 -f test.bin -g
# 循环下载
pyisp -s tty.usbserial-130 -f tttt.bin -g -c
-
普通版
- 按下
boot
键 - 按下
reset
键(保持boot键按下状态) - 释放
reset
键 - 0.5 秒后释放
boot
键
- 按下
-
升级版
- 按下
boot
键等待一秒即可自动进入烧录状态
- 按下