Modeling and Analysis of TinyOS Sensor Node Firmware: A CSP Approach (2011)
AuthorsMcInnes, A.I.show all
Wireless sensor networks are an increasingly popular application area for embedded systems. Individual sensor nodes within a network are typically resource-constrained, event-driven, and require a high degree of concurrency. This combination of requirements motivated the development of the widely-used TinyOS sensor node operating system. The TinyOS concurrency model is a lightweight non-preemptive system designed to suit the needs of typical sensor network applications. Although the TinyOS concurrency model is easier to reason about than preemptive threads, it can still give rise to undesirable behavior due to unexpected interleavings of related tasks, or unanticipated preemption by interrupt handlers. To aid TinyOS developers in understanding the behavior of their programs we have developed a technique for using the process algebra Communicating Sequential Processes (CSP) to model the interactions between TinyOS components, and between an application and the TinyOS scheduling and preemption mechanisms. Analysis of the resulting models can help TinyOS developers to discover and diagnose concurrency-related errors in their designs that might otherwise go undetected until after the application has been widely deployed. Such analysis is particularly valuable for the TinyOS components that are used as building-blocks for a large number of other applications, since a subtle or sporadic error in a widely-deployed building-block component could be extremely costly to repair.
CitationMcInnes, A.I. (2011) Modeling and Analysis of TinyOS Sensor Node Firmware: A CSP Approach. ACM Transactions on Embedded Computing Systems.
This citation is automatically generated and may be unreliable. Use as a guide only.
Keywordsfirmware; wireless sensor network; TinyOS; nesC; CSP; process algebra; design; languages; verification
ANZSRC Fields of Research08 - Information and Computing Sciences::0803 - Computer Software::080309 - Software Engineering
08 - Information and Computing Sciences::0803 - Computer Software::080307 - Operating Systems