MaaXBoard_Mini-Linux-Debian-UM-V1.1
http://www.avnet.me/maaxboardmini.com
22
root@maaxboard-mini:~# candump can0 &
Set CAN0 as transmitter:
root@maaxboard-mini:~# cansend can0 123#01020304050607
Use
show
command to check the summary of CAN transmit-receive data: In following example, TX
added 3 packets, 14 bytes. RX added 16 packets, 128 bytes.
root@maaxboard-mini:~# ip -d -s link show can0
3: can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UNKNOWN mode
DEFAULT group default qlen 10
link/can promiscuity 0
can state ERROR-PASSIVE restart-ms 0
bitrate 50000 sample-point 0.875
tq 1250 prop-seg 6 phase-seg1 7 phase-seg2 2 sjw 1
gs_usb: tseg1 1..16 tseg2 1..8 sjw 1..4 brp 1..1024 brp-inc 1
clock 48000000
re-started bus-errors arbit-lost error-warn error-pass bus-off
0 0 0 4 1 0 numtxqueues 1
numrxqueues 1 gso_max_size 65536 gso_max_segs 65535
RX: bytes packets errors dropped overrun mcast
128 16 0 0 0 0
TX: bytes packets errors dropped carrier collsns
14 3 0 0 0 0
3.12.4 Shut down CAN
root@maaxboard-mini:~# ip link set can0 down
3.13 GPU
Debian file system integrates GPU application, use
gputop
command to check GPU driver and info.
root@maaxboard-mini:~#gputop
Clients attached to GPU | 0 / 6 (sample_mode: TIME - 1.0 secs)
Galcore version:6.2.4.163672, gpuperfcnt:e3c7de622a66, 1.4
3D:GC7000,Rev:6214 Core: 800 MHz, Shader: 800 MHz
3D Cores:1,2D Cores:0,VG Cores:0
DDR0: r:97.21,w:0.07
DDR1: