Scroll to navigation

CANFDTEST(1) User Commands CANFDTEST(1)

NAME

canfdtest - manual page for canfdtest 2023.03-1

SYNOPSIS

canfdtest [options] <can-interface>

DESCRIPTION

canfdtest - Full-duplex test program (DUT and host part).

OPTIONS

(enable CAN FD Bit Rate Switch)
(use CAN FD frames instead of classic CAN)
(use 29-bit extended frame format instead of classic 11-bit one)

-f COUNT (number of frames in flight, default: 50)

(generate messages)
(CAN ID to use for frames to DUT (ping), default 77)

-l COUNT (test loop count)

(CAN ID to use for frames to host (pong), default 78)
(frame payload size in bytes)
(low verbosity)
(high verbosity)
(ignore other frames on bus)

With the option '-g' CAN messages are generated and checked on <can-interface>, otherwise all messages received on the <can-interface> are sent back incrementing the CAN id and all data bytes. The program can be aborted with ^C.

EXAMPLES

on DUT:

canfdtest -v can0

on Host:

canfdtest -g -v can2

March 2023 canfdtest 2023.03-1