k210开发
https://github.com/sipeed/kflash_gui/tags
https://gitee.com/rf_smart/kflash_gui?_from=gitee_search
出现问题:
kflash_gui$ python kflash_gui.py
Traceback (most recent call last):
File "kflash_gui.py", line 25, in <module>
from kflash_py.kflash import KFlash
ModuleNotFoundError: No module named 'kflash_py.kflash'
参考:https://github.com/sipeed/kflash_gui/issues/8,解决:
$ git submodule update --init --recursive
子模组 'kflash_py' (https://github.com/sipeed/kflash.py.git) 未对路径 'kflash_py' 注册
正克隆到 'kflash_py'...
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 381 (delta 0), reused 1 (delta 0), pack-reused 378
接收对象中: 100% (381/381), 519.36 KiB | 19.00 KiB/s, 完成.
处理 delta 中: 100% (198/198), 完成.
检查连接... 完成。
子模组路径 'kflash_py':检出 '××××××××××××××××××××'
$ python kflash_gui.py
Adding a QLayout to a QSplitter is not supported.
icon path:kflash_gui/kflash_gui_data/assets/logo.png
config file path: /home/.config/kflash_gui/kflash_gui.conf
data path:/kflash_gui/kflash_gui_data
2
The latest is v1.3.2, now:V1.5.4
~$ ls /dev/ttyUSB*
/dev/ttyUSB0 /dev/ttyUSB1
问题:
解决:
sudo chmod 777 /dev/ttyUSB1
问题:
检查设置并重试,或者重插USB尝试
握手失败,请检查串口设置 ([ERROR] No vaild Kendryte K210 found in Auto Detect, Check Your Connection or Specify One by`-p /dev/ttyUSB0` )
解决:
?