E NPUTransfer: Transfer interface open failed!, ret = -4
E Catch exception when init runtime!
T Traceback (most recent call last):
T File "rknn/api/rknn_base.py", line 506, in rknn.api.rknn_base.RKNNBase.init_runtime
T File "rknn/api/rknn_runtime.py", line 270, in rknn.api.rknn_runtime.RKNNRuntime.build_graph
T Exception: RKNN init failed. error code: RKNN_ERR_DEVICE_UNAVAILABLE
Init runtime environment failed
作者: jefferyzhang 时间: 2019-5-21 11:28
lsusb看看0x2207:1808 在不在作者: nantianyan 时间: 2019-5-21 14:36
没有1808
如下:
=======================================
[toybrick@localhost ~]$ lsusb
Bus 003 Device 006: ID 0461:4d81 Primax Electronics, Ltd Dell N889 Optical Mouse
Bus 003 Device 005: ID 1c4f:0c07 SiGma Micro
Bus 003 Device 009: ID 2207:180a
Bus 003 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 05e3:0616 Genesys Logic, Inc. hub
Bus 001 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0bda:d723 Realtek Semiconductor Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 作者: nantianyan 时间: 2019-5-21 15:41
运行例子C程序,类似的问题:
[toybrick@localhost tmp]$ ./rknn_ssd
E NPUTransfer: Transfer interface open failed!, ret = -4
rknn_init fail! ret=-3 作者: nantianyan 时间: 2019-5-23 10:18
[toybrick@localhost ~]$ sudo npu_powerctrl -o
set clk_en 1 to 0
set clk_en 0 to 1
powerup
[toybrick@localhost ~]$ [ 713.577495] usb 3-1.1: USB disconnect, device number 7
[ 713.755744] usb 3-1.1: new high-speed USB device number 8 using xhci-hcd
[ 713.832661] usb 3-1.1: New USB device found, idVendor=2207, idProduct=180a
[ 713.833314] usb 3-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 作者: nantianyan 时间: 2019-5-23 10:20 本帖最后由 nantianyan 于 2019-5-23 10:22 编辑