-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Hyundai: VIN request fails on some cars #23519
Comments
I looked into this for that other issue a while back. In case of a bad VIN I think this is a bug in the ECU itself. It probably copies the VIN to some area in RAM when initializing. If you query the VIN too quickly after boot you get exactly 17 bytes of garbage data. If you look at the raw CAN traffic everything looks fine (except for the weird contents) and there are no errors. If you wait long enough, does the VIN eventually return something sane? |
We tried rebooting the comma device while the car was on multiple times and had the same results. Each time we waited for about 30 seconds before the next attempt. The delay I introduced was 10 seconds and got the
|
This is a car sold in the US? The VIN is requested using the very standard OBD-II PID, so no complicated UDS stuff going on here. |
This car is sold in Canada. If it’s using OBD-II PID, what would be the next step? |
Can you ensure the rlogs are uploaded for the route with all zero VIN? That's the default value we put in case of an exception. Can you read the VIN using something like an elm dongle? I also don't think this is related to your CAN error you see later when openpilot is running. That probably just means an address check is failing in carstate. |
@pd0wm Oddly enough, no VIN from an ELM dongle as well: I'll double check in carstate and make sure the signals are good. Will report back. |
@pd0wm Upon initial comparisons between cabana and carstate, I couldn't identify the root cause of the potential failed address check. I didn't see any logs in tmux associated to it as well. How can I check and grab logs for failed address checks? |
Should be fixed with #24311 |
Doesn't seem fully fixed, at least for non-US market vehicles, this is a Australian 2022 Kona EV: 1d6ecb67ec23a1b8, vin is all zeros |
Corresponding to Shane's update: #23517 |
Describe the bug
We are working on a car port for a 2022 Hyundai Kona Electric (#23517), and the car will not get recognized and kept throwing "CAN Error" as soon as it goes onroad. Upon investigation, we found that the car's VIN wasn't even read correctly:
OSEV__ BMS \x00\x00\x00\x00\x00\x00
. We attempted with multiple power cycles and the issue persisted.We then attempted to introduce a delay with the fingerprinting query similar to how Subaru is trying to do, and found that the VIN was changed to
00000000000000000
, but broken or unqueried FW versions all over the place.Maybe this is somewhat related to the inconsistent fingerprinting we had issues with a couple of months ago? (#21333)
Bad VIN, fully queried FW versions (unconfirmed):
248133d966e0182c|2022-01-14--05-28-05
248133d966e0182c|2022-01-14--04-01-46
00000000000000000
VIN, but broken/unqueried FW versions:248133d966e0182c|2022-01-14--05-09-54
248133d966e0182c|2022-01-14--04-56-48
What hardware does this issue affect?
comma two
Which car does this affect?
Hyundai Kona Electric 2022
Provide a route where the issue occurs
248133d966e0182c|2022-01-14--05-28-05
openpilot version
0.8.13
Additional info
No response
The text was updated successfully, but these errors were encountered: