Hi:
Hardware:NVIDIA DRIVE PX2 AutoChauffeur(p2379)
1.I want to test can1-4 using sample program like “./sample_canbus_logger --driver=can.aurix --params=ip=10.42.0.146,bus=a”,I follow these steps to set up aurix in the page:
https://devtalk.nvidia.com/default/topic/1032296/faq/drivepx2-easycan-setup-guide/
2.I also set the Hardware time synchronization following this page:
https://devtalk.nvidia.com/default/topic/1031778/faq/nvidia_drive_px2_time_sync_guide/
3.when I run " ./sample_canbus_logger --driver=can.aurix --params=ip=10.42.0.146,bus=a",the result like
nvidia@nvidia:~/Desktop$ ./sample_canbus_logger --driver=can.aurix --params=ip=10.42.0.146,bus=a
Program Arguments:
--driver=can.aurix
--filter=000:000
--hwtime=1
--params=ip=10.42.0.146,bus=a
--send_i_understand_implications=0
--send_id=6FF
Initialize DriveWorks SDK v0.6.67
Release build with GNU 4.9.2 from v0.6.0-rc7-0-g51bd3aa against Vibrante PDK v5.0.5.0
TimeSource: monotonic epoch time offset is 1484880680048627
SDK: Resources mounted from /usr/local/driveworks-0.6/data/resources
nvrm_gpu: Bug 200215060 workaround enabled.
SDK: Create NvMediaDevice
egl::Display: found 2 EGL devices
egl::Display: use drm device: drm-nvdc
SDK: number of GPU devices detected 2
SDK: currently selected GPU device discrete ID 0
SAL: identified board as DrivePX2-TegraA
SensorFactory::createSensor() -> can.aurix, ip=10.42.0.146,bus=a
Cannot setup CAN message filters: DW_NOT_IMPLEMENTED
EndpointUDP: started 10.42.0.146:50000
At the same time ,I also receive
shell>
EasyCan: Received configuration [OK].
EasyCan: Configuration unchanged [OK].
from the aurix console;
4.I use a can analyse(a hardware to send messages) to send messages to can port5,when i run “./sample_canbus_logger --driver=can.socket --params=device=can0” .The messages can be received and printed in the console.So.it’s not the problem of the source of messages.
5. I also use tcpdump to capture the udp packet like
nvidia@nvidia:~/Desktop$ sudo tcpdump host 10.0.42.146 -XX
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
no messages can be received,the aurix don’t send messages to tegra.
In this case,how can I receive messages from can1-4 using the sample_canbus_logger?