save
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
=============== ADAPTER / DRIVER FINGERPRINT ===============
|
||||
captured: 2026-08-20 14:47:12
|
||||
|
||||
--- can0
|
||||
driver : f81604
|
||||
usb id : 2c42:1709
|
||||
usb product : USB TO CANBUS BRIDGE / FINTEK
|
||||
usb speed : 12 Mbit/s -> USB full-speed 12 Mbit/s (frame 1 ms)
|
||||
usb sysfs : /sys/devices/pci0000:00/0000:00:14.0/usb3/3-5
|
||||
usb interface : 3-5:1.0 (shared by all channels of this device)
|
||||
ep_01 type=Bulk dir=out wMaxPacketSize=0040 bInterval=00
|
||||
ep_03 type=Bulk dir=out wMaxPacketSize=0040 bInterval=00
|
||||
ep_81 type=Interrupt dir=in wMaxPacketSize=0010 bInterval=01
|
||||
ep_82 type=Bulk dir=in wMaxPacketSize=0040 bInterval=00
|
||||
ep_83 type=Interrupt dir=in wMaxPacketSize=0010 bInterval=01
|
||||
ep_84 type=Bulk dir=in wMaxPacketSize=0040 bInterval=00
|
||||
link :
|
||||
6: can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
|
||||
link/can promiscuity 0 allmulti 0 minmtu 0 maxmtu 0
|
||||
can state ERROR-ACTIVE (berr-counter tx 0 rx 0) restart-ms 100
|
||||
bitrate 1000000 sample-point 0.750
|
||||
tq 83 prop-seg 4 phase-seg1 4 phase-seg2 3 sjw 1 brp 1
|
||||
f81604: tseg1 1..16 tseg2 1..8 sjw 1..4 brp 1..64 brp_inc 1
|
||||
termination 0 [ 0, 120 ]
|
||||
clock 12000000 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535 tso_max_size 65536 tso_max_segs 65535 gro_max_size 65536 parentbus usb parentdev 3-5:1.0
|
||||
|
||||
--- can1
|
||||
driver : f81604
|
||||
usb id : 2c42:1709
|
||||
usb product : USB TO CANBUS BRIDGE / FINTEK
|
||||
usb speed : 12 Mbit/s -> USB full-speed 12 Mbit/s (frame 1 ms)
|
||||
usb sysfs : /sys/devices/pci0000:00/0000:00:14.0/usb3/3-5
|
||||
usb interface : 3-5:1.0 (shared by all channels of this device)
|
||||
ep_01 type=Bulk dir=out wMaxPacketSize=0040 bInterval=00
|
||||
ep_03 type=Bulk dir=out wMaxPacketSize=0040 bInterval=00
|
||||
ep_81 type=Interrupt dir=in wMaxPacketSize=0010 bInterval=01
|
||||
ep_82 type=Bulk dir=in wMaxPacketSize=0040 bInterval=00
|
||||
ep_83 type=Interrupt dir=in wMaxPacketSize=0010 bInterval=01
|
||||
ep_84 type=Bulk dir=in wMaxPacketSize=0040 bInterval=00
|
||||
link :
|
||||
7: can1: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
|
||||
link/can promiscuity 0 allmulti 0 minmtu 0 maxmtu 0
|
||||
can state ERROR-ACTIVE (berr-counter tx 0 rx 0) restart-ms 100
|
||||
bitrate 1000000 sample-point 0.750
|
||||
tq 83 prop-seg 4 phase-seg1 4 phase-seg2 3 sjw 1 brp 1
|
||||
f81604: tseg1 1..16 tseg2 1..8 sjw 1..4 brp 1..64 brp_inc 1
|
||||
termination 0 [ 0, 120 ]
|
||||
clock 12000000 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535 tso_max_size 65536 tso_max_segs 65535 gro_max_size 65536 parentbus usb parentdev 3-5:1.0
|
||||
|
||||
!! NOTE: can0 and can1 are two channels of the SAME USB device.
|
||||
They share one host link; a duplex test measures that link, not two independent buses.
|
||||
@@ -0,0 +1,36 @@
|
||||
========== CAN MASTER ==========
|
||||
Interface : can0
|
||||
Bitrate : 500 kbps
|
||||
CAN ID : 0x123
|
||||
DLC : 8
|
||||
Payload : AA AA AA AA AA AA AA AA
|
||||
Duration : 10 s
|
||||
Frame on-wire : 111 bit (nominal) / 135 bit (worst-case stuffing)
|
||||
TX batch : 64 frame(s) / sendmmsg
|
||||
Started : 2026-08-20 14:47:13.401
|
||||
Realtime : SCHED_FIFO prio 80 engaged
|
||||
|
||||
14:47:14.410 [ 1s] tx frames=1152 inst 1145 fps 0.073 Mbps bus 25.4/ 30.9% err=0 (+0)
|
||||
14:47:15.412 [ 2s] tx frames=2112 inst 957 fps 0.061 Mbps bus 21.3/ 25.9% err=0 (+0)
|
||||
14:47:16.412 [ 3s] tx frames=3200 inst 1088 fps 0.070 Mbps bus 24.1/ 29.4% err=0 (+0)
|
||||
14:47:17.413 [ 4s] tx frames=4160 inst 960 fps 0.061 Mbps bus 21.3/ 25.9% err=0 (+0)
|
||||
14:47:18.413 [ 5s] tx frames=5120 inst 960 fps 0.061 Mbps bus 21.3/ 25.9% err=0 (+0)
|
||||
14:47:19.413 [ 6s] tx frames=6208 inst 1088 fps 0.070 Mbps bus 24.1/ 29.4% err=0 (+0)
|
||||
14:47:20.413 [ 7s] tx frames=7168 inst 960 fps 0.061 Mbps bus 21.3/ 25.9% err=0 (+0)
|
||||
14:47:21.413 [ 8s] tx frames=8128 inst 960 fps 0.061 Mbps bus 21.3/ 25.9% err=0 (+0)
|
||||
14:47:22.414 [ 9s] tx frames=9216 inst 1088 fps 0.070 Mbps bus 24.1/ 29.4% err=0 (+0)
|
||||
14:47:23.414 [ 10s] tx frames=10176 inst 960 fps 0.061 Mbps bus 21.3/ 25.9% err=0 (+0)
|
||||
|
||||
---------- SUMMARY (MASTER) ----------
|
||||
CAN bitrate : 500 kbps
|
||||
Duration (actual) : 10.082 s
|
||||
Frames sent : 10240
|
||||
Payload bytes : 81920
|
||||
Average frame/s : 1015.67
|
||||
Payload throughput : 8125 B/s (0.0650 Mbps)
|
||||
Bus load : 22.5 % (nominal) / 27.4 % (worst-case stuffing)
|
||||
canbusload-style : can0@500000 1016 137116 65003 27%
|
||||
TX errors : 0
|
||||
SUMMARY role=master interface=can0 bitrate=500000 duration_s=10.082 frames_sent=10240 payload_bytes=81920 tx_frames_per_s=1015.67 payload_mbps=0.0650 bus_bits_per_frame=111 bus_load_pct=22.55 bus_load_pct_worstcase=27.42 tx_batch=64 tx_errors=0
|
||||
|
||||
Log written to: /home/robotics/testcan/results/can0-can1_500000_20260820-144712/log/can_master_can0_500k_20260820-144713.log
|
||||
@@ -0,0 +1,36 @@
|
||||
========== CAN SLAVE ==========
|
||||
Interface : can1
|
||||
Bitrate : 500 kbps
|
||||
CAN ID : 0x123
|
||||
DLC : 8
|
||||
Duration : 13 s
|
||||
Started : 2026-08-20 14:47:12.396
|
||||
Realtime : SCHED_FIFO prio 80 engaged
|
||||
|
||||
14:47:13.403 [ 1s] rx frames=0 valid=0 inst 0 fps 0.000 Mbps invalid=0 err=0
|
||||
14:47:14.404 [ 2s] rx frames=999 valid=999 inst 998 fps 0.064 Mbps invalid=0 err=0
|
||||
14:47:15.405 [ 3s] rx frames=2000 valid=2000 inst 1000 fps 0.064 Mbps invalid=0 err=0
|
||||
14:47:16.405 [ 4s] rx frames=3000 valid=3000 inst 1000 fps 0.064 Mbps invalid=0 err=0
|
||||
14:47:17.405 [ 5s] rx frames=4001 valid=4001 inst 1001 fps 0.064 Mbps invalid=0 err=0
|
||||
14:47:18.405 [ 6s] rx frames=5001 valid=5001 inst 1000 fps 0.064 Mbps invalid=0 err=0
|
||||
14:47:19.406 [ 7s] rx frames=6001 valid=6001 inst 1000 fps 0.064 Mbps invalid=0 err=0
|
||||
14:47:20.406 [ 8s] rx frames=7001 valid=7001 inst 1000 fps 0.064 Mbps invalid=0 err=0
|
||||
14:47:21.406 [ 9s] rx frames=8002 valid=8002 inst 1001 fps 0.064 Mbps invalid=0 err=0
|
||||
14:47:22.406 [ 10s] rx frames=9002 valid=9002 inst 1000 fps 0.064 Mbps invalid=0 err=0
|
||||
14:47:23.407 [ 11s] rx frames=10002 valid=10002 inst 1000 fps 0.064 Mbps invalid=0 err=0
|
||||
14:47:24.407 [ 12s] rx frames=10240 valid=10240 inst 238 fps 0.015 Mbps invalid=0 err=0
|
||||
14:47:25.407 [ 13s] rx frames=10240 valid=10240 inst 0 fps 0.000 Mbps invalid=0 err=0
|
||||
|
||||
---------- SUMMARY (SLAVE) ----------
|
||||
CAN bitrate : 500 kbps
|
||||
Duration (actual) : 13.119 s
|
||||
Frames received : 10240
|
||||
Valid frames : 10240
|
||||
Invalid frames : 0
|
||||
CAN/bus errors : 0
|
||||
Payload bytes : 81920
|
||||
Average frame/s : 780.55
|
||||
Payload throughput : 6244 B/s (0.0500 Mbps)
|
||||
SUMMARY role=slave interface=can1 bitrate=500000 duration_s=13.119 frames_received=10240 valid_frames=10240 invalid_frames=0 can_errors=0 payload_bytes=81920 rx_frames_per_s=780.55 valid_frames_per_s=780.55 payload_mbps=0.0500
|
||||
|
||||
Log written to: /home/robotics/testcan/results/can0-can1_500000_20260820-144712/log/can_slave_can1_500k_20260820-144712.log
|
||||
52
results/can0-can1_500000_20260820-144712/log/canbusload.txt
Normal file
52
results/can0-can1_500000_20260820-144712/log/canbusload.txt
Normal file
@@ -0,0 +1,52 @@
|
||||
canbusload 2026-08-20 14:47:13 (worst case bitstuffing)
|
||||
can0@500000 0 0 0 0 0%
|
||||
can1@500000 0 0 0 0 0%
|
||||
|
||||
canbusload 2026-08-20 14:47:14 (worst case bitstuffing)
|
||||
can0@500000 953 128655 60992 0 25%
|
||||
can1@500000 954 128790 61056 0 25%
|
||||
|
||||
canbusload 2026-08-20 14:47:15 (worst case bitstuffing)
|
||||
can0@500000 1000 135000 64000 0 27%
|
||||
can1@500000 1000 135000 64000 0 27%
|
||||
|
||||
canbusload 2026-08-20 14:47:16 (worst case bitstuffing)
|
||||
can0@500000 1000 135000 64000 0 27%
|
||||
can1@500000 1000 135000 64000 0 27%
|
||||
|
||||
canbusload 2026-08-20 14:47:17 (worst case bitstuffing)
|
||||
can0@500000 1000 135000 64000 0 27%
|
||||
can1@500000 1000 135000 64000 0 27%
|
||||
|
||||
canbusload 2026-08-20 14:47:18 (worst case bitstuffing)
|
||||
can0@500000 1000 135000 64000 0 27%
|
||||
can1@500000 1000 135000 64000 0 27%
|
||||
|
||||
canbusload 2026-08-20 14:47:19 (worst case bitstuffing)
|
||||
can0@500000 1000 135000 64000 0 27%
|
||||
can1@500000 1000 135000 64000 0 27%
|
||||
|
||||
canbusload 2026-08-20 14:47:20 (worst case bitstuffing)
|
||||
can0@500000 1000 135000 64000 0 27%
|
||||
can1@500000 1000 135000 64000 0 27%
|
||||
|
||||
canbusload 2026-08-20 14:47:21 (worst case bitstuffing)
|
||||
can0@500000 1000 135000 64000 0 27%
|
||||
can1@500000 1000 135000 64000 0 27%
|
||||
|
||||
canbusload 2026-08-20 14:47:22 (worst case bitstuffing)
|
||||
can0@500000 1000 135000 64000 0 27%
|
||||
can1@500000 1000 135000 64000 0 27%
|
||||
|
||||
canbusload 2026-08-20 14:47:23 (worst case bitstuffing)
|
||||
can0@500000 1000 135000 64000 0 27%
|
||||
can1@500000 1000 135000 64000 0 27%
|
||||
|
||||
canbusload 2026-08-20 14:47:24 (worst case bitstuffing)
|
||||
can0@500000 287 38745 18368 0 7%
|
||||
can1@500000 286 38610 18304 0 7%
|
||||
|
||||
canbusload 2026-08-20 14:47:25 (worst case bitstuffing)
|
||||
can0@500000 0 0 0 0 0%
|
||||
can1@500000 0 0 0 0 0%
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
6: can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
|
||||
link/can promiscuity 0 allmulti 0 minmtu 0 maxmtu 0
|
||||
can state ERROR-ACTIVE (berr-counter tx 0 rx 0) restart-ms 100
|
||||
bitrate 500000 sample-point 0.875
|
||||
tq 250 prop-seg 3 phase-seg1 3 phase-seg2 1 sjw 1 brp 3
|
||||
f81604: tseg1 1..16 tseg2 1..8 sjw 1..4 brp 1..64 brp_inc 1
|
||||
termination 0 [ 0, 120 ]
|
||||
clock 12000000
|
||||
re-started bus-errors arbit-lost error-warn error-pass bus-off
|
||||
0 0 0 0 0 0 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535 tso_max_size 65536 tso_max_segs 65535 gro_max_size 65536 parentbus usb parentdev 3-5:1.0
|
||||
RX: bytes packets errors dropped missed mcast
|
||||
305304 38163 0 0 0 0
|
||||
TX: bytes packets errors dropped carrier collsns
|
||||
11543463 1512032 0 0 0 0
|
||||
@@ -0,0 +1,14 @@
|
||||
6: can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
|
||||
link/can promiscuity 0 allmulti 0 minmtu 0 maxmtu 0
|
||||
can state ERROR-ACTIVE (berr-counter tx 0 rx 0) restart-ms 100
|
||||
bitrate 500000 sample-point 0.875
|
||||
tq 250 prop-seg 3 phase-seg1 3 phase-seg2 1 sjw 1 brp 3
|
||||
f81604: tseg1 1..16 tseg2 1..8 sjw 1..4 brp 1..64 brp_inc 1
|
||||
termination 0 [ 0, 120 ]
|
||||
clock 12000000
|
||||
re-started bus-errors arbit-lost error-warn error-pass bus-off
|
||||
0 0 0 0 0 0 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535 tso_max_size 65536 tso_max_segs 65535 gro_max_size 65536 parentbus usb parentdev 3-5:1.0
|
||||
RX: bytes packets errors dropped missed mcast
|
||||
305304 38163 0 0 0 0
|
||||
TX: bytes packets errors dropped carrier collsns
|
||||
11461543 1501792 0 0 0 0
|
||||
@@ -0,0 +1,14 @@
|
||||
7: can1: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
|
||||
link/can promiscuity 0 allmulti 0 minmtu 0 maxmtu 0
|
||||
can state ERROR-ACTIVE (berr-counter tx 0 rx 0) restart-ms 100
|
||||
bitrate 500000 sample-point 0.875
|
||||
tq 250 prop-seg 3 phase-seg1 3 phase-seg2 1 sjw 1 brp 3
|
||||
f81604: tseg1 1..16 tseg2 1..8 sjw 1..4 brp 1..64 brp_inc 1
|
||||
termination 0 [ 0, 120 ]
|
||||
clock 12000000
|
||||
re-started bus-errors arbit-lost error-warn error-pass bus-off
|
||||
0 0 0 0 0 0 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535 tso_max_size 65536 tso_max_segs 65535 gro_max_size 65536 parentbus usb parentdev 3-5:1.0
|
||||
RX: bytes packets errors dropped missed mcast
|
||||
11543463 1512032 0 0 0 0
|
||||
TX: bytes packets errors dropped carrier collsns
|
||||
305304 38163 0 0 0 0
|
||||
@@ -0,0 +1,14 @@
|
||||
7: can1: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
|
||||
link/can promiscuity 0 allmulti 0 minmtu 0 maxmtu 0
|
||||
can state ERROR-ACTIVE (berr-counter tx 0 rx 0) restart-ms 100
|
||||
bitrate 500000 sample-point 0.875
|
||||
tq 250 prop-seg 3 phase-seg1 3 phase-seg2 1 sjw 1 brp 3
|
||||
f81604: tseg1 1..16 tseg2 1..8 sjw 1..4 brp 1..64 brp_inc 1
|
||||
termination 0 [ 0, 120 ]
|
||||
clock 12000000
|
||||
re-started bus-errors arbit-lost error-warn error-pass bus-off
|
||||
0 0 0 0 0 0 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535 tso_max_size 65536 tso_max_segs 65535 gro_max_size 65536 parentbus usb parentdev 3-5:1.0
|
||||
RX: bytes packets errors dropped missed mcast
|
||||
11461543 1501792 0 0 0 0
|
||||
TX: bytes packets errors dropped carrier collsns
|
||||
305304 38163 0 0 0 0
|
||||
30
results/can0-can1_500000_20260820-144712/report/00-BAOCAO.md
Normal file
30
results/can0-can1_500000_20260820-144712/report/00-BAOCAO.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# Báo cáo nhanh — can0 → can1 @ 500 kbps
|
||||
|
||||
Chạy `20260820-144712` · driver `f81604` · USB 12 Mbit/s
|
||||
|
||||
> ⚠️ **Mới dùng 23% bus, chưa xác định được nguyên nhân** — chạy thêm `--full` để phân loại.
|
||||
|
||||
## Số chính
|
||||
|
||||
| | |
|
||||
|---|---|
|
||||
| Trần lý thuyết CAN (DLC=8, 111 bit/frame) | 4505 fps |
|
||||
| Đạt được | 1015.67 fps |
|
||||
| Hiệu suất | 23% bus |
|
||||
| Payload | 0.0650 Mbps |
|
||||
| Mất frame | 0 / 10240 (0.0000%) |
|
||||
| Lỗi TX / lỗi CAN | 0 / 0 |
|
||||
| Trạng thái | ✅ OK |
|
||||
|
||||
> Cột payload chỉ đếm bit dữ liệu. Một frame CAN chở 8 byte tốn 111 bit trên dây cho
|
||||
> 64 bit dữ liệu, nên kể cả bus 500 kbps chạy đầy tải cũng chỉ tới khoảng 0.2883 Mbps payload —
|
||||
> con số đó nhỏ là bình thường.
|
||||
|
||||
## Đọc tiếp
|
||||
|
||||
- [01 — Thông lượng](01-thongluong.md) — kết quả, độ ổn định theo thời gian, bộ đếm driver
|
||||
- [02 — Nút thắt](02-nutthat.md) — nghẽn ở đâu và vì sao
|
||||
- [03 — Adapter](03-adapter.md) — driver, USB, endpoint
|
||||
- [Bảng so sánh](results_table.md) — một hàng để ghép với các run khác
|
||||
|
||||
Log thô nằm ở [`../log/`](../log/) — báo cáo này đã rút gọn sẵn, thường không cần mở tới.
|
||||
@@ -0,0 +1,45 @@
|
||||
# Thông lượng
|
||||
|
||||
## Kết quả
|
||||
|
||||
| Chỉ số | Giá trị |
|
||||
|---|---|
|
||||
| Thời lượng | 10.082 s |
|
||||
| Frame gửi | 10240 |
|
||||
| Frame nhận hợp lệ | 10240 |
|
||||
| **Mất** | **0** (0.0000%) |
|
||||
| Frame sai nội dung | 0 |
|
||||
| TX f/s | 1015.67 |
|
||||
| Payload | 0.0650 Mbps |
|
||||
| Bus load (nominal) | 22.55% |
|
||||
| Lỗi TX / lỗi CAN | 0 / 0 |
|
||||
|
||||
## Ổn định theo thời gian
|
||||
|
||||
Rút gọn từ thống kê mỗi giây trong log master/slave (8 mẫu sau khi cắt rìa) — thay cho việc đọc hết log.
|
||||
|
||||
| | min | trung bình | max |
|
||||
|---|---:|---:|---:|
|
||||
| TX f/s (master) | 957 | 1008 | 1088 |
|
||||
| RX f/s (slave) | 1000 | 1000 | 1001 |
|
||||
| Bus load % (canbusload, 9 mẫu) | 27 | 27.0 | 27 |
|
||||
|
||||
Biên độ 13% quanh trung bình — đều, nằm trong mức lượng tử hoá của batch 64 frame/syscall.
|
||||
|
||||
## Bộ đếm driver (trước → sau)
|
||||
|
||||
| Interface | TX gói | TX lỗi | TX drop | RX gói | RX lỗi | RX drop |
|
||||
|---|---:|---:|---:|---:|---:|---:|
|
||||
| can0 | 10240 | 0 | 0 | 0 | 0 | 0 |
|
||||
| can1 | 0 | 0 | 0 | 10240 | 0 | 0 |
|
||||
|
||||
| Interface | re-started | bus-errors | arbit-lost | error-warn | error-pass | bus-off |
|
||||
|---|---:|---:|---:|---:|---:|---:|
|
||||
| can0 | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
| can1 | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||
|
||||
Error frame bắt được bởi `candump -e`: **0**
|
||||
|
||||
Log thô: [`../log/`](../log/)
|
||||
|
||||
[← Báo cáo nhanh](00-BAOCAO.md)
|
||||
@@ -0,0 +1,14 @@
|
||||
# Nút thắt nằm ở đâu
|
||||
|
||||
⚠️ **Mới dùng 23% bus, chưa xác định được nguyên nhân** — chạy thêm `--full` để phân loại.
|
||||
|
||||
## Bằng chứng từ các probe
|
||||
|
||||
_Không probe nào được chạy. Thêm `--full` hoặc `--probe-only` để phân loại nút thắt._
|
||||
|
||||
## Kết luận
|
||||
|
||||
Mới dùng 23% bus nhưng chưa khoanh được nguyên nhân.
|
||||
Chạy lại với `--full` để probe DLC, burst và duplex phân loại giúp.
|
||||
|
||||
[← Báo cáo nhanh](00-BAOCAO.md) · [Probe chi tiết →](04-probe.md)
|
||||
@@ -0,0 +1,64 @@
|
||||
# Adapter / driver
|
||||
|
||||
Trả lời câu "đang nói chuyện với thiết bị gì" — đọc thẳng từ sysfs lúc chạy,
|
||||
không suy từ tên interface.
|
||||
|
||||
```
|
||||
=============== ADAPTER / DRIVER FINGERPRINT ===============
|
||||
captured: 2026-08-20 14:47:12
|
||||
|
||||
--- can0
|
||||
driver : f81604
|
||||
usb id : 2c42:1709
|
||||
usb product : USB TO CANBUS BRIDGE / FINTEK
|
||||
usb speed : 12 Mbit/s -> USB full-speed 12 Mbit/s (frame 1 ms)
|
||||
usb sysfs : /sys/devices/pci0000:00/0000:00:14.0/usb3/3-5
|
||||
usb interface : 3-5:1.0 (shared by all channels of this device)
|
||||
ep_01 type=Bulk dir=out wMaxPacketSize=0040 bInterval=00
|
||||
ep_03 type=Bulk dir=out wMaxPacketSize=0040 bInterval=00
|
||||
ep_81 type=Interrupt dir=in wMaxPacketSize=0010 bInterval=01
|
||||
ep_82 type=Bulk dir=in wMaxPacketSize=0040 bInterval=00
|
||||
ep_83 type=Interrupt dir=in wMaxPacketSize=0010 bInterval=01
|
||||
ep_84 type=Bulk dir=in wMaxPacketSize=0040 bInterval=00
|
||||
link :
|
||||
6: can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
|
||||
link/can promiscuity 0 allmulti 0 minmtu 0 maxmtu 0
|
||||
can state ERROR-ACTIVE (berr-counter tx 0 rx 0) restart-ms 100
|
||||
bitrate 1000000 sample-point 0.750
|
||||
tq 83 prop-seg 4 phase-seg1 4 phase-seg2 3 sjw 1 brp 1
|
||||
f81604: tseg1 1..16 tseg2 1..8 sjw 1..4 brp 1..64 brp_inc 1
|
||||
termination 0 [ 0, 120 ]
|
||||
clock 12000000 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535 tso_max_size 65536 tso_max_segs 65535 gro_max_size 65536 parentbus usb parentdev 3-5:1.0
|
||||
|
||||
--- can1
|
||||
driver : f81604
|
||||
usb id : 2c42:1709
|
||||
usb product : USB TO CANBUS BRIDGE / FINTEK
|
||||
usb speed : 12 Mbit/s -> USB full-speed 12 Mbit/s (frame 1 ms)
|
||||
usb sysfs : /sys/devices/pci0000:00/0000:00:14.0/usb3/3-5
|
||||
usb interface : 3-5:1.0 (shared by all channels of this device)
|
||||
ep_01 type=Bulk dir=out wMaxPacketSize=0040 bInterval=00
|
||||
ep_03 type=Bulk dir=out wMaxPacketSize=0040 bInterval=00
|
||||
ep_81 type=Interrupt dir=in wMaxPacketSize=0010 bInterval=01
|
||||
ep_82 type=Bulk dir=in wMaxPacketSize=0040 bInterval=00
|
||||
ep_83 type=Interrupt dir=in wMaxPacketSize=0010 bInterval=01
|
||||
ep_84 type=Bulk dir=in wMaxPacketSize=0040 bInterval=00
|
||||
link :
|
||||
7: can1: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
|
||||
link/can promiscuity 0 allmulti 0 minmtu 0 maxmtu 0
|
||||
can state ERROR-ACTIVE (berr-counter tx 0 rx 0) restart-ms 100
|
||||
bitrate 1000000 sample-point 0.750
|
||||
tq 83 prop-seg 4 phase-seg1 4 phase-seg2 3 sjw 1 brp 1
|
||||
f81604: tseg1 1..16 tseg2 1..8 sjw 1..4 brp 1..64 brp_inc 1
|
||||
termination 0 [ 0, 120 ]
|
||||
clock 12000000 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535 tso_max_size 65536 tso_max_segs 65535 gro_max_size 65536 parentbus usb parentdev 3-5:1.0
|
||||
|
||||
!! NOTE: can0 and can1 are two channels of the SAME USB device.
|
||||
They share one host link; a duplex test measures that link, not two independent buses.
|
||||
```
|
||||
|
||||
**Vì sao `bInterval` quan trọng:** trên endpoint interrupt-IN, đây là chu kỳ host
|
||||
hỏi thăm thiết bị. Nếu driver phải đợi trạng thái "TX xong" quay về qua endpoint đó
|
||||
mới gửi frame kế tiếp, thì `bInterval` chính là sàn cứng cho tốc độ frame.
|
||||
|
||||
[← Báo cáo nhanh](00-BAOCAO.md)
|
||||
@@ -0,0 +1,3 @@
|
||||
| Device | Interfaces (M→S) | Bitrate | Dur (s) | TX f/s | RX f/s | Frames sent | Valid rx | Invalid | Lost | Loss % | Payload Mbps | TX err | CAN err | Status |
|
||||
|--------|------------------|--------:|--------:|-------:|-------:|------------:|---------:|--------:|-----:|-------:|-------------:|-------:|-------:|:------:|
|
||||
| FINTEK F81604 USB | can0→can1 | 500 kbps | 10.1 | 1015.67 | 1015.67 | 10240 | 10240 | 0 | 0 | 0.0000 | 0.0650 | 0 | 0 | ✅ OK |
|
||||
Reference in New Issue
Block a user