CAN/en: различия между версиями

Новая страница: «The <code>cansend</code> and <code>candump</code> utilities are included in the controller's standard software package. If for some reason they are not there, you can install the <code>can-utils</code> package: <syntaxhighlight lang="bash"> apt update && apt install can-utils </syntaxhighlight>»
(Новая страница: «Command examples: * Sending four bytes with address 123: *:<syntaxhighlight lang="bash"> cansend can0 123#DEADBEEF </syntaxhighlight>»)
(Новая страница: «The <code>cansend</code> and <code>candump</code> utilities are included in the controller's standard software package. If for some reason they are not there, you can install the <code>can-utils</code> package: <syntaxhighlight lang="bash"> apt update && apt install can-utils </syntaxhighlight>»)
Строка 58: Строка 58:




Обратите внимание, что в случае проблем на шине (нет терминатора, нет принимающего устройства, короткое замыкание), контроллер может прекратить работу.
Please note that in case of problems on the bus (no terminator, no receiving device, short circuit), the controller may stop working.
Для того чтобы начать работу вновь, выполните:  
To start working again, run:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
ifconfig can0 down && ip link set can0 up type can bitrate 125000
ifconfig can0 down && ip link set can0 up type can bitrate 125000
translator, wb_editors
4285

правок