烧录固件后,打开系统自带FireflyApi2Demo应用,进入CAN调试页面,点击初始化,点击运行,出现传输数据错误(见附件图片),日志如下: 2023-03-10 15:00:07.891 2451-2451/com.firefly.fireflyapi2demo I/CanChannelsFragment: getCanSetupValue: can0,can,仅发送,500 2023-03-10 15:00:08.235 2451-2451/com.firefly.fireflyapi2demo I/CanChannelsFragment: can0 set 500000 2023-03-10 15:00:08.237 2451-2451/com.firefly.fireflyapi2demo D/firefly_debug: can0 init success 2023-03-10 15:00:09.977 2451-2451/com.firefly.fireflyapi2demo W/audit: audit_lost=460 audit_rate_limit=5 audit_backlog_limit=64 2023-03-10 15:00:09.977 2451-2451/com.firefly.fireflyapi2demo E/audit: rate limit exceeded 2023-03-10 15:00:14.813 2451-2451/com.firefly.fireflyapi2demo I/CanChannelsFragment: onClick: RunningState =false 2023-03-10 15:00:15.006 2451-2451/com.firefly.fireflyapi2demo I/Thread-13: type=1400 audit(0.0:976): avc: denied { write } for path="socket:[69966]" dev="sockfs" ino=69966 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:r:platform_app:s0:c512,c768 tclass=can_socket permissive=1 app=com.firefly.fireflyapi2demo 2023-03-10 15:00:15.008 2451-2451/com.firefly.fireflyapi2demo I/TestCanHelper: startTask: 0 2023-03-10 15:00:15.009 2451-3019/com.firefly.fireflyapi2demo I/TestCanHelper: The native CAN send task is running 2023-03-10 15:00:15.349 2451-3019/com.firefly.fireflyapi2demo E/TestCanHelper: transmit data failed, reason:Error writing CAN message bytes, native EERNO: 105 2023-03-10 15:00:15.350 2451-3019/com.firefly.fireflyapi2demo D/firefly_debug: transmit data failed, reason:Error writing CAN message bytes, native EERNO: 105 2023-03-10 15:00:15.724 2451-2451/com.firefly.fireflyapi2demo D/CanChannelsFragment: txTask or rxTask not running, close countDownTimer 2023-03-10 15:00:15.950 2451-3021/com.firefly.fireflyapi2demo I/CanSocket-Java: stopReceiveTask |
-
CAN通信error.png (177.52 KB, 下载次数: 600)
-
1.7 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1