[Tinyos-help] Needed information regarding the combination of the: tinyos-2.x with a new TI chip.

2009-09-01 Thread Shimon Shamsiyan
Dear Sir/Ms. - My name is Shimon and I’m Hw Sw Engineer since 1994. - At the last weeks I’ve started to develop a new unit that the main chip (the mixed signal micro controller) is Texas Instruments new chip from the family of: MSP430. - As you can see at there website they are 16

Re: [Tinyos-help] Tinyos nesc code problem?

2009-09-01 Thread Jun Zhang
Thanks for relay, Michael. The problem I have is the pointer is work properly on the following version if ( flag 0x01) { buf[i].target = table[i].some_double; buf[i].nexthop = table[i].some_int; } but if I use flag == 1 instead of flag 0x01 cause this problem. and as my understand is set the

Re: [Tinyos-help] Tinyos2.1 Error 53. Writing to Telosb.

2009-09-01 Thread Matthias Schmidt
Hello again, I got Cygwin running on both machines now. I dont understand why this worked, but if you face the same problem you might want to try this: 1. Close Cygwin if it is open (I'm not sure whether this is necessary but i did it that way) 2. Follow the instructions to run Xubuntos with

Re: [Tinyos-help] Tinyos nesc code problem?

2009-09-01 Thread Jun Zhang
buf[i].target = table[i].some_double; this code is not set pointer to some value? thanks 2009/8/29 Michael Schippling sc...@santafe.edu You don't seem to have set buf to point to anything... MS Jun Zhang wrote: Hello, everyone. I am new to tinyos and nesc. and I have the following data

[Tinyos-help] Tinyos boot process

2009-09-01 Thread suman tiwari
Hi all Thanks all for your earlier support. As I had witten in my previous mail that I am facing two problems in programming Msp430 of TI board.First was that our mote was not getting recognised by host system and second was that, though we were able to load the code using flash programmer but

Re: [Tinyos-help] Updated to Mac OS X 10.6 - Tinyos toolset does not work anymore

2009-09-01 Thread David
This message is obsolete, I didn't want to send it but my mail program somehow sent it anyway... I moved back again to a virtual machine :-( David. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] Mote crashes when sending

2009-09-01 Thread David
I fear the formatting of the source code will be broken when coming out of the mail-list. The actual code is this: error_t dsrRouteRequest(am_addr_t destination) { message_t rrMessage; // The message we will use nx_struct dsrPacket* rrPayload;//

[Tinyos-help] Tutorial / Lesson 4 : Mote-PC serial communication and SerialForwarder ; not compiling

2009-09-01 Thread David Guillen Jimenez
Hello everybody, I am following the tutorial 4 : Mote-PC serial communication and SerialForwarder and I can not compile the program TestSerial. I didn't have any problem with the previous tutorials, but in this one I have an error like this: :/opt/tinyos-2.1.0/apps/tests/TestSerial$ make

Re: [Tinyos-help] Mote crashes when sending

2009-09-01 Thread David
I'm getting the impression that it is not my code's fault but the crashes have something to do with the printf() function. If I do less output via printf() more messages can be sent in a row before the crash occurs. I've decreased PRINTF_BUFFER_SIZE to 256 now (have tried 1024, 2048 and

Re: [Tinyos-help] Tutorial / Lesson 4 : Mote-PC serial communication and SerialForwarder ; not compiling

2009-09-01 Thread Faisal Aslam
Dear David, Please try sudo apt-get install build-essential and see if the problem is solved. -- best regards, Faisal Aslam Ph.D. Candidate University of Freiburg, Germany http://cone.informatik.uni-freiburg.de/people/aslam/ David Guillen Jimenez wrote: Hello everybody, I am following

Re: [Tinyos-help] Mote crashes when sending

2009-09-01 Thread David
Hmm... removed all printf() stuff and replaced them with leds showing up on events. Mote is still crashing. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Mote crashes when sending

2009-09-01 Thread David
I increased send speed now and can see no more errors or crashes. This is strange isn't it? I was sending one message every two seconds before, now I'm sending one message every 750ms. David. ___ Tinyos-help mailing list

Re: [Tinyos-help] Fw: Fw: Tutorial / Lesson 4 : Mote-PC serialcommunication and SerialForwarder ; not compiling

2009-09-01 Thread Michael Schippling
If you do have a CLASSPATH environment variable make sure you have followed the instructions in the error messages you included here, and also that the directories and files that it references are indeed the correct ones. MS David Guillen Jimenez wrote: Hi, I am going ot leave you here some

Re: [Tinyos-help] Retransmission of the packet lost

2009-09-01 Thread Michael Schippling
ACKs are not default behavior in T1, but you apparently have them enabled if you are getting a variety of values in the message.ack field. Also the low-level MAC code in the radio stack _should_ take care of collision backoffs. I forget the original problem, but how does sending_flag get reset?

Re: [Tinyos-help] Mote crashes when sending

2009-09-01 Thread Michael Schippling
Source came through sorta ok The basics look good, in terms of address calculations and such. I don't know what version of TOS you are using so I'm not sure about the details of the interfaces. The one getPayload() method I've used expects to get a pointer to a payload size, I think, rather

[Tinyos-help] Fw: Fw: Fw: Tutorial / Lesson 4 : Mote-PC serialcommunication and SerialForwarder ; not compiling

2009-09-01 Thread David Guillen Jimenez
The CLASSPATH is at the end of this mail defined as I red in the manual: export TOSROOT= export TOSDIR= export MAKERULES= TOSROOT=/opt/tinyos-2.1.0 TOSDIR=$TOSROOT/tos CLASSPATH=$CLASSPATH:$TOSROOT/support/sdk/java MAKERULES=$TOSROOT/support/make/Makerules export TOSROOT export TOSDIR

Re: [Tinyos-help] Fw: Fw: Fw: Tutorial / Lesson 4 : Mote-PC serialcommunication and SerialForwarder ; not compiling

2009-09-01 Thread Michael Schippling
ah, sorry... first, you are on Linux right? Does /opt actually exist in the file system? If on Widows, cygwin does some fast and loose linking that makes /opt not appear to Java, so you need to use the full C:./yada/yada path... second, you probably want to have '.' in the CP or you will

[Tinyos-help] Questions: MultihopOscilloscope on Iris nodes

2009-09-01 Thread David Li
Hi, I am using this on Iris motes without any sensing boards. The ReadMe says to compile with default sensor using SENSORBOARD=sensorboard name make mote. My questions are: 1. How should I set sensorboard name? 2. How should I set mote? Any string will do? 3. Should this line be added to the

Re: [Tinyos-help] Questions: MultihopOscilloscope on Iris nodes

2009-09-01 Thread Michael Schippling
You can set SENSORBOARD=micasb in the makefile, you will probably just get garbage data but I don't think there's anything that will hang up. The make mote thing means to type the command make and your device type, so: make iris to build your program for the iris devices. I think most

[Tinyos-help] how to look into the surge application messages packets

2009-09-01 Thread Khurram Shahzad
Hi i am working on Surge how can i get at application level messages?can anybody knows about it thanks khurram ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Nesc and Mac OS X 10.6

2009-09-01 Thread Mohammad Sajjad Hossain
Was anyone able to build it in Snow Leopard? I get the following errors with nesc 1.3.1 while running ./configure:. . . . . . checking for darwin... yes checking for gcc... gcc checking for C compiler default output file name... configure: error: in `/Users/sajjad/Downloads/nesc-1.3.1/src':

[Tinyos-help] re ceive function code

2009-09-01 Thread Akashdeep
hi can any one help me finding out the problem with this code as am not getting the data portion its coming to be 0 or 255 but should be received reading pls suggest event TOS_MsgPtr ReceiveMsg.receive( TOS_MsgPtr m) { PongMsg_t* _pongmsg; call Leds.redOff(); _pongmsg =

[Tinyos-help] help

2009-09-01 Thread Siddiqua, Ayesha
Hi, I want to send an uint8_t array from pc to the mote by the program TestSerial.java. What type I should convert uint8_t to? Should I convert it to byte array? or any other type of array? Somebody please help my out by providing the code to convert uint8_t to a suitable type of array