Scope
The current page contains information about the integration of the SUMs in an ECU communicating over Ethernet bus.
The main scope, is to Understand how to configure the Ethernet modules to work with the SUMs / to implement what the SUMs need.
Module Dependencies
- Configuration of Socket Adaptor is key to configure the Ethernet Driver, But in SUMs scope configuring the PDU Router & AUTOSAR COM will be sufficient to handle Ethernet Driver.
SUMs needs
By the time of Writing this page, it is not clear in the specification how we will use Ethernet in the SUMs. So we built our target depending on Customer Request -Check GMSUM_4424-
In SUM_SSC customer needs to send data in KB Scale using Ethernet
Configuration Hints
SUM_SSC
For SUM_SSC -Size bigger than 8 Bytes -
In COM Module we can use UINT8_N which specify the size N in bytes (Range is up to 64).
For Configuring the COM
We should define "ComIPduGroup" either Rx,Tx >/AUTOSAR_Com/EcucModuleDefs/Com/ComConfig/ComIPduGroup<
Define "ComSignal" >/AUTOSAR_Com/EcucModuleDefs/Com/ComConfig/ComSignal<
Define "ComIPdu" >/AUTOSAR_Com/EcucModuleDefs/Com/ComConfig/ComIPdu<
For Configuring the PDU Router
We should include the BSW modules -in this case SoADdIf & Com -
For each module we should define if it is upper module or lower module, also should define whether it is Tx or Rx.
Then define "PduRRoutingPath" >/AUTOSAR_PduR/EcucModuleDefs/PduR/PduRRoutingTables/PduRRoutingTable/PduRRoutingPath<
to define the routing path through PDU Router between upper and lower modules.
SUM_PNC
For the SUM_PNC
We just need to change the API from UdpNm to UdpNm_GetPduData .