collin80 / SavvyCAN

QT based cross platform canbus tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CAN LIN Flipper Zero module support

Skorpionm opened this issue · comments

Good afternoon. Would you like to add Flipper Zero CAN LIN module support to your program. But there is 1 moment in the model the CAN transceiver MCP2518FD is used. that is, it has support for CAN-FD in addition to the classic CAN, also has LIN Bus support

flipperdevices/flipperzero-firmware#2951

According to the communication protocol, you can contact me directly, we implement any protocol.

I'm interested. I have ordered a Flipper Zero and should have it at the end of this week. I really want to see CAN added to Flipper. And, being able to then interface that to SavvyCAN would be nice. I'll keep an eye on the pull request over at the link you posted.

if you are ready to add support to the program, I am ready to do whatever is needed from the flipper side

but for CAN FD/Lin to work on the flipper, an additional module is required, which is not yet available.

I can implement any work protocol. all you need is a description of it.
the can chacker 2 (lawicel) protocol is now implemented, but it does not support Lin and CAN FD

This document describes the GVRET protocol I use to communicate with my SavvyCAN program: https://github.com/collin80/M2RET/blob/master/CommProtocol.txt

I'm thinking to build a CAN board, at least temporarily for my own use. I have the protoboards for flipper coming with it so I should be able to rig something up to test CAN at least.

Sorry, this is not a complete protocol at all, there are no Lin frames, no examples of packets and responses to them, no algorithm for calculating checksums. and other things. It would be nice to have at least a trace of communication between the device and your program, ideally with comments about what you are sending and signatures of packet types
https://github.com/collin80/M2RET/blob/master/M2RET.ino
https://github.com/collin80/SavvyCAN/blob/master/connections/gvretserial.cpp

it's more clear. yes I can implement such a protocol. but the question is, is this a protocol invented by you or from some standard piece of hardware? As I understand it, it lacks support for CAN FD packets, installation of a master mode for lin, it is not clear with time stamps of packets, and some other subtleties. And is this protocol more fully supported in your program?

@collin80
Hello, Collin. This is Ruslan from Flipper Devices. How can I contact you by email?

kidderc at (the email provider of a large numbered place famous for their search engine).com

Hows that for trying to confuse bots?

@collin80
I think this is a great protection against bots, Collin!
Please check your inbox