Design Article
Comment
AhmadNasser
johnswolter
AUTOSAR software handles CAN/MOST gateway implementation
Patrick Markl, Vector Informatik
1/13/2011 12:47 AM EST
AUTOSAR supports multi-channel ECUs. Two basic software modules, PDUR and COM, route so-called PDUs (Protocol Data Units) between two bus systems. Together with the corresponding bus driver layers, routing is possible between CAN, LIN, FlexRay, and Ethernet buses. Because interfacing to a MOST bus is not yet defined in AUTOSAR, a solution must be found for implementing a CAN-MOST gateway. Here are three approaches and the advantages and disadvantages of each.
Networking in modern vehicles is based on several different bus systems. CAN, LIN, and FlexRay are used in the body and powertrain areas. Multimedia and infotainment ECUs are networked primarily over the MOST bus. The exchange of information between networks is the task of gateway ECUs. These ECUs exist in various forms—ranging from relatively simple gateways that only exchange minimal information between buses of the same kind to central gateways that interface to several buses of different types.
AUTOSAR offers ECU developers a software basis for interfacing their ECUs to CAN, LIN, FlexRay, and Ethernet buses. Gateway tasks are handled by various software modules of the AUTOSAR architecture, depending on the specific functionality that is required.
While a CAN-MOST gateway can be realized as a hybrid solution or by a complex device driver, any changes to routing rules come late in the design process. There are also excessive redundancy concerns and additional memory requirements.
But implementation of such a gateway with an AUTOSAR architecture (as described in the complete feature story, courtesy of Automotive Designline Europe), lies in routing messages of uniform length, as it is on the CAN bus. One can think of implementation of further extensions of the MOST stack in the future to add additional functionalities. This includes routing data of variable size—e.g. a list with different numbers of telephone book entries. Similarly, MOST network management tasks could be handled by AUTOSAR modules.
With the Ethernet interfacing available in AUTOSAR, it will be possible to develop very powerful gateways with a MOST connection and thereby utilize the advantages of the AUTOSAR architecture.
Patrick Markl is a senior software development engineer responsible for concept development in the Embedded Software product line at Vector Informatik GmbH, Stuttgart, Germany. He can be contacted via patrick.markl@vector.com.
Networking in modern vehicles is based on several different bus systems. CAN, LIN, and FlexRay are used in the body and powertrain areas. Multimedia and infotainment ECUs are networked primarily over the MOST bus. The exchange of information between networks is the task of gateway ECUs. These ECUs exist in various forms—ranging from relatively simple gateways that only exchange minimal information between buses of the same kind to central gateways that interface to several buses of different types.
AUTOSAR offers ECU developers a software basis for interfacing their ECUs to CAN, LIN, FlexRay, and Ethernet buses. Gateway tasks are handled by various software modules of the AUTOSAR architecture, depending on the specific functionality that is required.
While a CAN-MOST gateway can be realized as a hybrid solution or by a complex device driver, any changes to routing rules come late in the design process. There are also excessive redundancy concerns and additional memory requirements.
But implementation of such a gateway with an AUTOSAR architecture (as described in the complete feature story, courtesy of Automotive Designline Europe), lies in routing messages of uniform length, as it is on the CAN bus. One can think of implementation of further extensions of the MOST stack in the future to add additional functionalities. This includes routing data of variable size—e.g. a list with different numbers of telephone book entries. Similarly, MOST network management tasks could be handled by AUTOSAR modules.
With the Ethernet interfacing available in AUTOSAR, it will be possible to develop very powerful gateways with a MOST connection and thereby utilize the advantages of the AUTOSAR architecture.
Patrick Markl is a senior software development engineer responsible for concept development in the Embedded Software product line at Vector Informatik GmbH, Stuttgart, Germany. He can be contacted via patrick.markl@vector.com.
Navigate to related information


johnswolter
1/19/2011 2:03 AM EST
Mark,
Where's the circuit diagram?
Where's the PCB layout?
Do you have a picture of one solution that you actually built?
Have you written the programs to demonstrate it working?
Is the design public domain so we can use it as a starting point?
How about a YouTube video explaining how to get it up and running?
Cheers.
-------------------------
John S. Wolter
Wolter Works
- Engineered Applications
- Android OS products
- Embedded Systems
- Software Development
- Cloud based sensor networks
- Internet Messaging & M2M Networks
- Supporting Web Services Development
- Mailto:johnswolter@wolterworks.com
- Desk Phone: 734-408-1263
- Cell phone: 734-904-8433
- USA, Eastern Standard Time, -5 GMT, -4 GMT DST
Sign in to Reply
AhmadNasser
1/20/2011 10:35 AM EST
John, you missed the link the article:
http://www.automotivedesign-europe.com/en/autosar-basic-software-for-can-most-gateways.html?cmp_id=71&news_id=222901315&vID=35
Sign in to Reply