E90Post
 


Extreme Powerhouse
 
BMW 3-Series (E90 E92) Forum > E90 / E92 / E93 3-series Technical Forums > BMW Coding > Connecting module directly to ODB2 cable?



Reply
 
Thread Tools Search this Thread
      11-14-2019, 01:29 PM   #1
Hotter
First Lieutenant
Hotter's Avatar
72
Rep
381
Posts

Drives: BMW E92 328i -> 330i
Join Date: Feb 2018
Location: Lithuania

iTrader: (0)

Connecting module directly to ODB2 cable?

Is it possible to connect module to ODB2 cable directly or do I need anything else? I am trying to identify module on Tool32 and getting error:

apiJob("RAD2","ident","","")
EDIABAS Error 19 : IFH-0009: NO RESPONSE FROM CONTROLUNIT

My setup:
4 - ground
5 - ground
6 - CAN High -> RAD2 orange/green
14 - CAN Low -> RAD2 green
16 - +12V
and also radio power +12V and ground



Appreciate 0
      11-14-2019, 03:07 PM   #2
icon2015
Private First Class
21
Rep
126
Posts

Drives: E92 320d ~200 bhp
Join Date: Apr 2018
Location: Bucharest

iTrader: (0)

You will need a JBBF or a KGM, properly wired to start and connected to the CAN,
Appreciate 0
      11-14-2019, 06:14 PM   #3
ctuna
Lieutenant General
1911
Rep
13,103
Posts

Drives: 325xi 06 wagon MT
Join Date: Jan 2010
Location: Santa Cruz, Ca

iTrader: (0)

Programing a module with a bench setup would be cool.
Tell us how it goes.
Appreciate 0
      11-17-2019, 04:02 PM   #4
Sensible_
Colonel
529
Rep
2,503
Posts

Drives: 2008 E90
Join Date: Feb 2012
Location: London

iTrader: (1)

Quote:
Originally Posted by icon2015 View Post
You will need a JBBF or a KGM, properly wired to start and connected to the CAN,
I think you need a CAS and key / ignition slot / button too?

A KOMBI is also useful.

Here is a diagram. Not mine but useful for those interested:
Attached Images
 
Appreciate 1
Hotter72.00
      11-20-2019, 02:27 PM   #5
Hotter
First Lieutenant
Hotter's Avatar
72
Rep
381
Posts

Drives: BMW E92 328i -> 330i
Join Date: Feb 2018
Location: Lithuania

iTrader: (0)

Its working, I can communicate with RAD2 radio with cable. All I needed was JBBF! I even got indentification with INPA:


But still not sure if its possible to read flash memory with tool32. Any one knows exact function?
Appreciate 0
      11-20-2019, 04:49 PM   #6
ctuna
Lieutenant General
1911
Rep
13,103
Posts

Drives: 325xi 06 wagon MT
Join Date: Jan 2010
Location: Santa Cruz, Ca

iTrader: (0)

Well wouldn't you just go through the normal NCSexpert procedure
and get a trace file then modify to a Man file and re-code the module.
If you can read it you should be able to write it I would think.
Appreciate 0
      11-25-2019, 03:42 PM   #7
icon2015
Private First Class
21
Rep
126
Posts

Drives: E92 320d ~200 bhp
Join Date: Apr 2018
Location: Bucharest

iTrader: (0)

Quote:
Originally Posted by Hotter View Post
But still not sure if its possible to read flash memory with tool32. Any one knows exact function?
Why would you like to read the flash? I don't think this is possible through OBD. To write the flash that is a different story.
Appreciate 0
      11-25-2019, 11:18 PM   #8
ctuna
Lieutenant General
1911
Rep
13,103
Posts

Drives: 325xi 06 wagon MT
Join Date: Jan 2010
Location: Santa Cruz, Ca

iTrader: (0)

This setup would allow you to program modules outside the car.
Which would be valuable if you are repairing or installing modules.
Actually that list of code you bypass when you read a trace file is
the programming.
Appreciate 0
      11-26-2019, 08:13 AM   #9
Hotter
First Lieutenant
Hotter's Avatar
72
Rep
381
Posts

Drives: BMW E92 328i -> 330i
Join Date: Feb 2018
Location: Lithuania

iTrader: (0)

Quote:
Originally Posted by icon2015 View Post
Why would you like to read the flash? I don't think this is possible through OBD. To write the flash that is a different story.
I would like to disassemble it and maybe modify.
Appreciate 0
      11-26-2019, 08:19 AM   #10
rjahl
Colonel
rjahl's Avatar
996
Rep
2,287
Posts

Drives: Z4 35is
Join Date: Jun 2011
Location: Tampa

iTrader: (0)

Garage List
2012 Z4 35is  [0.00]
Quote:
Originally Posted by Hotter View Post
Quote:
Originally Posted by icon2015 View Post
Why would you like to read the flash? I don't think this is possible through OBD. To write the flash that is a different story.
I would like to disassemble it and maybe modify.
Not so easy, many modules are protected with an RSA signature check. They will not allow a modified file to be flashed via ODB.

There are work arounds, but it takes time to resolve.
Appreciate 0
      11-26-2019, 10:25 AM   #11
ctuna
Lieutenant General
1911
Rep
13,103
Posts

Drives: 325xi 06 wagon MT
Join Date: Jan 2010
Location: Santa Cruz, Ca

iTrader: (0)

I thought changing the blink count for lane changing was
a direct manipulation of bits.
Appreciate 0
      11-26-2019, 05:15 PM   #12
rjahl
Colonel
rjahl's Avatar
996
Rep
2,287
Posts

Drives: Z4 35is
Join Date: Jun 2011
Location: Tampa

iTrader: (0)

Garage List
2012 Z4 35is  [0.00]
Quote:
Originally Posted by ctuna View Post
I thought changing the blink count for lane changing was
a direct manipulation of bits.
There are area of the ram that are designed to be modified and have limited protection, coding areas .

Then there are boot sector, program and calibration areas. Different level of security.
Appreciate 0
      11-26-2019, 05:22 PM   #13
ctuna
Lieutenant General
1911
Rep
13,103
Posts

Drives: 325xi 06 wagon MT
Join Date: Jan 2010
Location: Santa Cruz, Ca

iTrader: (0)

How do the tuners get to that stuff in the DME or are they
only playing with changeable bits.
Appreciate 0
      11-26-2019, 07:37 PM   #14
rjahl
Colonel
rjahl's Avatar
996
Rep
2,287
Posts

Drives: Z4 35is
Join Date: Jun 2011
Location: Tampa

iTrader: (0)

Garage List
2012 Z4 35is  [0.00]
Quote:
Originally Posted by ctuna View Post
How do the tuners get to that stuff in the DME or are they
only playing with changeable bits.
They find holes or flaws in the security systems.

Vulnerabilities seem to exist in the software updating processes. Mostly the program update process.

Most of the DMEs have been hacked but the smaller modules don't get that much attention.
Appreciate 0
      11-27-2019, 04:42 AM   #15
Hotter
First Lieutenant
Hotter's Avatar
72
Rep
381
Posts

Drives: BMW E92 328i -> 330i
Join Date: Feb 2018
Location: Lithuania

iTrader: (0)

Quote:
Originally Posted by rjahl View Post
They find holes or flaws in the security systems.

Vulnerabilities seem to exist in the software updating processes. Mostly the program update process.

Most of the DMEs have been hacked but the smaller modules don't get that much attention.
And what about software update?
You can update software with WinKFP (I beleve through K-Can bus), doesn't that mean there should be a way at least to write to flash?
But of course it would be nice to read first...
Appreciate 0
      11-27-2019, 11:46 AM   #16
rjahl
Colonel
rjahl's Avatar
996
Rep
2,287
Posts

Drives: Z4 35is
Join Date: Jun 2011
Location: Tampa

iTrader: (0)

Garage List
2012 Z4 35is  [0.00]
Quote:
Originally Posted by Hotter View Post
Quote:
Originally Posted by rjahl View Post
They find holes or flaws in the security systems.

Vulnerabilities seem to exist in the software updating processes. Mostly the program update process.

Most of the DMEs have been hacked but the smaller modules don't get that much attention.
And what about software update?
You can update software with WinKFP (I beleve through K-Can bus), doesn't that mean there should be a way at least to write to flash?
But of course it would be nice to read first...
You can flash nearly anything but the module will check it for authenticity and enter recovery mode if the new file fails the test.
Appreciate 0
      11-30-2019, 10:50 AM   #17
Hotter
First Lieutenant
Hotter's Avatar
72
Rep
381
Posts

Drives: BMW E92 328i -> 330i
Join Date: Feb 2018
Location: Lithuania

iTrader: (0)

Quote:
Originally Posted by Sensible_ View Post
I think you need a CAS and key / ignition slot / button too?

A KOMBI is also useful.

Here is a diagram. Not mine but useful for those interested:
Image correction:
https://www.newtis.info/tisv2/a/en/e...rature/q0GsS8s

KOMBI pin 5 -> 15 JBBE (not 5->5)
Appreciate 0
      11-30-2019, 10:54 AM   #18
Hotter
First Lieutenant
Hotter's Avatar
72
Rep
381
Posts

Drives: BMW E92 328i -> 330i
Join Date: Feb 2018
Location: Lithuania

iTrader: (0)

Quote:
Originally Posted by rjahl View Post
You can flash nearly anything but the module will check it for authenticity and enter recovery mode if the new file fails the test.
I am planning to spoof K-Can bus and see what information flows, maybe I will find something useful. I guess I will do some kind of Arduino unit with display which displays some kind of useful information and keep it in car. Modifying firmware on radio seems more complicated then making new Arduino unit and playing with it.
Appreciate 0
      12-01-2019, 04:21 AM   #19
Hotter
First Lieutenant
Hotter's Avatar
72
Rep
381
Posts

Drives: BMW E92 328i -> 330i
Join Date: Feb 2018
Location: Lithuania

iTrader: (0)

Quote:
Originally Posted by rjahl View Post
You can flash nearly anything but the module will check it for authenticity and enter recovery mode if the new file fails the test.
Is there a way to exit recovery mode?
It seems I have bricked few radios already.
Appreciate 0
      12-20-2019, 04:44 PM   #20
icon2015
Private First Class
21
Rep
126
Posts

Drives: E92 320d ~200 bhp
Join Date: Apr 2018
Location: Bucharest

iTrader: (0)

To recover them, have you tried to update the flash with WinKFP?
Appreciate 0
      12-20-2019, 05:27 PM   #21
rjahl
Colonel
rjahl's Avatar
996
Rep
2,287
Posts

Drives: Z4 35is
Join Date: Jun 2011
Location: Tampa

iTrader: (0)

Garage List
2012 Z4 35is  [0.00]
Quote:
Originally Posted by Hotter View Post
Quote:
Originally Posted by rjahl View Post
You can flash nearly anything but the module will check it for authenticity and enter recovery mode if the new file fails the test.
Is there a way to exit recovery mode?
It seems I have bricked few radios already.
If Winfkp comfort mode does not recognize the module, try going into Expert mode and flashing new software. Warning expert mode is all manual, you select the .ipo , prg file, ECU address along with the file to be flashed. There are very few safety protocols to keep you from doing something wrong.
Appreciate 0
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 01:13 PM.




e90post
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
1Addicts.com, BIMMERPOST.com, E90Post.com, F30Post.com, M3Post.com, ZPost.com, 5Post.com, 6Post.com, 7Post.com, XBimmers.com logo and trademark are properties of BIMMERPOST