Announcement

Collapse
No announcement yet.

Intro to BMW Coding / Diagnosis and setting up Ediabas

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Intro to BMW Coding / Diagnosis and setting up Ediabas

    Ediabas is the suite of software that BMW gives its engineers to diagnose / configure vehicles at the factory as well as on the field. Most BMWs since the 1990s have had some capability of being “coded” – that means some features can be altered / enabled with the use of the right software and hardware. Most options are there simply to allow for regional configurations, dealer configurations, different equipment, etc. But in a lot of modules, especially newer cars, there are functions that were never enabled from the factory, which can be fun to play with.

    BMW Dealerships also have a set of software for diagnosis/coding. Generally they require significantly more computing resources, are somewhat clunky to use, and not much more functional than what the Ediabas suite can do. There are some diagnostic functions that can be useful. That said, I will not cover those applications in this post, they will likely be covered elsewhere.

    So before you get started, you’ll need an OBDII interface. You have a few options here:

    USB or Serial -> K-line interface
    • Supports most BMWs from the mid 90s until 09/2007
    • On E36 and earlier models, functionality is limited
    • Will require pins 7 and 8 to be bridged together to access non-powertrain modules
    • On cars with the 20-pin connector, you’ll need an adapter to access non-powertrain modules
    • Can be used with some tuning software
    • For USB interfaces, you want one with the FTDI FT232RL chip (others may work, but this is proven to be reliable)

    USB -> D-CAN Interface
    • Supports all the cars that K-line interfaces support, plus D-CAN BMWs (BMWs built from 09/2007 onward, however do note that functionality is limited on Fxx vehicles).
    • Some will come with a built-in switch to connect or disconnect pins 7 and 8 together (2010+ BMWs need pins 7 and 8 to be disconnected at the cable end).
    • The vast majority of these cables have flawed firmware that can cause some errors in D-CAN mode (no impact to K-line mode used on pre-09/2007 cars). This firmware error can cause some modules to be bricked
    • It is therefore recommended to buy Bimmergeeks’ Pro Cable if you’re going to be flashing modules on MY2008+ BMWs
    • Alternatively you can flash the fixed firmware yourself using an ASP programmer (search ediabaslib firmware)
    • Full Disclosure: I helped Bimmergeeks with their cables and some software and was gifted one of their pro-cables as a thanks, but otherwise have not received any sort of compensation financial or otherwise.

    Serial -> ADS Interface
    • These cables require a true serial port (USB->Serial will not work)
    • Will allow communication with all E36 modules
    • Likely also works with newer pre-DCAN cars, but I never tested this.
    • Not compatible with newer versions of Ediabas, so you'll likely be limited to 32-bit versions of Windows.

    BMW ICOM Interface
    • This is what dealerships use for diagnostic purposes, it is fairly expensive (a genuine “ICOM Next” costs around $700; the old version was actually even more expensive).
    • Connect via ethernet or wifi (most Chinese clones will be missing wifi)
    • Compatible with all BMWs ever made (including E36 era vehicles), does require an adapter for cars with the 20-pin connector
    • Little bit of a pain to setup, I'm not covering that here
    • Note: BMW recently released the “ICOM Nano” which is a wireless only device which is actually fairly reasonable priced (~$130). However at this time it is unclear if it works with pre-DCAN cars.

    ENET Cable
    • These only work with Fxx cars, I'm only mentioning it here so that you know not to buy them unless you have one of those cars

    I would recommend most people buy the USB -> D-CAN cables. These do not cost significantly more than cables without D-CAN, and will generally work with most BMWs. You might also read about BMW yellowheads, OPS, OPPS, Modic, etc… - these are largely legacy interfaces that should not be necessary. For consumer use, the USB -> D-CAN is going to be enough for nearly everything. For professional use, you may want to consider a BMW ICOM (though even that is not strictly necessary).

    You will also need a computer. Generally any Windows computer running Windows 2000 or newer is adequate. You can also run Windows in a virtual machine if using a mac or linux system. 32-bit and 64-bit are both fine.

    Setting up the software
    • Find ‘ediabas-6.4.3-full.nrg’, mount that image using your favorite image mounting tool (I like WinCDEmu) and install the software.
      • This package is circa 2004, so it’s missing stuff for newer cars
      • This package will install, but will not properly function on 64-bit cars, so see below to getting things up to date
    • Download “Standard Tools 2.12.rar” and run that setup. If it gives you the option to transfer data, do so.
    • Download the E46 Sp-daten files (and any other chassis you’re interested in working with). Almost any version you find online will be sufficiently up to date. Bimmergeeks typically has up to date copies.
      • Extract all the files somewhere
    • Copy the contents of the ECU folder to C:\Ediabas\ECU
    • Copy the contents of the sgdat folder to C:\NCSExper\sgdat, C:\EC-APPS\INPA\sgdat, C:\EC-APPS\sgdat
    • Copy the contents of the “daten” folder to C:\NCSEXPER\daten\E46
    • Run laden.bat with administrative privileges
    • Start WinKFP, click Import -> Import Assembly Data, and then point to the “DATA” folder that you extracted

    Setting up your cable
    • Plug in your USB cable.
      • If you need drivers, you can get them from the ftdi website
    • Go to your device manager, and find your cable under serial ports
      • Change the port to COM1 (if the system warns you it’s in use, set it anyway)
      • Change the latency to 1ms (default is 16).

    That’s the basic setup, time to test things. Open up INPA, you should see two black dots. And if you try to diagnose an E46 module, it should work. You may get an error about the version not matching or something to that effect, that is normal.

    Okay, that’s the basic setup. Most of you will probably be interested in messing with NCS Expert. To do that, head over here

    #2
    This is awesome. I just dumped this into OneNote and created a bulleted list of to-do's. Brand new to BMW coding, but super stoked to get into this.

    Props to terra and others who have contributed to this open source approach.
    Build thread: Topaz Blue to Shark Blue

    Comment


      #3
      Thanks.
      2004 Silbergrau Metallic 6MT
      Karbonius/OEM Snorkel/Flap/HTE Tuned
      Ssv1/Catted Sec. 1/SS 2.5" Sec. 2/SCZA

      OE CSL Bootlid/AS SSK/BC Coils/4.10 Gears/ Sportline 8S Wheels/Cobra Nogaros
      RACP Plates/Vincebar/CMP/Turner RTAB/Beisan

      2006 M6 Black Saphire SMG
      Instagram

      Comment


        #4
        Hey terra , I downloaded and installed the software from bimmergeeks, INPA works and I can read codes etc. but when I run the "laden" file here is what I get...


        EDIT: I opened the laden w/o choosing to run as administrator and instead of the above screen it opened up quickly, did something and then disappeared. I don't know what I am doing, I will need to do some reading up.
        Click image for larger version  Name:	20200603_230353.jpg Views:	0 Size:	82.6 KB ID:	31147
        Last edited by Cubieman; 06-03-2020, 10:33 PM.
        2004 Silbergrau Metallic 6MT
        Karbonius/OEM Snorkel/Flap/HTE Tuned
        Ssv1/Catted Sec. 1/SS 2.5" Sec. 2/SCZA

        OE CSL Bootlid/AS SSK/BC Coils/4.10 Gears/ Sportline 8S Wheels/Cobra Nogaros
        RACP Plates/Vincebar/CMP/Turner RTAB/Beisan

        2006 M6 Black Saphire SMG
        Instagram

        Comment

        Working...
        X