arduino-canbus-monitor
arduino-canbus-monitor copied to clipboard
Problem with SavvyCAN
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
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
I assumed that Lawicel/SLCAN are one and the same protocol. I use SavvyCAN under Linux and Windows.
@Metaln00b hold on, i'm uploading new version with SavvyCAN GVRET protocol....
@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
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
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♥️