Re: [Tinyos-help] Getting extra bytes in CRC in TOS_Msg packet

2006-03-10 Thread Harri Siirtola
Hi Umesh, that's just the ordinary escaping scheme of the 0x7D sync byte. It's done by stuffing a 0x7D into the stream and XORing the actual byte with 0x20 (0x7D xor 0x20 = 0x5D). In your case, the crc happens to have 0x7D on that line. A search on the list will tell you more if you want.

RE: [Tinyos-help] Getting extra bytes in CRC in TOS_Msg packet

2006-03-10 Thread Damien O'Rourke
Also see http://www.octavetech.com/pubs/TB5-01%20Deciphering%20TinyOS%20Serial%20 Packets.pdf under general information. Regards, Damien. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harri Siirtola Sent: 10 March 2006 08:08 To: [EMAIL PROTECTED];

[Tinyos-help] Re: [Tinyos-devel] TinyOS 2.x node ID (TOSSIM)

2006-03-10 Thread Avinash Sridharan
Hi Phil,I was trying to debug the problem, I realised the problem was in my code and hence your changes work just fine. Due to a multitude of code changes I ended up reinitializing the node id's midway during simulation (this was a hack to get around the earlier bug) duh !!. Things are working

[Tinyos-help] tinyViz running problems

2006-03-10 Thread Roberto
I'm starting now with tinyOS and tinyViz tools. I tried to run tinyViz, as described in tinyos.net tutorial http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson5.html the windows of tinyViz is open after typing export DBG=usr1 tinyviz -run build/pc/main.exe 30 in apps/TestTinyViz. But the

[Tinyos-help] Beginner tests : summarizing

2006-03-10 Thread bruno bianco
I write this post to summarize what I have done. Equipment : - a laptop with 1 parallel port and no serial ports - a Telegesis ETRX1 programming board ( recognized by tinyOS as AVR ATMEGA128 ) - 1 ISP cable ( for parallel port ) - 1 USB-to-RS232 cable - Test script : Blink.nc I both tried to

[Tinyos-help] Mote enclosures

2006-03-10 Thread Colin Couper
Hi I am using tmotes and i need some kind of casing, plastic or other wise, as they need to be put in a persons pocket and some externat ports need to be mounted on it aswell. Because the board has an integrated aerial, I was wondering if anyone could reccommend a suitable enclosure/housing for

[Tinyos-help] MAC address

2006-03-10 Thread Ari anna
Hi!We need to extract the MAC address, starting from the nodeID. We are working on micaz motes. Where is the code that does this job? What do we have to do?Thank you.Anna and Andrea Yahoo! Mail: gratis 1GB per i messaggi, antispam, antivirus,

Re: Re: [Tinyos-help] tinyViz running problems

2006-03-10 Thread Roberto
In this way tinyViz runs correctly! Thank you very much!! ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Reading from the internal flash on tmote sky

2006-03-10 Thread Matthew Poropat
Hi everybody,I am trying to figure out how to read from the internal flash, on a tmote sky.For as much as I have understood, BlockStorage and EEPROM ( ByteEEPROM and PageEEPROM ) are both used for reading/writing/formatting the external flash. On the other side there is the InternalFlash module,

[Tinyos-help] Re: your views of running TOSSIM with ~500 nodes

2006-03-10 Thread Philip Levis
On Mar 9, 2006, at 7:21 PM, Avinash Sridharan wrote: Hi Phil, There's a bug in the beta that prevents you from simulating more than 100 nodes. It's in tos/chips/atm128/sim/atm128hardware.h: uint8_t atm128RegFile[100][0xa0]; should be uint8_t atm128RegFile[TOSSIM_MAX_NODES][0xa0]; I

[Tinyos-help] Re: [Tinyos-devel] TinyOS 2.x node ID (TOSSIM)

2006-03-10 Thread Philip Levis
On Mar 10, 2006, at 12:41 AM, Avinash Sridharan wrote: Hi Phil, I was trying to debug the problem, I realised the problem was in my code and hence your changes work just fine. Due to a multitude of code changes I ended up reinitializing the node id's midway during simulation (this was a

RE: [Tinyos-help] Getting extra bytes in CRC in TOS_M packet

2006-03-10 Thread Rick
Just a quick note - the Octave tech note does *not* apply to TelosB motes, they use a different byte packet scheme. Rick [EMAIL PROTECTED] Message: 3 Date: Fri, 10 Mar 2006 08:26:51 - From: Damien O'Rourke [EMAIL PROTECTED] Subject: RE: [Tinyos-help] Getting extra

Re: [Tinyos-help] write/read from flash on telosb mote

2006-03-10 Thread Kasper Bonne
Thanks David. I will play with the code over the weekend. /Kasper On 3/9/06, David Moss [EMAIL PROTECTED] wrote: Everything should be up on CVS now. I uploaded the hell out of it and finally got it to go. -Original Message- From: Kasper Bonne [mailto:[EMAIL PROTECTED] Sent:

RE: [Tinyos-help] write/read from flash on telosb mote

2006-03-10 Thread David Moss
Let me know if the message payload size gives you any problems. I uploaded some changes this morning to reflect a 28-byte payload maximum, which should be compatible with everyone's system. Before, I had the payload sizes of the FlashViewer messages set to my environment - 30 byte payloads,

[Tinyos-help] Beginner tests : summarizing

2006-03-10 Thread bruno bianco
Any help? My questions are about what I should do? If somebody says me that Telegesis ETRX1 is not suitable for TinyOS, I have solved all my probs. Differently, the problem could be about ISP parallel cable or USB-to-RS232 or ...something else? Kind Regards

[Tinyos-help] Re: your views of running TOSSIM with ~500 nodes

2006-03-10 Thread Avinash Sridharan
Hi Phil,Again thanks a lot. I think thats the behaviour I am observing. The minute I step beyond 100 the simulation segfaults at boot up. Will try the fix and get back to you.Thanks,Avinash On 3/10/06, Philip Levis [EMAIL PROTECTED] wrote: On Mar 9, 2006, at 7:21 PM, Avinash Sridharan wrote: Hi

RE: [Tinyos-help] Mote Drift

2006-03-10 Thread Neil Hancock
Smaitra; You may want to start off by looking at the data sheet for the Atmega device. There are two possible clocks one that runs the processors and the other more important for drift is the 32.768Khz crystal that is used on the Mica2 and Mica2dot and MicaZ platforms. Then pick a

[Tinyos-help] blockwrite.write command with Tmote invent

2006-03-10 Thread Raja Jurdak
Hi, I am new to mote flash programming. I am trying to write a simple application that writes some data to the mote external flash. I have followed the mailing list examples for formatting a volume on flash first with Format.nc, then mounting the volume, and I verified that the mountdone

[Tinyos-help] Re: your views of running TOSSIM with ~500 nodes

2006-03-10 Thread Avinash Sridharan
Hi Phil,That fix works, I am trying to push the simulation to around 990 nodes :) seems to be working. Will see how the results come out and will keep you posted on this.Thanks again for all the help,regards, AvinashOn 3/10/06, Avinash Sridharan [EMAIL PROTECTED] wrote: Hi Phil,Again thanks a lot.

RE: [Tinyos-help] blockwrite.write command with Tmote invent

2006-03-10 Thread David Moss
Title: Message There could be several issues here. First, how are you wiring up your component? You should do something like this: // in a header file, included to your configuration: enum { BLOCKSTORAGE_MYCOMPONENT = unique("BlockStorage"), } // In your configuration:

Re: [Tinyos-help] Mote Drift

2006-03-10 Thread Sharmistha Maitra
Hi Saurabh, I have another question about the paper http://nesl.ee.ucla.edu/document/show/153 , figure 11a drift and temperature variation. We know - "The rate of change of drift is highly correlated with the rate of change of temperature." But from 4 to 8 hours, the temperature is constant at

[Tinyos-help] Sending messages at the same time using a queue in SendDone

2006-03-10 Thread Gina Upperman
We are trying to send messages at the same time. To do this, we have built our own simple version of a queue. When multiple messages are sent, one is transmitted and the others are added to the stack. That is, the addresses of the nodes are added to an array of integers. We tried using

RE: [Tinyos-help] Sending messages at the same time using a queue inSendDone

2006-03-10 Thread David Moss
Title: Message Other queue issues aside, have you tried putting the call Send.send(..) in a task? event result_t Send.sendDone(TOS_MsgPtr msg, result_t success) { if (pending) { pending = FALSE; signal SensorOutput.outputComplete(success); } if(stack_idx != 0) {

[Tinyos-help] Re: your views of running TOSSIM with ~500 nodes

2006-03-10 Thread Philip Levis
On Fri, 2006-03-10 at 12:37 -0800, Avinash Sridharan wrote: Hi Phil, That fix works, I am trying to push the simulation to around 990 nodes :) seems to be working. Will see how the results come out and will keep you posted on this. If you want to simulate more than 1000, you'll need to

Re: [Tinyos-help] High Frequency Sampling - Sample.class run error

2006-03-10 Thread Michael Schippling
At this point I'm afraid my online debugging skills have failed. sorry. MS #AMIT SATPATHY# wrote: Its not in the code. When i compile the code, it compiles successfully. However, after i upload to the motes and run the Sample.class program, the program runs and then after a while(for like 2