Towards the verification of industrial communication protocols through a simulation environment based on QEMU and systemC

This paper aims at presenting an approach to validate, verify and debug a wireless communication protocol through the use of simulated models. We discuss the main issues in validating a communication protocol, as well as the merits and limitations of the existing solutions to verify network protocol stack binary codes by using simulation. We then describe the development of a simulation framework where the node's hardware platform is modeled with QEMU and SystemC, and the development of an observer module which analyzes the frames exchanged to detect anomalies. This approach is validated with a protocol named OCARI based on the IEEE 802.15.4 (LR-WPAN) standard, which is currently in its pre-industrialization phase. The experimental results demonstrate the functional correctness of our node model implementation, and show how a protocol property can be checked during simulation with the developed simulation framework.

[1]  Frank Ghenassia Transaction-Level Modeling with SystemC: TLM Concepts and Applications for Embedded Systems , 2010 .

[2]  Thomas Watteyne,et al.  Adaptive synchronization in multi-hop TSCH networks , 2015, Comput. Networks.

[3]  David E. Culler,et al.  TOSSIM: accurate and scalable simulation of entire TinyOS applications , 2003, SenSys '03.

[4]  Frank Ghenassia,et al.  Transaction Level Modeling with SystemC , 2005 .

[5]  John S. Baras,et al.  ATEMU: a fine-grained sensor network simulator , 2004, 2004 First Annual IEEE Communications Society Conference on Sensor and Ad Hoc Communications and Networks, 2004. IEEE SECON 2004..

[6]  Fabrice Bellard,et al.  QEMU, a Fast and Portable Dynamic Translator , 2005, USENIX ATC, FREENIX Track.

[7]  Pedro José Marrón,et al.  COOJA/MSPSim: interoperability testing for wireless sensor networks , 2009, SimuTools.

[8]  E. Fleury,et al.  Worldsens: Development and Prototyping Tools for Application Specific Wireless Sensors Networks , 2007, 2007 6th International Symposium on Information Processing in Sensor Networks.

[9]  Jens Palsberg,et al.  Avrora: scalable sensor network simulation with precise timing , 2005, IPSN 2005. Fourth International Symposium on Information Processing in Sensor Networks, 2005..

[10]  Khaldoun Al Agha,et al.  Which Wireless Technology for Industrial Wireless Sensor Networks? The Development of OCARI Technology , 2009, IEEE Transactions on Industrial Electronics.

[11]  Frédéric Pétrot,et al.  Using binary translation in event driven simulation for fast and flexible MPSoC simulation , 2009, CODES+ISSS '09.