Enables/disables CAN and sets the protocol to be used as follows:
p = 0 | CAN disabled (Default) |
p = 1 | ISO15765-4, sets baud rate to 500kbps, 11-bit header STM MICRO CAN |
p = 2 | J1939, sets baud rate to 250kbps, 29-bit header STM MICRO CAN |
p = 3 | Connect internal CAN to USB or Linux CAN LINUX CAN |
p = 99 | Auto-detect CAN protocol using USB CAN LINUX CAN |
Notes:
There are two CAN systems available on the CTM-200 a STM Micro based CAN processor and a Linux based CAN processor.
Where possible the Linux based CAN processor should be used.
cmd can usbprot is for controlling the Linux based CAN processor, cmd can usbprot 0 needs to be set for STM Micro based CAN. can prot 1 and can prot 2 will IGNORE cmd can usbprot but it is good practice to set to 0 for
STM MICRO CAN
If MANUALLY configuring Linux based CAN set cmd can prot 3 in addition to cmd can usbprot N
cmd can prot 99 is for auto detection of CAN using the Linux CAN processor, setting of can usbprot is not required if using cmd can prot 99
Examples:
See also: Vehicle Support, OBD2/J1939 Parameters Table
Firmware revision 2.0.5.3822