[Tinyos-help] Basic TinyOS2 update question

Michael Schippling schip at santafe.edu
Sun Oct 28 13:07:21 PDT 2007


The whole kit-n-kabodle is compiled and downloaded in one (or two)
fell swoop(s)...unless you use something like Deluge that allows
you to maintain multiple program images on-board, but even then I
believe they are wholly independent programs. This means that
there is no separate OS 'kernel' or loader or whatever resident
on the Mote. What is running there is entirely what you download
each time.

All the OS-type stuff is compiled in by including source files
taken from the directory tree specified by the TOSDIR environment
variable when you build an app. Generally the app's source tree
in contained within that TOSDIR as well, and I haven't been brave
enough to try anything different.

So to change versions of the Tiny "OS", one copies one's application
files to a new TOS tree (or just whack your current TOSDIR with new
files), sets TOSDIR appropriately, and re-compiles everything to
download again. This makes a bit of sense if you use CVS to update
your tinyos install version, since it just puts new files in place.

was that the question?
MS


Andrew Parson O'Brien wrote:
> Hello List,
> 
> I've spent a fair amount of time reading docs and googling but I haven't 
> been able to find satisfactory answers to a number of questions.  (To 
> give you an idea of my personal situation I'm working in a TinyOS 2 dev 
> environment running in a VMware virtual machine and am hoping to update 
> several Tmote Sky's to TinyOS 2 from 1).
> 
> What software exactly is "running" a mote?  Is there an OS or is it a 
> single event-driven process?  If there is an "OS" is it TinyOS or some 
> kind of BIOS like firmware?
> 
> Is there such a thing as updating a *mote* to TinyOS 2 (kernel, 
> libraries, etc)?
> 
> If so how does one update the OS as opposed to installing an application 
> where I just cd to the application's source directory and "make tmote 
> install,0"
> 
> TIA!
> 
> Andy
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


More information about the Tinyos-help mailing list