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

Also available in: Atom PDF