Giter Club home page Giter Club logo

Comments (7)

jonchaka avatar jonchaka commented on August 29, 2024

Ford/Mazda do use extended IDs (29bits). Not sure if that is causing it.

from candrive.

adamtheone avatar adamtheone commented on August 29, 2024

Hey jonchaka!

Thanks for reaching out and I'm very sorry for the late reply.
First of all yes, the gui only supports 11bit ID, but it's just a matter of some lengths checks of some arrays. The arduino and the library supports it completely (IDE). I can try to extend it and make it work, but given my limited free time, it would be really cool if you could help me out with that.

On the other topic: I'm pretty sure it's the high baud-rate. Are you saying that when you open the serial terminal within Arduino IDE, the packets are coming in nicely? If no, you can try to increase the baud rate in the arudino code. If yes, it's the python thread that cannot keep up with the load of incoming packages. What you could do is you can apply some CAN filters within the arduino code OR (just for sanity check) you could try to NOT send every packet from the ardunio. Like send every 2nd packet or something like that. If you've validated the root cause, we can work on that more.

from candrive.

FrankM54 avatar FrankM54 commented on August 29, 2024

Ford/Mazda do use extended IDs (29bits). Not sure if that is causing it.

What year did they start?
From what I have seen in North America, it is 11 bit @ 500Kbs.

from candrive.

adamtheone avatar adamtheone commented on August 29, 2024

I've added 29bit ID support in the branch. If you could try it out and leave your feedback, that'd be super useful:
https://github.com/adamtheone/canDrive/tree/29bit_id_support

from candrive.

ccritix avatar ccritix commented on August 29, 2024

Hi.
Unfortunately, I still get the Process finished with exit code -1073741571 (0xC00000FD) error. I make contact with the car, receive messages, and randomly, after a few seconds, the error.
In arduino, it works ok, no problems.
What else could I try?
Unfortunately, I don't know where the problem is, why the error. If I knew, we would try to solve it ...
I am testing on an Opel Corsa E (2019).
I use the 29bit version
Thanks

from candrive.

ccritix avatar ccritix commented on August 29, 2024

Looks like I found the solution to the error problem ... at least in my case ...
I added a delay (10) in the Arduino code after line printPacket(&rxPacket);. Looks like there's no problem ... at least testing with a generator. I haven't tested it on the car yet. It follows...

from candrive.

ccritix avatar ccritix commented on August 29, 2024

Looks like that was the solution for me.
Now I can use the application

from candrive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.