SavvyCAN icon indicating copy to clipboard operation
SavvyCAN copied to clipboard

CANable with SAVVYCAN

Open ufc12345 opened this issue 1 year ago • 9 comments

Hello everyone,

I have a question for you. Can I use SAVVYCAN with CANable? I think ı can do it but ı wonder , Ultimately CANable is a USB to CAN bus converter adapter.

Thanks for helping. Best Regards...

ufc12345 avatar Apr 24 '23 18:04 ufc12345

Hello,

Operating System?

I use it on Linux, in connection parameters, choose QT SerialBus, socketcan and then select your interface, i.e. can0. You have first to bring up your network connection

Nico

nico0481 avatar May 25 '23 10:05 nico0481

Also looking to use a CANable dongle with Savvycan.

OS: Windows 10

Its just one I found on ebay, running candlelight firmware so from what Ive read on other issues and google, I should be using SLcan or one of the other options when creating a new issue. It asks for a port but when I plug the dongle in, it doesn't get a COM port at all, just appears in the device manager as a universal serial bus device.

I read a post on the savvycan website where Colin said its not supported yet but that was years ago so just wondering if there are any workarounds now or if its supported etc?

If it isn't supported, what exactly does the device need to be in order to work, does it need to appear to windows as a USB serial interface? I couldn't find information on it. I tried searching for "Savvycan compatible devices" and nothing was explicit. I ask because I have many microcontrollers and a CAN shield (MCP2515) which I hope I can use.

I feel more confident with this USB dongle I bought but if anyone can suggest how I could get it working with Savvycan that would be great.

nagup avatar Jun 10 '23 12:06 nagup

Peak , Kvaser, IXXAT, TouCAN .. etc

If it isn't supported, what exactly does the device need to be in order to work, does it need to appear to windows as a USB serial interface? I couldn't find information on it. I tried searching for "Savvycan compatible devices" and nothing was explicit. I ask because I have many microcontrollers and a CAN shield (MCP2515) which I hope I can use.

rusoku avatar Jun 10 '23 12:06 rusoku

As far as I know, CANable (based on STM32F042C6) can be flashed with different firmware versions:

  • the original version (https://github.com/normaldotcom/canable-fw) uses the Lawicel SLCAN protocol. SavvyCAN V213 also supports this protocol on Windows 10.
  • version of candleLight_fw (https://github.com/candle-usb/candleLight_fw) uses "gs_usb" protocol. On Linux, this is implemented as SocketCAN. As for the Windows version of SavvyCAN, I am currently finishing up the QtSerialBus plugin. I'll post the source code as soon as I'm done, but for now you can try it if you want. To do this, the dll file in the attached to this comment zip archive should be placed in the canbus folder of the SavvyCAN-Windows_x64_CIBuild.zip V213 distribution. If plugin works, then the connected USB device can be found in the New Connection dialog, connection type is QT SerialBus devices, SerialBus device type is candleLight_fw, port is gs_usb0. qtcandlelightcanbus.zip

homewsn avatar Jun 10 '23 15:06 homewsn

@homewsn Oh yes it actually works. The adapter wants to work, when I set up the connection and close the window. I get about 30 frames captured and then it stops and frames per second drops to 0. I am using an arduino to repeatedly send a message, maybe cause of this its freezing and maybe it wouldn't when connected to an actual vehicle? Although I dont think so but could be a possibility, how have you tested yours?

nagup avatar Jun 10 '23 16:06 nagup

@nagup

I connected two candleLight_fw compatible devices to SavvyCAN, The devices are connected via CAN bus at 500 kbps. Next, in the FrameSender dialog box, I enter something like: 1

Then I checked the En box and after a while I got: 2

And don't forget about termination resistors in "two-devices home CAN bus".

homewsn avatar Jun 10 '23 17:06 homewsn

@nagup The source code and initial release version are available here: https://github.com/homewsn/candleLight_fw-SavvyCAN-Windows-plugin

homewsn avatar Jun 12 '23 14:06 homewsn

@homewsn That's great, thank you for making this, should hopefully get a chance to use it some time soon

nagup avatar Jun 12 '23 18:06 nagup

Hi, some help is much needed and appreciated. I'm a 45 year old disabled man that lives in Faringdon, Oxfordshire. The disabilities are severe sensory PTSD, agoraphobia and psychogenic hyperventilation. Since earlier this year the motability Golf has been hacked by people with anti-disability vendettas. They've accessed the canbus remotely so the suspension wallows, shudders and porpoises over undulations. Extensive research was conducted and I'm desperate for the hacking to stop. It's ruining what little quality of life there is. Cannsavvy seems to be able to access various canbus to alter settings? Please can someone advise how it can be used to reverse the affects to the suspension? Dealer resets haven't worked. All help is much appreciated. Perhaps someone who understands cansavvy and comparable programmes can visit me in Faringdon, Oxfordshire to help readjust the Golf's canbus settings or give me some guidance on how to use the programme.

Many thanks in advance,

Josh Ross

ghost avatar Sep 14 '23 14:09 ghost