Hi guys, Thank you for replying.
Sorry for not being clear, im using 6 TelosB motes. I was able to send the data to all motes same time instead of programming the motes one by one But im still not clear of how to create an interface to select the node to program. Thank you. Sara. On Fri, Nov 16, 2012 at 6:38 PM, Thomas Schmid <[email protected]>wrote: > Sarah, > > As Antonio mentioned, you have to be more specific. I wrote a set of > python scripts that encapsulate everything Antonio mentioned, without > having to write the udev rules: > https://github.com/tschmid/mni > > It works great with TelosB/Irene nodes (i.e. any TI BSL based platform > with FTDI chip or serial-over-ethernet solutions, like the DigiConnect > ME), and could probably easily extend to other platforms. > > - Thomas > > > > On Fri, Nov 16, 2012 at 6:35 AM, Antonio Linan <[email protected]> > wrote: > > You have to be more specific about the type of mote you are using and > don't > > expect any off-the-shell answer... > > > > For Z1 motes I create an udev rule naming each with its serial number, > > having /dev/Mote1, /dev/Mote2 instead of /dev/ttyUSB0... this avoids > having > > to care about which ttyUSBx specific port is assigned to each mote. > > > > Secondly I run the tos-bsl script for flashing the mote(s) using a > > python/bash script, passing as parameters the .ihex compiled image and a > > list of the motes to program. > > > > You can google how to create udev rules, and for the scripting/interface > > part you will have to start banging your keyboard and giving it a go. > > > > --Antonio > > > > On Fri, Nov 16, 2012 at 12:58 PM, Sarah John Mwariti < > [email protected]> > > wrote: > >> > >> i was able to do this by creating a bash file. > >> > >> Now how to create an interface where you can select which mote you want > to > >> program? > >> > >> > >> > >> On Fri, Nov 16, 2012 at 10:42 AM, Sarah John Mwariti > >> <[email protected]> wrote: > >>> > >>> Hi guys, > >>> > >>> > >>> i have a small test-bed using 6 motes, whenever i send data to the > motes, > >>> i send data to each motes in a given time. > >>> How to program all the motes same time instead of programming them one > by > >>> one? > >>> > >>> > >>> > >>> Looking forward to your reply. > >>> > >>> > >>> Regards > >>> Sara. > >>> > >>> > >> > >> > >> _______________________________________________ > >> Tinyos-help mailing list > >> [email protected] > >> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > > > > > > > > -- > > -- > > Antonio LiƱan Colina > > R+D+I Engineer > > @: [email protected] > > @: [email protected] > > ------------------------------ > > Advancare > > T: +34 93 582 02 70 > > http://www.advancare.com > > http://www.zolertia.com > > http://zolertia.sourceforge.net > > http://webshop.zolertia.com > > > > > > _______________________________________________ > > Tinyos-help mailing list > > [email protected] > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
