question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hyundai: VIN request fails on some cars

See original GitHub issue

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
{'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:closed
  • Created 2 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
sshanecommented, Jun 11, 2022

Doesn’t seem fully fixed, at least for non-US market vehicles, this is a Australian 2022 Kona EV: 1d6ecb67ec23a1b8, vin is all zeros

0reactions
sunnyhaibincommented, Jun 14, 2022

Corresponding to Shane’s update: https://github.com/commaai/openpilot/pull/23517

Read more comments on GitHub >

github_iconTop Results From Across the Web

8 Reasons Why Your VIN Won't Decode [w/ Infographic]
Your VIN number won't decode. Here are eight common VIN decoding problems identified and explained to help you troubleshoot.
Read more >
This notice applies to your vehicle, VIN
This notice applies to your vehicle, VIN: XXXXXXXXXXXXXXXXX. Dear Hyundai Sonata Owner: This notice is sent to you in accordance with the National...
Read more >
FAQ - Hyundai Engine Recall and Software Update Information
(855) 671-3059 · 1. Why has Hyundai recalled certain vehicles for an engine issue? · 2. How do I know if my car...
Read more >
Thousands of Kias and Hyundais may qualify for free engine ...
A class action settlement last year could mean that thousands of Kia and Hyundai owners may qualify for a free engine replacement.
Read more >
Car Recall Guide: Your Questions Answered
Some recalls include millions of vehicles, while others include only a dozen or so. ... go to nhtsa.gov/recalls and enter your car's VIN....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found