<<Prev | ||||||
The
TinyOS Simulator - TOSSIM |
||||||
TOSSIM,
the TinyOS simulator, is a very useful tool for debugging and testing TinyOS
programs. This tool is especially important because of the large number
of possible problems that could be encountered by the motes which may not
have anything to do with the NesC program. It would help a great deal to
know that your code works fine, before you actually upload it to the motes.
We are currently writing programs in NesC which have all been tested using TOSSIM. We expect to upload these programs as soon as we resolve the hardware problems we had with the motes. See http://webs.cs.berkeley.edu/tos/nest/doc/tutorial/tossim-lesson.html for a more complete description of how TOSSIM is used. We summarize the steps for using TOSSIM and the related GUI-based application TinyViz. TOSSIM where <no. of motes> is the number of motes to be simulated by TOSSIM. You should
be able to see the motes visually, with the LEDs on them turning on and
off according to the program they are running. There is also a debug messages
option in the plugins that allows you to see the debug messages according
to how you set the DBG option. We will let you explore the rest of the
plugins provided, or see http://webs.cs.berkeley.edu/tos/nest/doc/tutorial/tossim-lesson.html
for a description. |
||||||