Browse > Article

Issues and Debugging Methodology for Porting TinyOS on a Small Network Embedded System  

Kim, Dae-Nam (Dept. of Electronics Engineering, University of Incheon)
Kim, Kyo-Sun (Dept. of Electronics Engineering, University of Incheon)
Publication Information
Abstract
Numerous platforms have been developed for ZigBee-based network embedded systems. Also, operating systems like TinyOS have been installed to facilitate efficient implementation of wireless sensor network applications which collect data, and/or execute commands. First of all, porting an operating system on a new platform may need invention of a substitute for a required but unsupported hardware component. This paper presents a multiplexed virtual system timer for a platform without a counter comparator which we have contrived to emulate by using an extra counter. Such porting also injects unexpected faults which cause a variety of painful failures. Unfortunately, TinyOS requires to handle a lot of asynchronous hardware interrupts which are hard to trace during debugging. Besides, simulators are not available for a new platform since the models of hardware on the platform are not usually developed, yet. We propose novel instrumentation techniques which can be used to effectively trace the bugs in such lack of debugging environment. These techniques are used to identify and fix a great deal of nasty issues in porting TinyOS 2.0 on MG2400 and MG2455 platforms made by RadioPulse Inc.
Keywords
Network Embedded System; TinyOS Porting; TinyOS Issue; Debugging; System Timer;
Citations & Related Records
연도 인용수 순위
  • Reference
1 C. Lynch, and F. O'Reilly, "PIC-based TinyOS implementation," Proceeedings of the Second European Workshop on Wireless Sensor Networks, pp. 378-385, Los Angeles, USA, Jan. 2005
2 Rodrigo Fonseca, Omprakash Gnawali, Kyle Jamieson, and Philip Levis, "Collection," http://tinyos.cvs.sourceforge.net/*checkout*/tinyos/tinyos-2.x/doc/html/tep119.html, Feb. 2007
3 Radio Pulse Inc., "MG2400 Specification - Revision 1.13," RadioPulse Inc., 2006
4 PHILIPS, "PCA9555," PHILIPS, http:// www.datasheetcatalog.org/datasheet/philips/PCA9555_3.pdf, May 2002
5 SENSIRION, "SHT11," SENSIRION, http://www.sensirion.com/images/getFile?id=25, May 2005
6 Microsoft Corporation, "Guidelines For Providing Multimedia Timer Support," Microsoft Corporation, http://www.micro- soft.com/whdc/system/CEC/mm-timer.mspx, Sept. 2002
7 Rodrigo Fonseca, Omprakash Gnawali, Kyle Jamieson, and Philip Levis. "Four Bit Wireless Link Estimation," In Proceedings of the Seventh International Conference on Information Processing in Wireless Sensor Networks (IPSN), Cambridge, USA, Apr. 2007
8 Anders Egeskov Petersen, Sidsel Jensen, Martin Leopold, "Towards TinyOS for 8051," http://tinyos.cvs.sourceforge.net/*checkout*/tinyos/tinyos-2.x/doc/html/tep121.html, Mar. 2006
9 Jonathan W. Valvano, "Embedded Micro-computer Systems," Brooks/Cole, pp. 254-274, 2003
10 TinyOS Working Group, "TinyOS 2.0 Documentation," http://www.tinyos.net/tiny- os-2.x/doc/, Jul. 2007
11 Crossbow Technology, "MICAz," Crossbow Technology, http://www.xbow.com/Products/Product_pdf_files/Wireless_pdf/MICAZ_Datasheet.pdf
12 Philip Levis and Gilman Tolle, "Dissemination of Small Values," http://tinyos.cvs.sourceforge.net/ *checkout*/tinyos/tinyos-2.x/doc/html/tep118.html, Feb. 2007
13 Philip Levis, Neil Patel, David Culler, and Scott Shenker. "Trickle: A Self-Regulating Algorithm for Code Maintenance and Propagation in Wireless Sensor Networks," In Proceedings of the First USENIX/ACM Symposium on Networked Systems Design and Implementation, San Francisco, USA, Mar. 2004
14 Rodrigo Fonseca, Omprakash Gnawali, Kyle Jamieson, Sukun Kim, Philip Levis, and Alec Woo, "The Collection Tree Protocol (CTP)," http://tinyos.cvs.sourceforge.net/*checkout*/tinyos/tinyos-2.x/doc/html/tep123.html, Feb. 2007
15 Kaisen Lin and Philip Levis. "Data Discovery and Dissemination with DIP," In Proceedings of the Proceedings of the Seventh International Conference on Information Processing in Wireless Sensor Networks (IPSN), St. Louis, USA, Apr. 2008
16 서창수, 이철희, "HBE-Ubi-Mango", (주)한백전자, 2007
17 G. Varghese, and A. Lauck, "Hashed and hierarchical timing wheels: efficient data structures for implementing a timer facility," IEEE/ACM Transactions on Networking, Vol. 5, Issue 6, pp. 824-834, Dec. 1997   DOI   ScienceOn
18 Radio Pulse Inc., "MG2455-F48 Datasheet VER.1.0," RadioPulse Inc., 2007
19 Rainer Koster, "Design of a Real-Time Communication Service for Local Area Networks," Diploma Thesis, Dept. of Computer Science, University of Kiserslautern, Germany, Apr. 1998
20 Intel Corporation, "IA-PC HPET (High Precision Event Timers) Specification," Revision 1.0a, Intel Corporation, http://www.intel.com/hardwaredesign /hpetspec_1.pdf, Oct. 2004