BmwCanEFortySix (2020-01-03 20:36:25)

CAN_VARIANT_BMW_E46_M54_S54

for BMW E46 CanBus messages

under [stm32-aim2can-10adcmap/] Implemented as -DCAN_VARIANT_BMW_E46_M54_S54

[example]

An exact list of required ID-s + messages (so we can test, edit, confirm).


1 way or 2 way?

"ARBID: 0x613 also sent from the instrument cluster if 0x615 is acknowleged."


CAN dash arrived to lab, so we can now test new code against real dash

Tested against real dash


Termination (generic info, separate page maybe ?)

If in doubt with 120 Ohm termination, measure resistance.


Sniffing - should not be needed normally, but...

Saleae 8ch (eg. with old 1.1.15 or 1.1.16sw) can be used to capture live data from bus.


CAN checksum required I believe

I have a 2002 E46 325i that shows check engine light and also brake fault light, I believe its because the CAN output from the aim adapter doesn´t have a checksum at the end so the other boxes in the car get upset, when the ecu is disconnected the fault goes away. I believe its a CRC-8 that is required.

I have the cable to update the CAN so if you believe you can update the E46 CAN firmware to have CRC-8 then I can test it.

Car is otherwise all working (not AC as its over CAN and there is no CAN > V3)

Gunni


Hello Gunni,

Do you have a can log (logging the same id's the aim2can sends out) from when the stock ecu is sending the data, so that i can determine the correct crc format and location ? or perhaps some addional information outlining it ?

If i have a better understanding of the requirements, i will implement it. Thanks!

Best regards, Dave

Hi Dave, I believe I did send you some of that data from earlier when I was first messing about with this CAN stuff.

But I´ll try and find those logs or do a new log of the CAN.

And if I can I´ll try and find some info on the CRC8 stuff and the easiest way to implement it (table lookup people say)

Testing done - the car complained of CAN issues so its definitely that.