-
-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DTC cannot be read by valuecan #32
Comments
Hi Since reading the DTC worked with Vector and only the Bus object changed, I would suspect python-can here. Can you try reading raw messages with your Bus object? Also, if you enable global logging, you should get some logs from can-isotp as well and you will see if the TransportLayer receive the data. I do not own a NeoVI interface, therefore I can't debug myself. |
hello, is it the right way to find the log? |
The TransportLayer default logger name is "isotp", you can enable that logger in your config file. |
hello the following is the log: 2019-07-11 14:23:22 [INFO] Connection: Connection opened it sames like isotp didn't receive the data, if i tried to read the DTC by vactor, the log is: could you please check again? if you need more ,please tell me ,thanks |
Hi, Something else is going on. I don't think this is a bug coming from either udsoncan nor can-isotp. I suspect something at the hardware level. Have you validated your bus usage? Is there error frames on your bus? |
hi,
i trid to read the DTC by value can / 581 in the vehicle, and i cannot find the DTC also. anything you want ,i can try it in the vehicle, thanks |
Hi, I don't think the logging.conf has anything to do with the capacity of reading the DTC. Try sending raw messages without passing though UDS nor IsoTP and see if you can get an answer. Also, the logging you see s because your Python Can bus doesn't filter out messages not intended for IsoTP. The stack receives them, make a log entry and discard them. You can add such filter if you want to make your log cleaner and remove some load on the stack. Also, since you have CanAnalyzer, look at your bus statistics to see the usage and check if you have error frames; that'll be a good start. I will likely close this issue if we can't diagnose a little better what is going on. Right now, I am pretty convinced that udsoncan nor can-isotp are at the source of the issue. REgards |
Hi, We can reopen if needed. |
@ep081106 hi, were you able to fix this issue? I just had the same behavior with neovi tool. |
hello Mr. Pier
from the issue :#12, i guess udsoncan can supprot the ValueCAN.
now when i read the DTC by ValueCAN, uedoncan can not get the response:
the interface is :
bus = NeoViBus(bustype='neovi', channel=1, bitrate=500000) # value can / 581
udsoncan can sent the "19022F" to the ECU successful, and ECU responsed "[11 53]59 02 FF 06 07 41……" , but udsoncan reported an error "raise TimeoutException('Did not receive response in time. %s time has expired (timeout=%.3f sec)' % (timeout_name_to_report, timeout_value))
udsoncan.exceptions.TimeoutException: Did not receive response in time. P2 timeout time has expired (timeout=5.000 sec)"
the snapshot when read the DTC by ValueCAN
if i try to read the DTC by canaylzer, it works fine;
the snapshot when read the DTC by canaylzer
read to DTC.zip
could you please help me to check mine code where is wrong? thanks very much!
The text was updated successfully, but these errors were encountered: