ICOM Guide: connect ENET to INPA, use MOST channel, flash CCC

Question: guide for connecting ENET cable to INPA
What is the actual phrase in ediabas.ini for “””””Remotehost= “self-assigned ip address”””””””””?
do u have a guide for connecting ENET cable to INPA? (I mean ediabas.ini configuration)

Answer:
For ICOM you can put this in ediabas.ini:
Interface = REMOTE
RemoteHost = 169.254.92.38
Port = 6801

Before each use don’t forget to Reserve the ICOM using itools or via the web interface (port 60080)

Question:
How to switch the BMW ICOM to use the MOST channel for flashing CCC/CIC/etc? What to put in InitCmd0? Same as for OPPS, FE 04 00 85, or something else?

Answer:
Good, now to get MOST working you need to adjust settings in REMOTE.ini, not EDIABAS.ini.
See my REMOTE.ini for example.
;#### Remote.ini Musterdatei für OPPS Firmware Version kleiner 625 ####

[Base]
ek_info = Einfacher Betrieb im Automatik – Router Modus
RemoteHost=169.254.33.45
port = 6801
InitCmd0 = FE 04 00 85
DisconnectOnApiEnd = 1

[DiagBus]
ek_info = Mehrfachbetrieb: Nutzt nur K-Line, gibt MOST frei
RemoteHost=169.254.33.45
port = 6801
InitCmd0 = FE 05 00 80 05
DisconnectOnApiEnd = 1

[MOST]
ek_info = Mehrfachbetrieb: Nutzt MOST, gibt K-Line frei
RemoteHost=169.254.33.45
port = 6802
InitCmd0 = FE 05 00 80 01
DisconnectOnApiEnd = 1

[MOST_CTRL]
ek_info = Mehrfachbetrieb: Nutzt MOST, Asynchronkanal gesperrt, gibt K-Line frei
RemoteHost=169.254.33.45
port =6802
InitCmd0 = FE 05 00 80 01
;Asynchron ausschalten
InitCmd1 = FD 05 00 03 00
DisconnectOnApiEnd = 1

[MOST_ASYNC]
ek_info = Mehrfachbetrieb: Nutzt MOST mit Asynchronkanal, gibt K-Line frei
RemoteHost=169.254.33.45
port =6802
InitCmd0 = FE 05 00 80 01
;Asynchron einschalten
InitCmd1 = FD 05 00 03 01
;Ab 190 Bytes Telegrammlängen Asynchronkanal benutzen
InitCmd2 = FD 06 00 97 BE 00
DisconnectOnApiEnd = 1

[AUTO_ASYNC]
ek_info = Einfachbetrieb mit automatischer Umschaltung K-Line / MOST, Kontroll / Asynchronkanal
RemoteHost=169.254.33.45
port = 6802
; Router auf MOST
InitCmd0 = FE 04 00 01
;Asynchron einschalten
InitCmd1 = FD 05 00 03 01
;Ab 190 Bytes Telegrammlängen Asynchronkanal benutzen
InitCmd2 = FD 06 00 97 BE 00
; Router wieder auf Automatik
InitCmd3 = FE 04 00 00
DisconnectOnApiEnd = 1

[MOST_MASTER]
ek_info = OPPS Most-Master und Clock-Master
RemoteHost=169.254.33.45
port = 6802
InitCmd0 = FE 04 00 01
InitCmd1 = FD 06 00 01 01 01
DisconnectOnApiEnd = 1

;#### Remote.ini Musterdatei für OPPS Firmware Version ab 625 ####

; Ab Firmware Version 625 ist das OBD Interface fest auf Port 6801 und das MOST Interface
; fest auf Port 6802. Parallelbetrieb sofort erlaubt.
; Obacht! Router Kommandos sind ab dieser Version _verboten_ (Init CMDs mit FE am Anfang)

[OBD_ab625]
ek_info = OPPS Betrieb mit OBD Interface, also K-Line oder D-CAN
RemoteHost=169.254.33.45
;Dieser Port hat _immer_ das OBD Interface, also K-Line oder D-CAN
port = 6801

[MOST_CTRL_ab625]
ek_info = OPPS Betrieb mit MOST Interface, Asynchronkanal gesperrt
RemoteHost = 169.254.33.45
; Dieser Port hat _immer_ das MOST Interface
port = 6802
; Asynchronkanal sperren
InitCmd0= FD 05 00 03 00

[MOST_ASYNC_ab625]
ek_info = OPPS Betrieb mit MOST Interface, Asynchronkanal erlaubt
RemoteHost = 169.254.33.45
; Dieser Port hat _immer_ das MOST Interface
port =6802
; Asynchronkanal erlauben
InitCmd0= FD 05 00 03 01
; ab 0 Bytes Asynchronkanal benutzen
InitCmd1= FD 06 00 97 00 00
; Bei Steuergeräten, die den Asynchronkanal nicht unterstützen,
; und bei Telegrammen Mit SID != 0x36 wird automatisch der Kontrollkanal verwendet

[MOST_MASTER_ab625]
ek_info = OPPS Most-Master und Clock-Master
RemoteHost=169.254.33.45
port =6802
InitCmd0 = FD 06 00 01 01 01
DisconnectOnApiEnd = 1

Question:  What is the benefit or reason for using MOST vs DiagBus for flashing devices on MOST ring? Speed?
Answer: Don’t have deep knowledge on that, but I think speed is faster on MOST.

Question: And since Remote.ini contains settings for both MOST and DiagBus, how do you control which one is used during flash?
Answer: By defining Interface = REMOTE:name in EDIABAS.ini
e.g.
Interface = REMOTE:MOST # for using MOST
Interface = REMOTE DiagBus # for DiagBus

That’s all you need in EDIABAS.ini
Don’t specify host and port as they are already defined in REMOTE.ini

Question: but how do I make use of the MOST channel e.g. to flash CCC via MOST? The MOST channel runs on another port (6802), should I put that in ediabas.ini? Is there a better way to be able to choose MOST vs DiagBus without having to restart ediabas?
Answer: Nope, you cannot switch without restart ediabas, because you can declare only 1 port per profile.

Question: how do I switch between MOST/Async, MOST/Sync and MOST/Control sub-channels?
Answer: You can talk to only one of them, switching require ediabas restart, or you can use multiple init commands, e.g.

[AUTO_ASYNC]
ek_info = Einfachbetrieb mit automatischer Umschaltung K-Line / MOST, Kontroll / Asynchronkanal
RemoteHost=opps_name
port = 6802
; Router auf MOST
InitCmd0 = FE 04 00 01
;Asynchron einschalten
InitCmd1 = FD 05 00 03 01
;Ab 190 Bytes Telegrammlängen Asynchronkanal benutzen
InitCmd2 = FD 06 00 97 BE 00
; Router wieder auf Automatik
InitCmd3 = FE 04 00 00
DisconnectOnApiEnd = 1

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s