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

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