RSD-WSN: remote source-level debugger for rapid application development in wireless sensor networks

Debugging Wireless Sensor Network (WSN) applications deployed on actual sensor nodes is difficult, since debuggers normally require a wired (e.g. USB) interface. In this paper we propose a mechanism for WSN application debugging that is based on remote access, through the wireless interface, and that uses the native environment in which the application was developed (i.e. it acts as a source-level debugger). The approach, called RSD-WSN, is based on creating continuous behavioral snapshots of a remotely located sensor node by binding it with a virtual node. Hence by using RSD-WSN, users can debug a WSN application node that is running remotely. This framework allows a programmer to develop an application using high level abstractions (finite state machine) and then automatically generate code for target platforms. The complied generated code could be then directly loaded on sensor nodes and the framework provides interfaces by which an application developer can bind execution sequences of a remote sensor node with a virtual simulated node, so that the developer can monitor node behavior and refine the application in case of unexpected behaviors.

[1]  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..

[2]  Deborah Estrin,et al.  EmStar: A Software Environment for Developing and Deploying Wireless Sensor Networks , 2004, USENIX ATC, General Track.

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

[4]  Luciano Lavagno,et al.  Porting application between wireless sensor network software platforms: TinyOS, MANTIS and ZigBee , 2008, 2008 IEEE International Conference on Emerging Technologies and Factory Automation.

[5]  Luciano Lavagno,et al.  A Framework for Modeling, Simulation and Automatic Code Generation of Sensor Network Application , 2008, 2008 5th Annual IEEE Communications Society Conference on Sensor, Mesh and Ad Hoc Communications and Networks.

[6]  Luciano Lavagno,et al.  Hy-Sim: model based hybrid simulation framework for WSN application development , 2010, SimuTools.

[7]  Luciano Lavagno,et al.  HILAC: A framework for hardware in the loop simulation and multi-platform automatic code generation of WSN applications , 2010, International Symposium on Industrial Embedded System (SIES).