Skip to content

Latest commit

 

History

History
46 lines (39 loc) · 4.37 KB

Replacement_firmware_for_ELM327.md

File metadata and controls

46 lines (39 loc) · 4.37 KB

Replacement firmware for ELM327

There is now a replacement firmware available for ELM327L based Bluetooth and WiFi adapters, that has the following advantages over the standard firmware:

  • Faster and more stable CAN communication.
  • K-Line support (all protocols).
  • New: Support for the VAG protocols KWP2000, KWP1281, TP2.0 (cars until 4.2012).
  • Contains a bootstrap loader that allows firmware update without opening the device.
  • Firmware updates are possible with Deep OBD for BMW and VAG, if the repacement firmware has already been programmed.
  • Reduced power consumption due to use of sleep mode.
  • Two firmware versions are available:
    • Unmodified Bluetooth and WiFi adapter: Baud rate 38400.
    • Modified Bluetooth adapter (recommended) with replaced OpenSource Bluetooth firmware: Baud rate 115200 and alterable Bluetooth pin (16 digits) and name (31 chars).

Bluetooth adapter top Bluetooth adapter bottom

Buy an adapter

You could buy the Bluetooth and WiFi adapter from EBAY.
If the link is outdated (what it is most of the time) all adapters are sold, in this case please simply wait for an update of the link.
Vehicles E36, E38, E39, E46, E52, E53, E83 , E85 and E86 additionally require a connection between OBD pin 7 and 8 (or a pin7-pin8 adapter) to access all ECUs.
For vehicles with OBD I socket in the engine bay additionally the pin 8 of the OBD II socket has to be connected at the vehicle side (OBD1-OBD2.pdf)!
For BMW F-models use the ENET WiFi Adapter.

Factory reset

Beginning with firmware version 0.6 there is the possibility to perform a factory reset of the adapter. This resets the Bluetooth pin to 1234, the Bluetooth name to Deep OBD BMW and the mode to D-CAN.
To perform the factory reset you have to open the adapter and connect the unused pad of R26 with GND during power on.

Use the adapter with INPA, Tool32 or ISTA-D

You could use the Bluetooth adapter on a windows PC with INPA, Tool32 or ISTA-D as a replacement for an OBD or ADS adapter. The following steps are required to establish the connection:

  • Install .NET framework 4.0 or higher and VS2015 C++ runtime (recommended, but not required)
  • Download the latest binary package and extract the .zip file. Start Api32\EdiabasLibConfigTool.exe and follow the instructions in the status window: Search the adapter, select it, click Check Connection and patch the required EDIABAS installations.
  • For ISTA-D: You have to select the EDIABAS\bin directory inside ISTA-D first.
  • For ISTA-D: In Administration -> VCI Config select as Interface type: Ediabas default settings (ediabas.ini)

EdiabasLib Config Tool

Programming of the processor

For the first programming of the processor simply attach a PICKit 3 programmer to the corresponding test points of the circuit board.
The source for the firmware could be found in the subdirectory CanAdapterElm. The subdirectory names below are the Bluetooth chip types:

  • default: Unmodified ELM327L Bluetooth chip (Baud rate 38400)
  • bc04: BC-04 Bluetooth chip with BK3231 processor
  • hc04: HC-04 Bluetooth chip with BC417 processor
  • spp_uart: OpenSource Bluetooth firmware with BC417 processor (recommended for Android car radios with Rockchip platform)
    • spp_uart.xpv and spp_uart.xdv: Firmware for BC417b processor
    • usbspi.dll: Driver for programming the BC417b processor. For more information see the ReadMe.txt file.

There are two firmware files, the complete file (CanAdapterElm.X.production.unified.hex) and the update file (CanAdapterElm.X.production.hex) without bootloader, that is only needed by Deep OBD for BMW and VAG.
The latest firmware version will be always included in Deep OBD for BMW and VAG.