Common Interface

In DRIVE AGX Orin, Orin communicates with MCU using UDP protocol over Ethernet for update of MCU firmware and its configuration.

Configuration of MCU and firmware update includes:

  • Setting/Reading network configuration
  • Reading current version information of MCU FW
  • Reading InfoROM content (If supported by HW)
  • Compatibility validation of MCU FW to be flashed
  • Flash programing Update and Production MCU FW

All these functionalities are realized under module Common Interface.

The diagram below provides positioning of Common Interface modules in the system:

Implementation at Orin Side(Orin side section added for completeness of the doc)

Orin initiates request for configuration update using APIs offered by Common Interface.

User applications intending to use these features shall link to Common Interface Library (libmcu_common_if.so).

Common Interface Library (libmcu_common_if.so) formulates Request-command, forwards to MCU, and wait for Response-command. On receiving the Response-command from MCU, the common Interface library processes the response and return to caller.

The library (libmcu_common_if.so) uses Socket Wrapper library for transmission and reception of commands over UDP protocol.

Below parameters are configurable and are maintained in tacp configuration file. Appropriate changes must be made at MCU if the parameter values are altered

IP address of MCU: AURIX_IP_ADDRESS=10.42.0.146

IP address of Tegra A: TEGRA_A_IP_ADDRESS=10.42.0.28

Server Port on MCU: AURIX_BOOTCHAIN_PORT=5001

VLAN ID : 200

Note: As library (libmcu_common_if.so) is common for both BootChain APIs and CommonIf APIs above configuration is common for both.

Implementation at MCU Side

Common Interface on MCU is realized as an unmodeled CDD and it leverages interface of SWC Boot Chain Config for transmission of message. API from Common Interface is called from Boot Chain Config if received data belongs to common interface. Common Interface further processes the received data and perform appropriate operation.

These are the Socket properties for Common Interface:

MCU IP Address : 10.42.0.146

Orin-A IP Address : 10.42.0.28

Vlan Id: 200

Port: 5001