Thank you, tonton81! Yes, I am storing the callback value to a array in order to convert CAN values to other parameters for display.
I am not good at using millis() yet, so your example is very...
Type: Posts; User: Zweisteinjp
Thank you, tonton81! Yes, I am storing the callback value to a array in order to convert CAN values to other parameters for display.
I am not good at using millis() yet, so your example is very...
So far, if ECU responds, my program can pick the response message using ISOTP callback properly. But at the moment I have difficulty to handle, for example disconnect the CAN line or, using wrong...
Since I have a couple of Teensy3.6, I tried the ISOTP plugin to Teensy3.6, too. ISOTP plugin works without any problem with a small CAN setting change.
Before doing a vehicle test, I started using ISOTP Plugin with Vehicle SPY ISO15765-2 multi frame function.
With modifying a short codes, SID$09 InfoType$02 VIN Read seems to be working properly. It...
Wow, with your ISOTP plugin I can do many multi-frame things much easier, I think.:)
It's really cooooool!
Thank you tonton81,
Finally everything goes fine.
>Proper order:
>begin
>setmaxmb
>enable fifo
>filters
Instead of using MailBox, I started using FIFO and it seems to be working.
Therefore I started to handle with multi-frame messages. Since my vehicle does not support VIN (Vehicle Identification...
Thank you, tonton81,
Since I could not do a good job with FIFO, I went back to mail box stuff anyway.
So far I can send and receive OBD CAN message with extended 29 bit CAN communication....
Thank you tonton81,
I am so stupid, I could not see the whole codes but stuck around CAN setting.
must correct basic logic coding part first before asking question.....
Meanwhile I am trying to figure out the FIFO and mailboxes behavior, but there is still a lot of things to understand.
Most of the reason why the software does not work properly may come from...
Things are going back and forth. Since engine coolant temperature changes slow, I used PID$0C engine speed.
I let Teensy4.0 transmit the SID$01 PID$0C request messages every 200ms but can receive...
Thank you tonton81.
Instead of using setMBFilter(MB7, 0x18DAF111, EXT), but I try to use setFIFOFilter(0, 0x18DAF111,EXT).
Things are going forward and nicer.
Thank you tonton81!
anyway, with the following source code, Teensy4.0 can talk with my Honda FIT 2012 model year.
I have to enable FIFO and change MB1 to MB7. I did not check MB4 through MB7.
...
My vehicle does not support UDS. So, UDS part of the source code cannot be tested and therefore I'm not sure whether it works or not.
Anyway I will debug ISO-15765-4 part (mode$01 or Service$01 CAN)...
Thank you, tonton81,
I didn't know the Mail Box difference. It is a big help. I will try MB4 - MB7.
Also thanks for debugging advices.
Thank you msadie,
I have updated the FlexCAN_T4 library with the latest one, and removed events() from the code.
But the symptom is the same.
I have updated the source code with the latest one. ...
Thank you, Rezo.
My source code handling positive response was wrong.
I corrected positive response as you mentioned. 0x41 for mode$01 (service$01), and 0x62 for mode22.
However any response...
I'm trying to talk with Honda fit via OBD protocol using Teensy4.0 + MCP2562.
I can talk with the vehicles which is using standard CAN such as 7E0, 7E8 type.
But I cannot send request messages and...