How to use multiple AurixCANs

Hello,

I want to use multiple AurixCANs simultaneously with DriveWorks.
But, CAN messages is received only in AurixCAN which set “bport=60395”
In the following example, only CAN-bus=a works fine.

sudo ./sample_canbus_logger --driver=can.aurix --params=ip=10.42.0.146,bus=a,aport=50000,bport=60395
sudo ./sample_canbus_logger --driver=can.aurix --params=ip=10.42.0.146,bus=b,aport=50000,bport=60396
sudo ./sample_canbus_logger --driver=can.aurix --params=ip=10.42.0.146,bus=c,aport=50000,bport=60397
sudo ./sample_canbus_logger --driver=can.aurix --params=ip=10.42.0.146,bus=d,aport=50000,bport=60398

I guess that the destination UDP port of the send frame from Aurix is due to fixed as “60395”.
I tried to set “bport=60395” to the same value on different CAN-bus, but the following error occured.

EndpointUDP: cannot bind 0.0.0.0:60395 -> 10.42.0.146:50000
Driveworks exception thrown: DW_HAL_CANNOT_OPEN_CHANNEL: EndpointUDP: cannot bind socket to remote

Is there a solution to this?
Thanks.

Hello atsutaka,

Can you use multile AurixCANs now?

Thanks.

Hello liuhf_2854.

I cheked it with latest SDK version. It has not worked…