Hardware Platform: DriveWorks AGX Xavier
Software Version: Drive Software 2.2
Host Machine Version: Ubuntu 18.04.4 LTS (Bionic Beaver)
SDK Manager Version: 1.1.0.6343
Hello,
I am trying get EasyCAN to work on Aurix CAN port on SOC#F (CAN6&4, pin7&2).
So far, I’ve done following:
-
In Easy CAN Usage section in Development Guide here: https://docs.nvidia.com/drive/drive_os_5.1.6.1L/nvvib_docs/index.html#page/DRIVE_OS_Linux_SDK_Development_Guide/MCU%20Setup%20and%20Configuration/mcu_easy_can.html#
-
Updated Baudrate from aurix using “cansetbr f 250”
-
Added message to EasyCANConfigFile as follows:
MsgId : 0x05C
CtrlId: EC_CAN_BUS_F
FrmTyp: CAN_ID_STANDARD
DestID: TEGRA_DEVICE_A
DestSwc: SWC_ID_CANDATA -
I also added configure_rx_message(0x05C,3,0,1) in aurix_configure_easy_can.py and ran that python script.
-
In the Drive_AGX_EB_AURIX_Software_UserGuide.pdf in Appendix Section i read that running aurix_tegra_a_can_send_receive.py would send and receive messages from Aurix and will print them in terminal. I do not see any message printing.
-
Then I ran
./sample_canbus_logger --driver=can.aurix --params=ip=10.42.0.146,bus=f,config-file= **/my/path/to/EasyCanConfigFile.conf**.
After a few tries I could see 0x05C messages were received. I stopped it to understand what did i do that made it work and it never worked after that.
Do I just need to run either the aurix_configure_easy_can.py or provide the path to EasyCanConfigFile.conf.? Because when running either one, Aurix Terminal tells me same thing “Received Configuration” and “Configuration Updated”.
EasyCANUsage doesn’t have configuration information, it talks about how does it work and how to test it. I found some information on the Drive_AGX_EB_AURIX_Software_UserGuide.pdf but information there is scattered. I guess I will tryin to go through it a few times over the weekend.
I need your help figuring out how to get this to work. Let me know if you need more information.
Thanks in advance.
Regards,
Rishit