zynq_canutils.zip

时间:2022-09-24 04:30:39
【文件属性】:

文件名称:zynq_canutils.zip

文件大小:874KB

文件格式:ZIP

更新时间:2022-09-24 04:30:39

zynq can zynq_canutils arm CAN

ARM(ZYNQ) cortexa9 Cross compiled CAN utils: To run CAN, use the below command: 1. Set bit-timing Can supports bitrates upto 1Mb/s. Xilinx CAN h/w and driver supports these bit rates Note: Triple sampling is not supported by Xilinx CAN H/W. $ ./ip link set can0 type can bitrate 200000 or $ ./canconfig can0 bitrate 200000 2. Bring up the device $ ./ip link set can0 up or $ ./canconfig can0 start 3. Bring down the device $ ./ip link set can0 down or $ ./canconfig can0 stop 4. Transmit and receive packets with standard id number $ ./cansend can0 -i 0x14 $ ./candump can0 5. Transmit and receive packets with extended id number (--loop argument here) $ ./cansend can0 -i 0x333 $ ./candump can0 6. Loopback mode $ ./canconfig can0 ctrlmode loopback on 7. Checking link state (checking bitrate/errors/packets) $ ./ip -d -s link show can0 8. Checking net device state $ ifconfig can0 9. Getting statistics via proc $ cat /proc/net/can/stats 10. Socket CAN core uses several filter lists to deliver received CAN frames to CAN protocol modules. These receive lists, their filters and the count of filter matches can be checked in the appropriate receive list. All entries contain the device and a protocol module identifier: $ cat /proc/net/can/rcvlist_all rcvlist_all - list for unfiltered entries (no filter operations) rcvlist_eff - list for single extended frame (EFF) entries rcvlist_err - list for error message frames masks rcvlist_fil - list for mask/value filters rcvlist_inv - list for mask/value filters (inverse semantic) rcvlist_sff - list for single standard frame (SFF) entries


【文件预览】:
zynq_canutils
----bin()
--------isotpserver(14KB)
--------log2long(15KB)
--------slcan_attach(10KB)
--------can-calc-bit-timing(17KB)
--------candump(29KB)
--------isotprecv(10KB)
--------slcand(13KB)
--------cansend(17KB)
--------isotpdump(11KB)
--------isotptun(13KB)
--------libc-2.21.so(1.18MB)
--------isotpsniffer(12KB)
--------cangen(28KB)
--------test.txt(22KB)
--------log2asc(18KB)
--------cansniffer(19KB)
--------cangw(18KB)
--------canlogserver(23KB)
--------canfdtest(12KB)
--------asc2log(20KB)
--------ip.iproute2(285KB)
--------canbusload(15KB)
--------canplayer(23KB)
--------isotpsend(11KB)
--------isotpperf(12KB)
--------slcanpty(12KB)
--------bcmserver(10KB)

网友评论