Maheswaran S wrote:
Hello,
I am new to TinyOS. I have installed version 2 of TinyOS by
downloading the various packages given in the TinyOS site. I use
cygwin 5.1 When I compile the sample application 'Blink' for micaz, it
compiles without errors, but when I try 'make micaz sim' for TOSSIM, I
get a lot of errors. I searched this mailing list archive and found
that I had to change the version number from 2.4 to 2.3 of python
which is what I have, and still I keep getting errors. A search in
system indicates that I have python.h but don't have the library file
libpython. Do I have to install python 2.4? I got an rpm but it
requires a lot of other libraries. Isn't there any other way? I
uninstalled it and installed TinyOS 1.1 with the help of msi file
available in TinyOS site - it works fine.
Please read the TOSSIM tutorial. Appendix A goes through the possible
causes and how to fix them.
Can anyone help me with the following questions:
1. Compiling a program for a mote, say micaz, will give an image
file. What kind of file is that? Is it one that the
corresponding microcontroller (atmega12) understands - set of
instructions specific to the microcontroller?
Yes. It can be an ELF, an ihex, or several other formats.
1. If I have a node similar to micaz, ie containing atmega128 and
CC2420, could I compile for micaz itself?
No -- the IO pin configurations might be different. E.g., which GPIO pin
the chip select line of the CC2420 is connected to.
1. Generalizing the above question, if I have a new mote, then will
I be still able to use TinyOS? What kind of changes will I have
to make so that I could use TinyOS
Depends on whether there's code for the chips you're using. If there's
already support for the chips, then porting to a new platform involves
writing the components that bind things like IO pins and different
hardware resources. Take a look in a tos/platforms/ directory to get an
idea.
Phil
_______________________________________________
Tinyos-help mailing list
[EMAIL PROTECTED]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help