From 938e84f7da65c0fe59ea4a7d56e7aa6f64e0818b Mon Sep 17 00:00:00 2001 From: Robin Clark Date: Tue, 10 Dec 2024 12:37:30 +0000 Subject: [PATCH] Readme notes for CAN USB setup --- README_CANABLE_V_2_0.txt | 7 +++++++ README_USB2CABFD_V1.txt | 12 ++++++++++++ ppt2png.sh | 1 + 3 files changed, 20 insertions(+) create mode 100644 README_CANABLE_V_2_0.txt create mode 100644 README_USB2CABFD_V1.txt mode change 100644 => 100755 ppt2png.sh diff --git a/README_CANABLE_V_2_0.txt b/README_CANABLE_V_2_0.txt new file mode 100644 index 0000000..c3fb57e --- /dev/null +++ b/README_CANABLE_V_2_0.txt @@ -0,0 +1,7 @@ +# the CANable V2.0 does not seem to obej the sjw argument. +# hence it will miss can bus messages esp 0x0F1FD000 etc. +# 10DEC2024 + +sudo ip link set dev can0 down +sudo ip link set dev can0 up type can bitrate 100000 sjw 4 +sudo ip link set dev can0 up diff --git a/README_USB2CABFD_V1.txt b/README_USB2CABFD_V1.txt new file mode 100644 index 0000000..d902466 --- /dev/null +++ b/README_USB2CABFD_V1.txt @@ -0,0 +1,12 @@ + + + + Commands to get the USB2CANFD V1 working. +========================================== + +$ sudo slcand -o -s3 -t hw -S 3000000 /dev/ttyACM0 +$ sudo ip link set up slcan0 + + +RPC 28NOV2025 +============================================================ diff --git a/ppt2png.sh b/ppt2png.sh old mode 100644 new mode 100755 index e5510f2..651c69c --- a/ppt2png.sh +++ b/ppt2png.sh @@ -24,5 +24,6 @@ convert \ image.png # Clean up temporary file +gwenview image.png rm $temp_file ################################################################################