By using a large number of sensor nodes which spreaded in a certain area, wireless sensor network (WSN) could collect, process, and fuse information we interested in, and send the information to users by a self-organizing and multi-hop network.Embedded Operating-System of WSN is a basal core software on the nodes. It manages the distribution and callback of all software and hardware resources, schedules and corresponds concurrent tasks, offers user programming interface and platforms to make program development and debugging easily.Firstly, according to the characteristics of WSN and its nodes, the design requirements of Embedded Operating-System of WSN are proposed in this paper, especially the introduction of design concept of TinyOS which is the current mainstream operating system. Then, the TinyOS architecture and several key mechanisms that is build and operational mechanism, task scheduling mechanism, energy management mechanism and active message mechanism are in-depth studied. Finally, the transplant process of TinyOS to CC2430-based software platform is detailed described and verified, which provides more convenience for follow-up work. |