Hyundai: VIN request fails on some cars
See original GitHub issueDescribe 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
{'carFingerprint': 'HYUNDAI KONA ELECTRIC 2022',
'carFw': [{'address': 1988,
'ecu': 'fwdCamera',
'fwVersion': b'\xf1\x00OSP LKA AT CND LHD 1.00 1.02 99211-J9110 802',
'subAddress': 0},
{'address': 2001,
'ecu': 'esp',
'fwVersion': b'\xf1\x8758520-K4010\xf1\x00OS IEB \x02 101 \x11\x13 58520-K4010',
'subAddress': 0},
{'address': 2004, 'ecu': 'eps', 'fwVersion': b'\xf1\x00OSP MDPS C 1.00 1.02 56310K4260\x00 4OEPC102', 'subAddress': 0},
{'address': 2000,
'ecu': 'fwdRadar',
'fwVersion': b'\xf1\x00YB__ FCA ----- 1.00 1.01 99110-K4500 \x00\x00\x00',
'subAddress': 0}],
'carName': 'hyundai',
'carVin': 'OSEV__ BMS \x00\x00\x00\x00\x00\x00',
00000000000000000
VIN, but broken/unqueried FW versions:
248133d966e0182c|2022-01-14--05-09-54
248133d966e0182c|2022-01-14--04-56-48
{'carParams': {'carFingerprint': 'mock',
'carFw': [{'address': 2000,
'ecu': 'fwdRadar',
'fwVersion': b'\xf1\x00YB__ FCA ----- 1.00 1.01 99110-K4500 \x00\x00\x00',
'subAddress': 0}],
'carName': 'mock',
'carVin': '00000000000000000',
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
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (10 by maintainers)
Top GitHub Comments
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: https://github.com/commaai/openpilot/pull/23517