collin80 / SavvyCAN

QT based cross platform canbus tool
MIT License
977 stars 273 forks source link

CANable with SAVVYCAN #626

Open ufc12345 opened 1 year ago

ufc12345 commented 1 year ago

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...

nico0481 commented 1 year ago

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

nagup commented 1 year ago

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.

rusoku commented 1 year ago

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.

homewsn commented 1 year ago

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

nagup commented 1 year ago

@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?

homewsn commented 1 year ago

@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 commented 1 year ago

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

nagup commented 1 year ago

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

ghost commented 11 months ago

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