Dates and Events: |
OSADL Articles:
2023-11-12 12:00
Open Source License Obligations Checklists even better nowImport the checklists to other tools, create context diffs and merged lists
2022-07-11 12:00
Call for participation in phase #4 of Open Source OPC UA open62541 support projectLetter of Intent fulfills wish list from recent survey
2022-01-13 12:00
Phase #3 of OSADL project on OPC UA PubSub over TSN successfully completedAnother important milestone on the way to interoperable Open Source real-time Ethernet has been reached
2021-02-09 12:00
Open Source OPC UA PubSub over TSN project phase #3 launchedLetter of Intent with call for participation is now available |
Real Time Linux Workshops
1999 - 2000 - 2001 - 2002 - 2003 - 2004 - 2005 - 2006 - 2007 - 2008 - 2009 - 2010 - 2011 - 2012 - 2013 - 2014 - 2015 - 2017
17th Real Time Linux Workshop, October 21 to 22, 2015 at the Virtual Vehicle Research Center, Graz, Austria
Announcement - Call for participation (ASCII) - Hotels - Directions - Agenda - Paper Abstracts - Presentations - Registration - Abstract Submission - Exhibitors and Sponsors - Gallery
QEMU CAN Controller Emulation with Connection to a Host System CAN Bus
Pavel Pisa, Czech Technical University in Prague
Jin Yang, University of Chinese Academy of Sciences
Michal Sojka, Czech Technical University in Prague
The QEMU system virtualization is often used for testing and development of embedded control systems. QEMU support not only basic architecture emulation but even precise emulation of many boards models but emulation of automotive and industrial control buses is missing. Presented project provides CAN controller emulation. The emulated controllers can be connected one to another inside one QEMU instance or can be connected to a host system virtual or physical SocketCAN supported CAN bus network if GNU/Linux is used as QEMU host system.
Implemented emulation consists of a simple CAN bus message delivery system which can be connected to SocketCAN socket on host side and QEMU emulated CAN controllers. The design is generic but only SJA1000 controller chip emulation has been implemented now. Significant advantage of selection of the chip used on PCI/PCIe standard boards is that such card emulation and configuration does not depend on target system architecture and system chip (if PCI is available and simulated on the system). This allows to “insert†CAN card to many systems (i.e. many PowerPC, ARM Versatile PB etc.). Emulated Kvaser PCI card is supported by mainline SocketCAN drivers as well as by LinCAN driver.
CAN emulation has been tested together with OrtCAN project which provides CANopen devices emulation and monitoring tools which can now communicate and be running on combined physical network and wirtual network spawning over more systems/QEMU instances.