Open Tkong1 opened 1 year ago
Same issue (exactly). Also no CAN messages shown. Did you ever find a solution for this?
Also wondering the same thing, have a stm32f103 I'm trying out a can transceiver with but canable with cangaroo is having the same issue.
The issue is that you have to compile that tool (it's in canifconfig folder) and newer versions of Linux are having issues with the includes referenced in the source code. I've tried all day without success but still trying.
OK. Got it. Did up a free Ubuntu 16.04.7 VirtualBox and compiled the full code base on it. Copied file over to my local Linux and voila it worked.
Issue
After starting a measurement with my UCAN FYSETC Adapter in cangaroo the error
timeout waiting for canifconfig
appears in the log. cangaroo tells me that it is listening to interface can0 but no can messages appear. Could you please give me a hint what i am doing wrong?Log
20:55:30 info calling canifconfig to reconfigure interface can0
20:55:30 info canifconfig -d -i can0 -b 500000 -p 875 -u
20:55:30 error timeout waring for canifconfig
20:55:30 info Listening on interface: can0
Setup
Hardware
FYSETC UCAN USB to CAN Adapter connected via USB-C
Firmware
candleLight_fw for FYSETC UCAN
Operating System
Ubuntu 22.04.2 LTS.
Cangaroo Version
version 0.2.3
Steps to reproduce
sudo apt install dfu-util.
70-candle-usb.rules
from the repo into/lib/udev/rules.d/
./bin/cangaroo
)Additional Info
dmesg
usb 1-3: USB disconnect, device number 24
usb 1-3: new full-speed USB device number 25 using xhci_hcd
usb 1-3: New USB device found, idVendor=1d50, idProduct=606f, bcdDevice=0.00
usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-3: Product: UCAN USB to CAN adapter
usb 1-3: Manufacturer: FYSETC
usb 1-3: SerialNumber: 004200444146571620313238
gs_usb 1-3:1.0: Configuring for 1 interfaces