Page 32 of 48

Re: BMW i3 CCS/charge port controller

Posted: Wed Aug 03, 2022 6:01 pm
by Jack Bauer
So now that I have a workbench again I'll be tackling the brand new LIM programming seeing as no one (to my knowledge) has done so or if so was not shared. As per my previous posts the plan is to use the i3 BDC , key and BDC simulator to allow ista-p program the module. No idea how to do this of course so follow along as I stumble blindly forward. Anyway, a new LIM was collected today from my (new) local friendly BMW dealer for the total sum of 241.42 Euros. Damn cheap for an OEM proven CCS controller if you ask me but then again what do I know ...

Re: BMW i3 CCS/charge port controller

Posted: Wed Aug 03, 2022 7:40 pm
by EV_Builder
You will need to get hold of a programmed one. If I'm correct you can read that config to your desk. Save it. And load that one into the new LIM if you go bare instantion i think you will need more devices to assemble a car config.

Re: BMW i3 CCS/charge port controller

Posted: Fri Aug 12, 2022 3:10 pm
by Jack Bauer
New LIM programming in progress. With CAN capture of course so with luck can be just done via CAN in future so no need for BDC etc.

Re: BMW i3 CCS/charge port controller

Posted: Fri Aug 12, 2022 3:13 pm
by JaniK
:P Uncharted territories for the Weekend.

Re: BMW i3 CCS/charge port controller

Posted: Fri Aug 12, 2022 3:20 pm
by Jack Bauer
Done:)

Re: BMW i3 CCS/charge port controller

Posted: Fri Aug 12, 2022 3:31 pm
by JaniK
What 10 minutes. 😅 Didn't take all the Weekend. Next testing?

Re: BMW i3 CCS/charge port controller

Posted: Fri Aug 12, 2022 5:28 pm
by Jack Bauer
Yeah I'll test it in the goose to be sure its working. Not a big deal to program. I'll make a video tomorrow with details on how to diy and might offer it as a service.

Re: BMW i3 CCS/charge port controller

Posted: Fri Aug 12, 2022 5:49 pm
by Jack Bauer
Basic shopping list :

Software : Esys 3.36 from here : https://disk.yandex.ru/d/3XLfVVYHFq8qQw
pszdata lite from here : https://disk.yandex.ru/d/Y0w0r5T1ElMVdA

Hardware : LIM (duh!) and connectors and pins. Details on LIM : https://openinverter.org/wiki/BMW_I3_Fa ... LIM_Module
BMW i3 BDC (Body Domain Controller) basically the main ecu in the i3 the gates all the data around the car.
Car key from the same car as the BDC.
Got my BDC and key from : https://www.evbreakers.com/
They even threw in the plugs and few cm of harness for free.
BDC simulator : https://www.aliexpress.com/item/1005002317110375.html
Enet cable : https://bcables.com/
USB to ethernet adapter if your PC / laptop does not have a spare ethernet port.
Two extra pins for Conn8 on the bdc to bring out pt can.
DC power supply or 12v battery.

Re: BMW i3 CCS/charge port controller

Posted: Sat Aug 13, 2022 9:39 am
by Jack Bauer
CAN log from a coding sesion with bench rig :
https://github.com/damienmaguire/BMW-i3 ... mming/Logs

Re: BMW i3 CCS/charge port controller

Posted: Sat Aug 13, 2022 1:23 pm
by muehlpower
I looked at your CAN log. A lot of this is unimportant switch positions etc or comes from the LIM. C0h is the alive signal from the gateway, 3ACh and 3BEh keeps kl30 and kl15 alive. The most interesting is 388h, it reflects the vehicle series and the country code. And the VIN with 380h is also transferred and saved i think.

Re: BMW i3 CCS/charge port controller

Posted: Sun Aug 14, 2022 6:44 am
by Jack Bauer
Sure would be interesting if it all could be achieved with a few CAN messages :)

Re: BMW i3 CCS/charge port controller

Posted: Sun Aug 14, 2022 10:07 am
by muehlpower
I couldn't find any unknown messages. Maybe sending 388h is enough. You sent:
Type I01 MCV, electric motor, England, right-hand drive, no cylinders, no displacement, automatic transmission, Clubman body style. You could try to send another country, e.g. USA and left-hand drive. It should change at 272h CHGNG_TYP_AVLB.

Re: BMW i3 CCS/charge port controller

Posted: Sun Aug 14, 2022 1:37 pm
by EV_Builder
Muehlpower do you mean: So no UDS involved? Just plain car messages? Which would mean that swapping between cars also automatically adopts to new config?

Re: BMW i3 CCS/charge port controller

Posted: Sun Aug 14, 2022 4:23 pm
by muehlpower
it's worth a try. I don't have a LIM to try it right now.
what is an UDS?

Re: BMW i3 CCS/charge port controller

Posted: Sun Aug 14, 2022 5:05 pm
by EV_Builder
UDS is a protocol many times used in automotive world.

https://en.m.wikipedia.org/wiki/Unified ... c_Services

Re: BMW i3 CCS/charge port controller

Posted: Sun Aug 14, 2022 7:40 pm
by bitterandreal
A UDS bootloader would be a very nice feature for the open inverter devices. 😀

Re: BMW i3 CCS/charge port controller

Posted: Sun Aug 14, 2022 11:30 pm
by asavage
Yeah, I was thinking "UDS" too, when Damien first mentioned using CAN to code a LIM without his other bits.
2022-08-12 16.15.30-1.jpg
UDS is a CAN protocol, and a UDS session can require authentication, which is one reason why we're still forced to use cracked OEM software to work with our vehicles.

Re: BMW i3 CCS/charge port controller

Posted: Mon Aug 15, 2022 3:18 pm
by bitterandreal
While trying to understand what the screenshot of the programming log tells I found this post which is not really related but still explains a bit...
E-sys installation instructions suggest to un-check "Update VCM" & "MSM." These stand for Vehicle Configuration Management & Master Security Management, respectively. They are part of ZGW (Zentrales Gateway), which stores everything which happened with the car, including some codings.

It is not necessary to tell your car everything you do. You cannot change the calculated values, like last coding date, in CAFD files. But, disabling these two functions, minimizes the record of what is written to vehicle.

ZGW will be read each time a vehicle is connected to an online ISTA+ (Diagnostic Software) in a service station and collected data is transmitted to BMW AG. So, to avoid further problems with BMW, we switch of the actualization of VCM and MSM.

When You Read FA or SVT, you are pulling from VCM. As such, there are times when you want these enabled like before flash programming.

With VO coding, there are two options:
Writing FA changes to VCM
This method is described in getting started guides
"Read" FA will show modified Vehicle Order.
Loading modified FA (without writing to VCM) to VO code.
This method avoids any flash programming issues & records mismatch at service
For additional Retrofits tips, check out this post.
https://f30.bimmerpost.com/forums/showt ... ?t=1318616

The UDS jobs might only be to communicate with the BDC.

It might be useful to have the whole programming log.

Re: BMW i3 CCS/charge port controller

Posted: Mon Aug 15, 2022 4:50 pm
by muehlpower
now that i know what UDS is i found it. CAN address 6F4h sends to the LIM, which responds with 614h.

Re: BMW i3 CCS/charge port controller

Posted: Mon Aug 15, 2022 7:31 pm
by EV_Builder
Ok now you can try to login and try to read memory addresses.
Becare full with experimenting that you don't execute routines because you have no clue if they wipe the flash empty etc.

Re: BMW i3 CCS/charge port controller

Posted: Tue Aug 16, 2022 5:51 pm
by Jack Bauer

Re: BMW i3 CCS/charge port controller

Posted: Wed Aug 17, 2022 12:59 am
by cloudy
Not sure if useful, but you can get the i3 BDC into ignition "on" mode without the key by running the full fault delete function using ISTA. One of the steps cycles the ignition and leaves it (and all other modules) on. It will not allow drive of course, but does give ability to code/talk to all modules.

Re: BMW i3 CCS/charge port controller

Posted: Wed Aug 17, 2022 7:59 am
by JaniK
muehlpower wrote: ↑Sat Aug 13, 2022 1:23 pm I looked at your CAN log. A lot of this is unimportant switch positions etc or comes from the LIM. C0h is the alive signal from the gateway, 3ACh and 3BEh keeps kl30 and kl15 alive. The most interesting is 388h, it reflects the vehicle series and the country code. And the VIN with 380h is also transferred and saved i think.
What If you change the VIN to lets say "GREYGOOSE1" ?

Will it work? Will it send that to the charger?

Imagine a Technician at Ionity lookin at charging logs where "Damiens minions" are charging in 7 countries at once.. :mrgreen:

Will there be possible future problems if identical VIN cars are charging at different locations at once?

Re: BMW i3 CCS/charge port controller

Posted: Wed Aug 17, 2022 8:34 am
by EV_Builder
If it happens swapping a VIN could be done easyly...so doesn't make sense. We could even together manage a POOL of VINS as long all cars are iot'ed

Re: BMW i3 CCS/charge port controller

Posted: Wed Aug 17, 2022 8:58 am
by JaniK
Oh yeah its the VIN broadcast in CAN that comes from the BDC? So LIM doesn't propably care much about storing it. Maybe just transmits the received VIN to CCS charger.