Re: [Tinyos-help] Tinyos-2.x Upgrade.

2006-08-18 Thread Philip Levis
On Aug 17, 2006, at 6:04 PM, Kannan Srinivasan wrote: Hi All, I am using cygwin and followed the instructions outlined on http://www.tinyos.net/tinyos-2.x/doc/html/upgrade-tinyos.html to upgrade from tinyos-1.x to tinyos-2.x. I first set the environment variables as:

Re: [Tinyos-help] Can Radio Receive become Stuck ?

2006-08-18 Thread Philip Levis
On Aug 17, 2006, at 2:19 PM, Ted Herman wrote: This is strange, why would some stray bug just hit rxbufptr? So, I tried moving rxbufptr and its fence around, duplicating rxbufptr, changing all usages of the idiom rxbufptr- to something else, and quite a few other strange and desperate hacks.

[Tinyos-help] how to dump the output

2006-08-18 Thread s bash
Hi to all, I want to inquire that can we dump(save) the output of our source program ,in some file for analysis...beacuse everytime we run our simulation,it gets out of bound and we can't extract the results Waitng for the reply Regards SBashThe best reason for having dreams is that in dreams

Re: [Tinyos-help] Tinyos-2.x Upgrade.

2006-08-18 Thread Kannan Srinivasan
Quoting Philip Levis [EMAIL PROTECTED]: On Aug 17, 2006, at 6:04 PM, Kannan Srinivasan wrote: Hi All, I am using cygwin and followed the instructions outlined on http://www.tinyos.net/tinyos-2.x/doc/html/upgrade-tinyos.html to upgrade from tinyos-1.x to tinyos-2.x. I first set the

Re: [Tinyos-help] Tinyos-2.x Upgrade.

2006-08-18 Thread Kannan Srinivasan
Quoting Philip Levis [EMAIL PROTECTED]: On Aug 17, 2006, at 6:04 PM, Kannan Srinivasan wrote: Hi All, I am using cygwin and followed the instructions outlined on http://www.tinyos.net/tinyos-2.x/doc/html/upgrade-tinyos.html to upgrade from tinyos-1.x to tinyos-2.x. I first set the

Re: [Tinyos-help] Problem with Netsync, restarting motes.

2006-08-18 Thread Henric Kärnhall
Hi Joe! Thank you for your quick answer about Netsync. If I use make tmote lowpower,# I get a stable sync and a maximum duty cycle of 50% (as you told me). And when I use make tmote I get a dutycycle of 100% (as you told me), BUT a never get a stable sync! I fact I don't get sync at all. When I

Re: [Tinyos-help] Problem with Netsync, restarting motes.

2006-08-18 Thread Henric Kärnhall
That is correct Phil, I meant Boomerang 2.0.4. Sorry for that misleading information. Do you have a solution to my problem? Take a look at my replay to Joe. /Henric - Original Message - From: Philip Levis [EMAIL PROTECTED] Date: Thursday, August 17, 2006 6:12 pm Subject: Re:

[Tinyos-help] Debbuging Interface

2006-08-18 Thread Darren BISHOP
Hi All, Ted: Can you give details on your debugging interface? Phil: I have implemented a C function with declaration 'extern result_t lprintf(result_t *status, char *format, ...). The definition is included by a LoggingM component that sends to UART when on Tmote Sky or calls dbg when on

[Tinyos-help] Deluge in Oscilloscope

2006-08-18 Thread Claro Noda
Hello everyone.reading throgh the changelog... for boomerang 2.0.3 (released 07 aug 2006) it says oscilloscope application now include deluge i don't get it.i'm sure to have installed v2.02 (from cd)the motes programmed with oscilloscope are sending A1 AM type packets with lenght 1Cwhere are can

Re: [Tinyos-help] eclipse plugin make on rene2

2006-08-18 Thread Sören Rinne
I created a rene2.target in tools/make an I modified the tools/make/all.target, so make rene2 will now compile. But when I try to compile the Blink example, I got this error: compiling Blink to a rene2 binaryncc -o build/rene2/main.exe -Os -finline-limit=10 -Wall -Wshadow

[Tinyos-help] J2ME, anyone?

2006-08-18 Thread Claro Noda
Hi. any chance someonehere has thought or worked on porting part of the java tools to microedition (J2ME). i just search past archives on the listwith no luck. thanks, Claro. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] Re: Debbuging Interface

2006-08-18 Thread Darren BISHOP
Nevermind, I am exploring using function pointers; it compiles, I guess as they aren't used in command/event signatures. Also discovered the C attribute - I am hoping this will allow access to the modules namespace. If anyone is curious, read the 'nesC 1.1 Language Reference Manual', in

[Tinyos-help] getenv.dll error

2006-08-18 Thread Firat TARAKTAS
Hi to all, When i run "make install" in tools/java/jni, I got thiese error lines. What is the problem? Is there anybody help me? gcc: installation problem, cannot exec `cc1': No such file or directorymake[1]: *** [getenv.dll] Error 1

[Tinyos-help] Re: Debbuging Interface

2006-08-18 Thread Darren BISHOP
Also realised that keywords like static or extern, do sod all as I discovered when my app wouldn't compile due to redefinition errors. Just wanted to share this in-case anyone else had special needs that necessitated coding against the nesC/TinyOS programming model. Darren Darren BISHOP

RE: [Tinyos-help] Problem when download application to micaz/mib510

2006-08-18 Thread Michael Collett
A couple of points: You haven't included a node id number after reinstall. I'd also recommend using /dev/ttyS(n-1) instead of Comn. Also using full stops instead of commas has been discussed in the archives and some find it works more reliably. In your case the command would become

[Tinyos-help] Re: how to dump the output

2006-08-18 Thread nilay007
This is similar to C.just append this on yr command line when u run the program fileNameNilay ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Problem with Netsync, restarting motes.

2006-08-18 Thread Philip Levis
On Aug 18, 2006, at 1:50 AM, Henric Kärnhall wrote: That is correct Phil, I meant Boomerang 2.0.4. Sorry for that misleading information. Do you have a solution to my problem? Take a look at my replay to Joe. Unfortunately, no. I've only played with Boomerang very cursorily; I've run some

[Tinyos-help] MSP430 extern resistor on TelosB

2006-08-18 Thread Haodong Wang
Hi, I was wondering does TelosB have an external resistor for MSP430 to achieve higher CPU frequency? If yes, do I need to jump a wire on the board? Thanks! -hd ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

Re: [Tinyos-help] MSP430 extern resistor on TelosB

2006-08-18 Thread Matthew J Whelan
hd, On the Telosb motes, there is no external resistor for the digitally controlled oscillator (DCO). However, I believe that the new Tmote Sky motes (post FCC certification) do have the external resistor, whichis why these motes can have a master clock at up to 8MHz, while the Telosb can only get

Re: [Tinyos-help] Tinyos-2.x Upgrade.

2006-08-18 Thread Philip Levis
On Aug 18, 2006, at 12:14 AM, Kannan Srinivasan wrote: I went ahead and compiled java code in the apps directory. It is giving me the following error (eg. compiling java code under Oscilloscope): $ javac Oscilloscope.java Oscilloscope.java:55: cannot access net.tinyos.util.SerialStub file

Re: [Tinyos-help] Tinyos-2.x Upgrade.

2006-08-18 Thread Kannan Srinivasan
Quoting Philip Levis [EMAIL PROTECTED]: On Aug 18, 2006, at 12:14 AM, Kannan Srinivasan wrote: I went ahead and compiled java code in the apps directory. It is giving me the following error (eg. compiling java code under Oscilloscope): $ javac Oscilloscope.java

Re: [Tinyos-help] Tinyos-2.x Upgrade.

2006-08-18 Thread David Gay
On 8/18/06, Kannan Srinivasan [EMAIL PROTECTED] wrote: Quoting Philip Levis [EMAIL PROTECTED]: On Aug 18, 2006, at 12:14 AM, Kannan Srinivasan wrote: I went ahead and compiled java code in the apps directory. It is giving me the following error (eg. compiling java code under

Re: [Tinyos-help] Tinyos-2.x Upgrade.

2006-08-18 Thread Philip Levis
On Aug 18, 2006, at 10:02 AM, Kannan Srinivasan wrote: My Classpath is set as follows and is pointing to tinyos-2.x java code: TOSROOT=/opt/tinyos-2.x export TOSROOT TOSDIR=$TOSROOT/tos export TOSDIR export CLASSPATH=`cygpath -w $TOSROOT/support/sdk/java/tinyos.jar` export

Re: [Tinyos-help] Tinyos-2.x Upgrade.

2006-08-18 Thread Kannan Srinivasan
Hi Jay, You are right. The classpath did have older paths before the new one. I exported the new classpath again (at the end of java compilation) and it works now. It also explains why it was complaining earlier about not being able to find SerialStub, which does not exist in tinyos-2.x (as Phil

Re: [Tinyos-help] getenv.dll error

2006-08-18 Thread Michael Schippling
There could be something wrong with your gcc installation. running toscheck might indicate a problem. rpm has a way to list all the loaded packages, but I never remember what it is...man rpm might say. just a bunch of guesses, sorry MS Firat TARAKTAS wrote: Hi to all, When i run make install

Re: [Tinyos-help] Problem when download application to micaz/mib510

2006-08-18 Thread Michael Schippling
I have a faint reminder that this is an issue with upgraded cygwin that is needed beyond TOS1.1.10. It may be that the /dev/tty thing was the fix, but I never followed it through because I had trouble with my serial-USB converter and the /dev syntax. I think there was a lot of discussion on the

Re: [Tinyos-help] deluge packets from oscilloscope?

2006-08-18 Thread Joe Polastre
Oscilloscope includes Deluge. -Joe On 8/17/06, Claro Noda [EMAIL PROTECTED] wrote: hi all. thanks for replies on this thread. Interesting enough.. we're only programming the mote with moteiv oscilloscope and we getting packets like this: 7E 42 1C 01 08 2C FF FF FF FF A1 7D 5D 02 00 02

[Tinyos-help] Re: Debbuging Interface

2006-08-18 Thread Philip Levis
On Aug 18, 2006, at 1:55 AM, Darren BISHOP wrote: Hi All, Ted: Can you give details on your debugging interface? Phil: I have implemented a C function with declaration 'extern result_t lprintf(result_t *status, char *format, ...). The definition is included by a LoggingM component that

Re: [Tinyos-help] Re: Debbuging Interface

2006-08-18 Thread Jay Taneja
Darren,In reference to calling nesC commands from a C function, I recently posted a similar question and got an answer. Here's a link to the thread: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2006-July/017770.htmlCheers.-jayOn 8/18/06, Philip Levis [EMAIL PROTECTED] wrote:On Aug

Re: [Tinyos-help] MSP430 extern resistor on TelosB

2006-08-18 Thread Joe Polastre
Correct. TelosB does not have this resistor, however Tmote Sky does. -Joe On 8/18/06, Matthew J Whelan [EMAIL PROTECTED] wrote: hd, On the Telosb motes, there is no external resistor for the digitally controlled oscillator (DCO). However, I believe that the new Tmote Sky motes (post FCC

[Tinyos-help] TinyOS on a PIC18F

2006-08-18 Thread Greg Jaman
Has anyone successfully got tinyOS working on a pic18F series? I see there is code in tinyos-1.x/contrib/hsu/pic18f4620. It doesn't appear to compile. I want to know if there are some success stories out there and if anyone is available to give some pointers. Greg

Re: [Tinyos-help] Problem with Netsync, restarting motes.

2006-08-18 Thread Joe Polastre
Hi Henric, Do you have a node 0 or a node connected to the PC running Trawler? These nodes serve as the reference for the synchronization, so one must exist in your network. Programming a node with address=0 is usually the easiest way to achieve this. -Joe On 8/18/06, Henric Kärnhall [EMAIL

[Tinyos-help] Re: Debbuging Interface

2006-08-18 Thread Darren Bishop
Today was a day of discovery. I am using tinyos-1.x and thus nesC1. I found the C attribute after reading the reference manual and in doing so got a concrete understanding of how nesC works on the whole. The way I have implemented my logging API, it no longer matters who uses the UART and

RE: [Tinyos-help] getenv.dll error

2006-08-18 Thread Ben Kelley
cc1 is not in your path. locate should help you out. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Firat TARAKTASSent: Friday, August 18, 2006 07:24To: tinyos-help@Millennium.Berkeley.EDUSubject: [Tinyos-help] getenv.dll error Hi to all, When i

Re: [Tinyos-help] J2ME, anyone?

2006-08-18 Thread Robert Taylor
Hi, I think all current motes apart from the iMote1 / 2 are not capable of running J2ME at a decent speed (if at all). If you're interested in running Java on a mote you may want to check out Sun's SPOT project which has an extremely cut down version of Java running on an ARM class device.

Re: [Tinyos-help] J2ME, anyone?

2006-08-18 Thread Claro Noda
Thanks Robert, I'm aware of the SunSpot, however we are more interested in having the java tools from tinyos in a J2ME system... likein a gateway ...withoutgraphic classes. there are several hi performance embedded java platforms out there that would make a nice gateway, low power and much less

Re: [Tinyos-help] J2ME, anyone?

2006-08-18 Thread Cory Sharp
Claro, I have not tried J2ME, but for instance, you can run SerialForwarder with the -no-gui option to fully disable its graphical interface. Best, Cory On 8/18/06, Claro Noda [EMAIL PROTECTED] wrote: Thanks Robert, I'm aware of the SunSpot, however we are more interested in having the java

[Tinyos-help] J2ME, anyone?

2006-08-18 Thread Claro Noda
Cory, the point is that there'resome issues between the J2SE and J2MEimplementations, that will make this not as simple.. i.e no cloneable interface exists in ME, among other details. It will have to be hacked a bit. Cheers, Claro. On 18/08/06, Cory Sharp [EMAIL PROTECTED] wrote: