commaai / commaai/opendbc

Mazda: 2024 CX-5 Signature OEM Front Camera Sensor Failure Error

Open
#1,155 16 comments 1 reaction 0 assignees View on GitHub
bug car mazda
Dominant language
Python
Stars
3.4k
Forks
2.3k
Avg merge
3d 2h
Merged PRs (30d)
38

Description

### Describe the bug

This appears to be exactly the same as commaai/openpilot#25525 but on a 2024 CX-5 Signature. Copying and pasting that report as it's still exactly accurate:

> When driving with OP active, front camera sensor error shows up on the OEM instrument cluster
>
> similar error to https://vf.vin/static/uploads/images/sr2/mazda/2022/02/18/2018-mazda-cx-5-jm3kfbdm5j0335098-img-13.jpg
>
> Error goes away with disengage/rengage OP
>
> No errors seen on C3 unit and self drive does not disengage and does not seem affected

The rest of the filer's description is accurate too.

I have tried on:
* Stock OP 0.9.5
* A custom version of 0.9.5 I made with @Jafaral's [mazda-tja](https://github.com/Jafaral/openpilot/tree/mazda-tja) commits rebased onto it: https://github.com/DouglasSherk/openpilot/tree/mazda-tja

### Which car does this affect?

2024 Mazda CX-5 Signature

### Provide a route where the issue occurs

60ed2cf2b490292c|2023-11-21--17-47-15--12

### openpilot version

0.9.5

### Additional info

I noted that:

> The lane lines are no longer present on the lane-keeping assist dashboard, so I'm guessing it has something to do with that. When I unplug the C3 but keep the harness in-place, everything goes back to working stock, so it's not a problem with the wiring.

@Jafaral suggested the following:

> Lane lines going away is just a result of the camera error, and not the cause of it., most of the info you see on the dashboard are just decorations really.
> CAN data might reveal more info

Hence I collected the route and filed this report.

I don't think trims lower than Signature have Traffic Jam Assist, which appears to be the source of the problem. That might be why no one else with a 2022-2024 CX-5 has experienced this issue.

I'm a total newbie at OP, but a competent developer otherwise if that's helpful.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by examining route 60ed2cf2b490292c|2023-11-21--17-47-15--12 and the CAN data collected for the 2024 CX-5 Signature. Compare the behavior with commaai/openpilot#25525 and the mazda-tja changes, then determine which signal or integration causes the OEM camera error. Done means the cause is identified and the failure is reproducibly resolved without affecting self-drive.

Written by the indexing model from the issue text.

Assessment

Domain
embedded-iot, reverse-engineering
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.