arduino-canbus-monitor icon indicating copy to clipboard operation
arduino-canbus-monitor copied to clipboard

Problem with SavvyCAN

Open Metaln00b opened this issue 1 year ago • 6 comments

When using SavvyCAN, Arduino Nano with MCP2515 8MHz I keep getting HEX 07 back when sending dumps.


Write to serial -> 74 33 38 32 31 30 30 d (t328100)
Got data from serial. Len = 1
07 <<< Error

Savvy CAN v208

Can anyone help me?

By using CANable there is no problem

Metaln00b avatar Feb 18 '24 17:02 Metaln00b

Hi I don't think SavvyCAN supports SLCAN/LAWICEL protocol implemented by this library. At least under Windows. Which OS do you use? Please check SavvyCAN forum. https://savvycan.com/index.php/forum/welcome-mat/233-savvycan-with-canable-hardware-slcan-on-windows https://savvycan.com/index.php/forum/welcome-mat/208-new-can-usb-device-support-which-way-do-you-recommend

latonita avatar Feb 20 '24 10:02 latonita

I assumed that Lawicel/SLCAN are one and the same protocol. I use SavvyCAN under Linux and Windows.

Metaln00b avatar Feb 20 '24 12:02 Metaln00b

@Metaln00b hold on, i'm uploading new version with SavvyCAN GVRET protocol....

latonita avatar Feb 20 '24 13:02 latonita

@Metaln00b okay, i tried to implement output in gvret serial protocol. one way only - from CAN bus to serial. try this branch https://github.com/latonita/arduino-canbus-monitor/tree/GVRET you shall uncomment this line in setup() in .ino

//    Can232::setOutputProtocol(OutputProtocol::PROTO_GVRET); // PROTO_LAWICEL (default) or PROTO_GVRET for SavvyCAN

latonita avatar Feb 20 '24 14:02 latonita

not sure how savvycan works, but it doesnt for me... however I see there is socketcan setting in the app - if you use linux, i believe you can set up socketcan.

also... it seems like savvycan shall support lawicel... but I can't check since I dont have any CAN hardware available to test

latonita avatar Feb 20 '24 16:02 latonita

Okay receiving over can is not the problem but sending data to will cause my problem. Socketcan also did not work in both directions. But thank you very much for your solution♥️

Metaln00b avatar Feb 20 '24 17:02 Metaln00b