CAN Monitor (for PCAN-USB interfaces on macOS, x86_64 & arm64)

Copyright (C) 2007,2012-2021 by UV Software, Berlin

Usage: can_moni <interface> [<option>...]
Options:
 -m, --mode=(2.0|FDF[+BSR])  CAN operation mode: CAN 2.0 or CAN FD format
     --listen-only           monitor mode (transmitter is off)
 -b, --baudrate=<baudrate>   CAN 2.0 bit timing in kbps (default=250)
     --bitrate=<bit-rate>    CAN FD bit rate (as a string)
 -v, --verbose               show detailed bit rate settings
 -t, --time=(ABS|REL|ZERO)   absolute or relative time (default=0)
 -i  --id=(HEX|DEC|OCT)      display mode of CAN-IDs (default=HEX)
 -d, --data=(HEX|DEC|OCT)    display mode of data bytes (default=HEX)
 -a, --ascii=(ON|OFF)        display data bytes in ASCII (default=ON) 
 -x, --exclude=[~]<id-list>  exclude CAN-IDs: <id>[-<id>]{,<id>[-<id>]}
 -L, --list-boards           list all supported CAN interfaces and exit
 -T, --test boards           list all available CAN interfaces and exit
 -h, --help                  display this help screen and exit
     --version               show version information and exit
Interfaces:
  PCAN-USB1
  PCAN-USB2
  PCAN-USB3
  PCAN-USB4
  PCAN-USB5
  PCAN-USB6
  PCAN-USB7
  PCAN-USB8
CAN 2.0 baud rate index (default=3):
  0 = 1000 kbps
  1 = 800 kbps
  2 = 500 kbps
  3 = 250 kbps
  4 = 125 kbps
  5 = 100 kbps
  6 = 50 kbps
  7 = 20 kbps
  8 = 10 kbps
CAN FD bit rate as comma-separeted <key>=<value>-list:
  f_clock=<value>      frequency in Hz or
  f_clock_mhz=<value>  frequency in MHz
  nom_brp=<value>      bit-rate prescaler (nominal)
  nom_tseg1=<value>    time segment 1 (nominal)
  nom_tseg2=<value>    time segment 2 (nominal)
  nom_sjw=<value>      sync. jump width (nominal)
  nom_sam=<value>      sampling (only SJA1000)
  data_brp=<value>     bit-rate prescaler (FD data)
  data_tseg1=<value>   time segment 1 (FD data)
  data_tseg2=<value>   time segment 2 (FD data)
  data_sjw=<value>     sync. jump width (FD data)
Examples:
  125kbps:1000kbps     f_clock_mhz=80,nom_brp=2,nom_tseg1=255,nom_tseg2=64,nom_sjw=64,data_brp=2,data_tseg1=31,data_tseg2=8,data_sjw=8
  250kbps:2000kbps     f_clock_mhz=80,nom_brp=2,nom_tseg1=127,nom_tseg2=32,nom_sjw=32,data_brp=2,data_tseg1=15,data_tseg2=4,data_sjw=4
  500kbps:4000kbps     f_clock_mhz=80,nom_brp=2,nom_tseg1=63,nom_tseg2=16,nom_sjw=16,data_brp=2,data_tseg1=7,data_tseg2=2,data_sjw=2
  1000kbps:8000kbps    f_clock_mhz=80,nom_brp=2,nom_tseg1=31,nom_tseg2=8,nom_sjw=8,data_brp=2,data_tseg1=3,data_tseg2=1,data_sjw=1
  2000kbps:10000kbps   f_clock_mhz=80,nom_brp=1,nom_tseg1=31,nom_tseg2=8,nom_sjw=1,data_brp=2,data_tseg1=2,data_tseg2=1,data_sjw=1
Hazard note:
  Do not connect your CAN device to a real CAN network when using this program.
  This can damage your application.
License typw:
  This software is freeware without any warranty or support!
Change log:
- Version 0.5 SR3 (Build 1030 of December 7, 2021:
  Compiled against PCBUSB v0.10.1 sources as Universal macOS Binary.
- Version 0.5 SR2 (Build 962 of December 22, 2020):
  Compiled against PCBUSB v0.9 sources (PCAN-USB Pro FD CAN1). 
- Version 0.5 SR1 (Build 915 of June 28, 2020):
  Compiled against PCBUSB v0.9 sources (<MacTypes.h>)
- Version 0.5 (Build 850 of December 1, 2019):
  Reworked command-line option handling:
  --listen-only - monitor mode (transmitter is off)
  --list-boards - list all supported CAN interfaces
  --test boards - list all available CAN interfaces
  Compiled against PCBUSB v0.8.1 sources.
- Version 0.4 (Build 698 of September 22, 2017):
  Support of PCAN-USB FD interfaces.
- Version 0.3 (Build 371 of November 23, 2014):
  Time-stamps are taken from CAN controller.
- Version 0.2 (Build 138 of May 17, 2013):
  Initial revision
- Version 0.1 (Build 86 of July 6, 2012):
  (reverted)
Known bugs and caveats:
- See documentation of PCBUSB library for known bugs and caveats
  in the underlying library. 
Contact:
  E-Mail: mailto:info@mac-can.com
  Internet: https://www.mac-can.com
