Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

ECU MC toolkit - Problem when using multiple instances

Highlighted

ECU MC toolkit - Problem when using multiple instances

Hello members,

I developed a driver that allows to communicate with a prototype using CAN, XCP and UDS protocols. The XCP side is based on the ECU MC toolkit libraries. The driver consists in 4 states : Standby, Initialize, Execute, Finalize

 

Everything works fine when I connect one only prototype: no problem both with the Standby-Initialize-Execute and with Execute-Finalize-Standby transition.

 

But when I connect two at the same time things are not good: even I manage to get into the Execute state and get data from the prototypes, get back to the Standby is impossible because the "MC ECU Close.vi" never exits (see attached pic).

 

Thank you for any info that can help!!

Marco

0 Kudos
Message 1 of 2
(60 Views)

Re: ECU MC toolkit - Problem when using multiple instances

How are you connecting the two prototype ECUs? Are they both connected to the same bus/CAN interface? Or are you trying to run your state machine code independently on two interfaces in parallel?

Jeff L
National Instruments
0 Kudos
Message 2 of 2
(42 Views)