调试指南
客户在开发过程中,可以通过CAN框架自带的 canstat 命令,查看CAN的状态。
aic /> canstat can0
Found can device: can0...
Receive...error..count: 0000000000. Send.....error....count: 0000000000.
Bit..pad..error..count: 0000000000. Format...error....count: 0000000000
Ack.......error..count: 0000000000. Bit......error....count: 0000000000.
CRC.......error..count: 0000000000. Error.code.[0000000000]: No Error!.
Total.receive.packages: 0001311000. Dropped.receive.packages: 0000000000.
Total..send...packages: 0000000000. Dropped...send..packages: 0000000000.
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8