Font Size: a A A

The Design And Implementation Of BSP On The WSN Node Which Based On The TinyOS

Posted on:2007-08-05Degree:MasterType:Thesis
Country:ChinaCandidate:D D HuangFull Text:PDF
GTID:2178360212975692Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
TinyOS is an open source Embedded Operating System(EOS), which is specially designed for the WSN. However, at present, the hardware platforms which TinyOS can support are quite limited.According to the requirements of our project mentioned in this article, we have designed our own hardware platform of the WSN node referring to the experiment platform of telosb node which TinyOS can support. In our design, we use MSP430F1611 which is the same as telosb node. But the choice of peripheral modules and the settings of internal modules of processor are all different, TinyOS can't operate directly on our node.In this article, the developing of BSP mainly focuses on initiating hardware of all the internal module of the processor. The whole process of initiatialization is discussed in two parts, which are the process of system level and user level. The initiating process of clock, I/O, Timer and the relative BSP code are mainly described in the hardware initialization of system level; The initializing process of USART, ADC, and the relative BSP code are mainly described in the part of the hardware initialization of user level.TinyOS uses a new type of programming languageā€”nesC language. Mastering nesC language is a difficult part in the project. Only when you have mastered this new type of programming language proficiently can you further develop BSP. The detailed analysis of the specifications and structure of nesC language is provided in the third part of this article.The fourth part of the article describes the process of developing BSP based on TinyOS, which is the most important part in this article.At last, this article describes the debugging scheme and the result of all the modules on the node. Because of the particularity of nesC language, most debugging tools can't support this language at present. How to debug nesC program effectively has always been a difficult problem in the subject. A method of debugging nesC program by using hardware emulate tool in LINUX and TinyOS is introduced in the last part of this article.At present, TinyOS has been successfully ported to the platform which we designed, and we have begun to develop the upper software on our platform.
Keywords/Search Tags:WSN, MSP430, TinyOS, nesC, BSP
PDF Full Text Request
Related items