Firefly开源社区

标题: NCC S1 AI套件无法使用 [打印本页]

作者: Cc_x10I3    时间: 2018-12-18 19:32
标题: NCC S1 AI套件无法使用
MMC 总线总是写入出错,不知道是哪里的问题,刚买的开发板就遇到这样让人吐血的问题。不知道是否是硬件的问题还是固件的问题。见下图root@firefly:~# export GTISDKPATH=~/GTISDK
root@firefly:~# ./liteSample
Usage:
         ./liteSample -c CNN_Model -f FC_Model -l Lable_File -i Input_Image_File -u Network_Config_File -d device (emmc or ftdi or pcie)
m_OneBlock addr:0x1143c4e0
DeviceName = /dev/mmcblk1, emmcType = 1
---- gtiSetParameters: 128, Total block = 21952
MMC_WRITE_MULTIPLE_BLOCK ioctl failed err = -110
Write parameter to eMMC failed. Block = 384, BufferLenInBytes = 5619196, Status = -110
GTI initialization failed.
---------- Prediction for /root/GTISDK/data/Image_Lite/bridge.bin ----------
MMC_WRITE_MULTIPLE_BLOCK ioctl failed err = -110
Write image to eMMC failed. Block = 0, BlockLen = 4096, Status = -110
Handle one frame error!
root@firefly:~#



作者: Cc_x10I3    时间: 2018-12-18 19:53
不是写出错就是读出错
DeviceName = /dev/mmcblk1, emmcType = 1
---- gtiSetParameters: 128, Total block = 21952
---- gtiSetParameters: 2688, Total block = 21952
---- gtiSetParameters: 5248, Total block = 21952
---- gtiSetParameters: 7808, Total block = 21952
---- gtiSetParameters: 10368, Total block = 21952
---- gtiSetParameters: 12928, Total block = 21952
---- gtiSetParameters: 15488, Total block = 21952
---- gtiSetParameters: 18048, Total block = 21952
---- gtiSetParameters: 20608, Total block = 21952
---------- Prediction for /root/GTISDK/data/Image_Lite/bridge.bin ----------
MMC_READ_MULTIPLE_BLOCK ioctl failed err = -110
Read data from eMMC failed. Blocks = 256, BlockLen = 131072, Status = -110
Handle one frame error!

作者: Cc_x10I3    时间: 2018-12-18 20:47
[    1.237231] mmcblk1: mmc1:0001 ��� 8.00 GiB
[    1.237865]  mmcblk1: unable to read partition table
AI套件 1370 坏的?
太影响情绪了
作者: rany    时间: 2018-12-19 11:35
Cc_x10I3 发表于 2018-12-18 20:47
[    1.237231] mmcblk1: mmc1:0001 � ...

你好,如果出现
MMC_READ_MULTIPLE_BLOCK ioctl failed err = -110
错误可以尝试使用以下命令重置NCC S1。

  1. cd /sys/bus/platform/drivers/sdhci-arasan

  2. sudo sh -c "echo 'fe330000.sdhci' > unbind"
  3. sudo sh -c "echo 'fe330000.sdhci' > bind"
复制代码


作者: 笑笑    时间: 2020-5-28 16:08
楼主,您遇到的问题有解决吗?最近在弄这个,遇到类似的错误,求指教!
作者: hahaer    时间: 2020-6-22 15:37
上海市




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1