Project

General

Profile

Actions

Support Request #545

closed

ADTFS-46271 Access to flexray channel without init_access

Added by hidden about 7 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Customer:
ELEKTROBIT
Department:
SUPPORT
Requester's Priority:
Normal
Support Level:
3rd Level
Resolution:
Solved Issue
Platform:
Windows 7 64bit
Topic:
DeviceTB::Flexray
FAQ Links:

Description

Supportanfrage

Guten Morgen,

ich habe hier einen Kunden mit folgendem Problem:

Er startet die Rest Bus Simulation mit seinem CANoe Tool von Vector (die macht wohl einen wake up auf die ECU) um deren Funktionen zu nutzen.
Dann startet er ADTF und möchte mit Hilfe des Vector_Flexray_Devices auf den Flexray Bus lauschen und aufzeichnen. (siehe Screenshot der der ADTF config)
Das geht schief mit der Fehlermeldung: [Activate]xlFrSetConfiguration() failed with error 112! In der vectordevicechannel.cpp (siehe Screenshot)

Kann er den Vector_Flexray_Device auch ohne wake up nutzen? Ich vermute mal das hier was schief geht. Lässt sich das irgendwie abschalten?

Oder habt Ihre eine Lösung für sein Problem?

Lösung

Grundsätzlich bietet die Library MultiApplication Support, ja.
Im Flexray Fall bringt dies allerdings nichts, da der Bus nicht initialisiert werden kann, wenn er keinen init access hat (siehe Console Log Fehlermeldung und auch API Kap. 2.2.2).
Hier gibt die Library nicht mehr her.

Warum der andere Weg geht, kann ich mir nur so erklären, dass die Library die CANoe verwendet (Vector hat eine erweiterte nicht öffentliche FR-API) hier "mehr" kann.
Uns sind aber hier die Hände gebunden.

Ich würde das Problem auf Config Ebene lösen (siehe mein letzter Kommentar), alternativ bliebe nur, CANoe als letztes zu starten.
Aber das ist dann nicht unsere Expertise, da müsstet ihr euch an Vector wenden.

Nachtrag vom Anwender:

Der Kunde hat sich mit Vector auseinandergesetzt und gibt den Fall an uns zurück:

I contacted Vector Support to have more insights about the problem and the
features about the free API provided by them.
It looks like the API allows the access to the flexray channel, even if it
has been initialized first by CANoe. Can you forward this mail to your
development team please ?
Here is the overview provided by Vector Support. They are open for a
discussion with your development team. You can reach their support at
following number:
xxx
Mail content:
"The free XLdriver can work with init_access or without init_access to
coldstart a Flexray bus.
If Canoe is in use it works also as you can see.
I think the problem is the Electrobit tool can't handle if there don't have
init_access.
Please ask Electrobit to add this mode if there need help don't hesitate to
give the Support Nummer to call us.
Hint: The free XLdriverlib can coldstart if you have at leased one ecu.
The limit is - not so match usable slots and some missing spy functions see
picture.

Kannst du dazu etwas sagen?

Lösung

In DevTB 2.x ist dies keine Anforderung und derzeit nicht möglich.
Erweiterung sich auf einen bestehenden FR Bus zu hängen (ohne init_access) wird ein Feature in DevTB 3.x sein.


Files

sys_attachment1.png (50.5 KB) sys_attachment1.png hidden, 2017-04-10 12:35
sys_attachment.png (55.1 KB) sys_attachment.png hidden, 2017-04-10 12:35
image001.gif (202 Bytes) image001.gif hidden, 2017-04-25 09:45
image-1.png (123 KB) image-1.png hidden, 2017-04-25 09:45
image-4.png (40.4 KB) image-4.png hidden, 2017-04-25 09:45
image-2.png (17.6 KB) image-2.png hidden, 2017-04-25 09:45
Actions #2

Updated by hidden about 7 years ago

  • Author changed from hidden to hidden
Actions #3

Updated by hidden about 7 years ago

  • Status changed from New to In Progress

@Frank: Bitte analysieren

Actions #4

Updated by hidden about 7 years ago

schaue mir das thema mal an...

Actions #5

Updated by hidden about 7 years ago

  • Status changed from In Progress to Customer Feedback Required

Hallo,

ich habe an dieser Stelle mal ein paar generelle Fragen:

  • Wieviele VN-Boxen sind in der Konfiguration eingebunden?
  • Wie ist CANoe und ADTF mit dem FlexRay-Bus verbunden (sollen sich beide Applikationen eine Box teilen oder hat jede seine Eigene)?
  • Wer ist für den Coldstart/Startup des Netzwerkes verantwortlich?

So wie ich es verstanden habe, macht CANoe den Coldstart und ADTF soll sich "einfach" dazuschalten.

Zuerst muss im "Vector Hardware Config"-Tool der entsprechende Kanal mit der richtigen VN-Box verknüpft sein (z.B. "FlexRay 1 -> VN7600 ....").
Dann muss im ADTF natürlich die Cold-Start-Option für beide Slots deaktiviert werden, da dies ja vom CANoe übernommen wurde.
Anschließend muss im "Vector FlexRay Device"-Filter die "DeviceId"-Property entsprechend dem eingestellten Kanal gesetzt werden. Zum Beispiel ist bei Verwendung von "FlexRay 1" im "Vector Hardware Config"-Tool, die "DeviceId" auf "0" zu setzen.

Also:

DeviceId [y] = "FlexRay [x-1]"

Wie das mit der Einstellung ist, wenn z.B. "CANoe" und "ADTF" auf die gleiche Vector-Box zugreifen kann ich aktuell nicht sagen, das müsste entsprechend überprüft werden, ob das von allen Seiten unterstützt wird.

Bitte gebt mir erst einmal Bescheid wie die Konfiguration (siehe Fragen oben) aussieht.

Danke und Gruß
Frank

Actions #7

Updated by hidden about 7 years ago

Hallo Frank,

hier die Antworten, die ich aus dem Emailverkehr rausgezogen habe:

[FN:] *Wieviele VN-Boxen sind in der Konfiguration eingebunden?
[AW:] Eine VN7600.

[FN:] *Wie ist CANoe und ADTF mit dem FlexRay-Bus verbunden (sollen sich beide Applikationen eine Box teilen oder hat jede seine Eigene)?
[AW:] Beide Applikationen sollen sich eine Box teilen. Die Restbussimulation soll zuerst starten, dann ADTF nur zum mitlauschen (aufzeichnen der Daten), ohne initial access. (image-1.png)

[FN:] *Wer ist für den Coldstart/Startup des Netzwerkes verantwortlich?
[AW:] Die Restbussimulation.

[FN:] Zuerst muss im "Vector Hardware Config"-Tool der entsprechende Kanal mit der richtigen VN-Box verknüpft sein (z.B. "FlexRay 1 -> VN7600 ....").
[AW:] Ist konfiguriert. Siehe image-4-png

[FN:] Dann muss im ADTF natürlich die Cold-Start-Option für beide Slots deaktiviert werden, da dies ja vom CANoe übernommen wurde.
[AW:] Ist konfiguriert. Siehe image-2.png

[FN:] Anschließend muss im "Vector FlexRay Device"-Filter die "DeviceId"-Property entsprechend dem eingestellten Kanal gesetzt werden. Zum Beispiel ist bei Verwendung von "FlexRay 1" im "Vector Hardware Config"-Tool, die "DeviceId" auf "0" zu setzen.
Also:
DeviceId [y] = "FlexRay [x-1]"
[AW:] Ist konfiguriert. Siehe image-4-png und image-2.png.

Ich hoffe das ist ok so.
Grüße,
Anja

Actions #8

Updated by hidden about 7 years ago

  • Status changed from Customer Feedback Required to In Progress
Actions #9

Updated by hidden about 7 years ago

Hallo Anja,

vielen Dank für die Informationen, ich werde mir das Thema heute im Laufe des Tages weiter ansehen.

Gruß
Frank

Actions #10

Updated by hidden about 7 years ago

  • Status changed from In Progress to To Be Closed
  • Resolution set to Solved Issue

Hallo Anja,

sorry für die späte Rückmeldung.

In der aktuellen Version der Device-Toolbox 2.7 steht diese Funktion leider nicht zur Verfügung.
Die Funktionalität wird erst in der Device-Toolbox 3.0, zusammen mit ADTF 3, verwendbar sein.

Actions #11

Updated by hidden about 7 years ago

  • Status changed from To Be Closed to Customer Feedback Required
  • Product Issue Numbers set to http://km-aev.in.audi.vwg/redmine/issues/33013

Umsetzungsticket noch verlinkt.
Können wir das Supportticket damit abschließen ?

Actions #12

Updated by hidden about 7 years ago

  • Description updated (diff)
  • Status changed from Customer Feedback Required to To Be Closed

Ticket erledigt.

In DevTB 2.x ist dies keine Anforderung und derzeit nicht möglich.
Erweiterung sich auf einen bestehenden FR Bus zu hängen (ohne init_access) wird ein Feature in DevTB 3.x sein.

Actions #13

Updated by hidden about 7 years ago

  • Subject changed from ADTFS-46271 Technical request: Cannot start recording with xxxxxxxxxxxxxxxx - Folgeticket to ADTFS-46271 Access to flexray channel without init_access
  • Status changed from To Be Closed to Closed
Actions #15

Updated by hidden over 6 years ago

  • Project changed from 7 to Public Support
  • Private changed from Yes to No
Actions #16

Updated by hidden almost 4 years ago

  • Description updated (diff)
Actions #17

Updated by hidden almost 3 years ago

  • Description updated (diff)
Actions

Also available in: Atom PDF