can prot p

Enables/disables CAN and sets the protocol to be used as follows:

p = 0CAN disabled (Default)
p = 1ISO15765-4, sets baud rate to 500kbps, 11-bit header STM MICRO CAN
p = 2J1939, sets baud rate to 250kbps, 29-bit header STM MICRO CAN
p = 3Connect internal CAN to USB or Linux CAN LINUX CAN
p = 99Auto-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:

  1. Selects STM MICRO CAN ISO15765-4 :
    cmd can prot 1

See also: Vehicle Support, OBD2/J1939 Parameters Table


Firmware revision 2.0.5.3822

Last modified 3 months ago Last modified on 19-10-23 01:35:32 PM