Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timeout waiting for canifconfig with UCAN FYSETC #23

Open
Tkong1 opened this issue Jun 25, 2023 · 3 comments
Open

timeout waiting for canifconfig with UCAN FYSETC #23

Tkong1 opened this issue Jun 25, 2023 · 3 comments

Comments

@Tkong1
Copy link

Tkong1 commented Jun 25, 2023

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

  1. Clone the candleLight_fw repo via git
  2. Followed the steps of Building
  3. Connected the UCAN via USB-C
  4. Installed the dfu-util tool with sudo apt install dfu-util.
  5. Added the 70-candle-usb.rules from the repo into /lib/udev/rules.d/
  6. Followed the recommended simple method for Flashing
  7. Clone the cangaroo repo via git
  8. Followed the steps to build on linux
  9. Open cangaroo (./bin/cangaroo)
  10. Selected option Measurement -> Start Measurement
  11. Selected already existing Network 1 with Interface can0
  12. Default configuration bitrate 500k, sample point 87,5% no options active
  13. Click Ok

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

@int2str
Copy link

int2str commented Dec 24, 2023

Same issue (exactly). Also no CAN messages shown.
Did you ever find a solution for this?

@jake-g00dwin
Copy link

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.

@Lpd738
Copy link

Lpd738 commented Apr 23, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants