AIOT 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` )

解决:

发现在ubuntu环境下会出现,具体原因还有找到;在win系统下可以下载(https://download.csdn.net/download/forest_world/12476807

 

然后,我们就可以看到人脸检测的效果了,具体再参考:https://blog.sipeed.com/p/1338.html#more-1338

RISC-V(发音为“risk-five”)是一个基于精简指令集(RISC)原则的开源指令集架构(ISA)(https://baike.baidu.com/item/RISC-V/22606314?fr=aladdin

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章