Re: [Tinyos-help] IRIS Int6 strange behavior

2009-08-25 Thread Michael Schippling
Nor, apparently, can the source or API for Moteworks... MS Giri Baleri wrote: > I have attached radio specific portion of the IRIS schematics that might be > of help here. The complete schematic for the IRIS can not be made public. > > Regards, > Giri > > > -Original Message- > From:

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

2009-08-25 Thread Matthias Schmidt
Hello Everybody, are there any news on this issue because i have exactly the same problem when I'm using Cygwin (everything works fine when I'm using Linux on the same PC). Best regards Matthias Re: [Tinyos-help] Tinyos2.1 Error 53. Writing to Telosb. Michael Schippling Mon, 30 Mar 2009

Re: [Tinyos-help] help:serial problem of telosb in tinyos-2.x

2009-08-25 Thread renjie huang
Or ihow can I change the UART baud rate of telosb in tinyos code to make it work ? Thanks ! On Tue, Aug 25, 2009 at 6:01 PM, renjie huang wrote: > Hi Razvan > > I compare the tos.py in /opt/tinyos-2.x-contrib/jhu/python with the one in > /opt/tinyos-2.x/support/sdk/python. There are plenty of cha

Re: [Tinyos-help] help:serial problem of telosb in tinyos-2.x

2009-08-25 Thread renjie huang
Hi Razvan I compare the tos.py in /opt/tinyos-2.x-contrib/jhu/python with the one in /opt/tinyos-2.x/support/sdk/python. There are plenty of changes. Is your change already patched into tinyos-2.x? Thanks. On Tue, Aug 25, 2009 at 4:46 PM, Razvan Musaloiu-E. wrote: > Hi! > > You might encounte

Re: [Tinyos-help] help:serial problem of telosb in tinyos-2.x

2009-08-25 Thread Razvan Musaloiu-E.
Hi! You might encounter the problems that were discuss in this thread: https://www.millennium.berkeley.edu/pipermail/tinyos-devel/2008-September/003384.html https://www.millennium.berkeley.edu/pipermail/tinyos-devel/2009-February/thread.html#3655 I'm not sure about the Java tool

Re: [Tinyos-help] IRIS Int6 strange behavior

2009-08-25 Thread André Rodrigues
Hi Schematics would be great :) That was my first idea, that the pin was set to output. After reading the manual MPR-MIB (link sent by Giri) for the MicaZ it apears that: ___ 3. INT2 GPIO Line MICA I/O signal INT2 (Port E

Re: [Tinyos-help] splitconrtol interface issues

2009-08-25 Thread Raffaele Gravina
can you provide the key snippets of your code?Raf 2009/8/25 farooq_s > > Hi, > > I am trying to control(turn it ON and OFF) the radio using the split > control > interface on tinyos2 platform. However I have so far not been able to do > so. > I dont seem to get the wiring that is necessary to tu

Re: [Tinyos-help] help:serial problem of telosb in tinyos-2.x

2009-08-25 Thread Xiaogang Yang
yes, I could see the rx and tx blink too. On Tue, Aug 25, 2009 at 4:00 PM, Raffaele Gravina < raffaele.grav...@gmail.com> wrote: > Sometimes it turns out the host application tries to send data to the > basestation node (via the tinyos.jar or the SF) but the basestation itself > has troubles in g

Re: [Tinyos-help] help:serial problem of telosb in tinyos-2.x

2009-08-25 Thread renjie huang
Hi It looks like this problem happens very often. When we tried other nodes, the same result repeats. I am really curious about whether any people also observe this phenomenon when trying bi-directional data stream. On Tue, Aug 25, 2009 at 3:39 PM, Raffaele Gravina < raffaele.grav...@gmail.com>

Re: [Tinyos-help] help:serial problem of telosb in tinyos-2.x

2009-08-25 Thread Xiaogang Yang
44 0E 00 FF FF 00 00 23 00 65 FF FF 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 encoded:7E 44 0E 00 FF FF 00 00 23 00 65 FF FF 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1B 97

Re: [Tinyos-help] help:serial problem of telosb in tinyos-2.x

2009-08-25 Thread Raffaele Gravina
Sometimes it turns out the host application tries to send data to the basestation node (via the tinyos.jar or the SF) but the basestation itself has troubles in getting them. When that happen i notice the 'UART write led' on the side of the usb connector keeps blinking weakly. Actually, most of the

Re: [Tinyos-help] help:serial problem of telosb in tinyos-2.x

2009-08-25 Thread Xiaogang Yang
sending: 44 0E 00 FF FF 00 00 23 00 65 FF FF 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 encoded:7E 44 0E 00 FF FF 00 00 23 00 65 FF FF 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1B 97 7E

Re: [Tinyos-help] help:serial problem of telosb in tinyos-2.x

2009-08-25 Thread Xiaogang Yang
Nope, I just use telosb. So it seems like you also have the same problem? On Tue, Aug 25, 2009 at 3:39 PM, Raffaele Gravina < raffaele.grav...@gmail.com> wrote: > Hi, > did you tried with another basestation node? I use tmoke sky/telosb nodes > and sometimes the usb connectors start to don't wor

Re: [Tinyos-help] help:serial problem of telosb in tinyos-2.x

2009-08-25 Thread Raffaele Gravina
Hi, did you tried with another basestation node? I use tmoke sky/telosb nodes and sometimes the usb connectors start to don't work happily anymore! - Raffaele 2009/8/25 Xiaogang Yang > Hello, everybody: > I encounter a problem in my recent research as follows: > I cannot send message from pc to

Re: [Tinyos-help] a question about TinyOS main loop

2009-08-25 Thread Eric Decker
On Tue, Aug 25, 2009 at 12:02 PM, Yu Liu wrote: > Hi, > > I have a question about the TinyOS main loop. In the main function, there > is an infinite loop to handle all the tasks (interrupts). > This is what handles tasks. Interrupts pull the cpu out of this code. > As I know, the CPU will go

Re: [Tinyos-help] c-stack gets corrupted: TinyOS error?

2009-08-25 Thread John Regehr
> that TinyOS function CC1000SendReceiveP$listenData somehow overwrites > the c-stack. Have you tried Safe TinyOS and the stack depth analysis tool? http://docs.tinyos.net/index.php/Safe_TinyOS http://docs.tinyos.net/index.php/Stack_Analysis Basically, there are two ways to corrupt RAM on a Tiny

[Tinyos-help] help:serial problem of telosb in tinyos-2.x

2009-08-25 Thread Xiaogang Yang
Hello, everybody: I encounter a problem in my recent research as follows: I cannot send message from pc to mote reliably, so I turn on the DEBUG of Packetizer.java Then I found when PC send msg to mote through serialport, ack timeout happen frequently. I doubt whether my application has problem, so

Re: [Tinyos-help] IRIS Int6 strange behavior

2009-08-25 Thread Michael Schippling
Sounds like the int6 pin is set to output if it's supplying current. Too bad there isn't an Iris schematic, eh? MS André Rodrigues wrote: > Hi > > I'm using T2.1 on an IRIS mote with an addon. > > This addon sometimes generates a pulse (1ms length) and I want to generate > an interrupt in the

[Tinyos-help] Invitation to connect on LinkedIn

2009-08-25 Thread Daniel Pereira
LinkedIn Daniel Pereira requested to add you as a connection on LinkedIn: -- Davide, I'd like to add you to my professional network on LinkedIn. - Daniel View invitation from Daniel Pereira http://www.linkedin.com/e/DQCGT3GB9z4raacyxHEZ6GwS

[Tinyos-help] IRIS Int6 strange behavior

2009-08-25 Thread André Rodrigues
Hi I'm using T2.1 on an IRIS mote with an addon. This addon sometimes generates a pulse (1ms length) and I want to generate an interrupt in the 0 to 1 transition. If I attached the addon to Int5 or Int7 it works perfectly. On Int6 it doesn´t. But the strange behavior happens when touch the In

[Tinyos-help] SFSource or SFListen

2009-08-25 Thread Daniele Ricci
Hello. Can you explain the difference between these two packages used one by buldSource and one from SF to open a socket connection?thanks _ Messenger è su Hotmail. Scopri le novità. http://www.messenger.it/accediWebMessengerHotmail

[Tinyos-help] CTP w/o Acks

2009-08-25 Thread koenigt
Hello, I want to use CTP without acks for mobile nodes. That means, that I want CTP to update neighbor / routing table rather frequently. All I was able to find so far was the maxInterval, which I reduced from 512000 to 51200 (1/10). This already had the desired effect, that nodes send bea

[Tinyos-help] a question about TinyOS main loop

2009-08-25 Thread Yu Liu
Hi, I have a question about the TinyOS main loop. In the main function, there is an infinite loop to handle all the tasks (interrupts). As I know, the CPU will go into the idle state when there is no task to handle. My question is: what will happen to this infinite loop in the idle state? Is the

Re: [Tinyos-help] Fwd: I2C examples

2009-08-25 Thread Raffaele Gravina
Hi Tommaso, in the "read" command of your sensor driver you should only call the stop command of the radio splitcontrol. Then in the radio "stopDone" event your would call the i2c resource request. Finally, in the i2c resource "granted" event you will execute the actual sensor reading. That should

[Tinyos-help] IRIS Int6 strange behavior

2009-08-25 Thread André Rodrigues
Hi I'm using T2.1 on an IRIS mote with an addon. This addon sometimes generates a pulse (1ms length) and I want to generate an interrupt in the 0 to 1 transition. If I attached the addon to Int5 or Int7 it works perfectly. On Int6 it doesn´t. But the strange behavior happens when touch the In

Re: [Tinyos-help] Fwd: I2C examples

2009-08-25 Thread Tommaso Montisci
Hi Michael, Thank you very much for your suggestion, now It seems to work all right! I would have never thought that the solution could be so easy! :-) Now I'm making some experiments to read and write from my compass, but I'm in troubles again with the arbitration between RadioChannel (CC2420-chip

Re: [Tinyos-help] Samplig rate

2009-08-25 Thread Michael Schippling
Sorry I have no examples and I should probably either create some or just stop answering these questions... There is/was a High Frequency sampling demo app that didn't use the regular TimerM. There is also the TimerJiffy component that runs at 32kHz and I think has a similar Timer functionality. T

Re: [Tinyos-help] Re ceive function problem

2009-08-25 Thread Michael Schippling
Double check that... Unless there is some multi-hop component that is truncating your messages, the only way I can think to get what you describe -- a short message with a good CRC -- is to mis-specify the length when sending. MS Akashdeep wrote: > Yes i always have specified about the length .

Re: [Tinyos-help] c-stack gets corrupted: TinyOS error?

2009-08-25 Thread Michael Schippling
If you can't find any likely source of wild pointers then you may "just" be blowing your stack. I think there is stack monitor code for TOS somwplace...try some searching. You can also try reducing your stack usage by eliminating functionality, cutting down function call levels (recursion anyone?)

[Tinyos-help] Problem with 2 timer's aplication

2009-08-25 Thread Daniel Souza Coelho
Hi friends, I'm working in the following apllication: module M { provides { interface StdControl as StdControl6000; interface StdControl as StdControl4000; } uses { interface Timer as Timer6000; interface ADC as ADC6000; interfac

Re: [Tinyos-help] I2C examples (Michael Schippling)

2009-08-25 Thread KURT PETERS
Depending on the version of tinyos you're using, the 7 bit addressing was fixed to conform to standards around the 2.1 version. Besides this, there was an error in implementation of reading and writing such that you shouldn't use an odd address because it was not masked correctly. I pointed th

[Tinyos-help] splitconrtol interface issues

2009-08-25 Thread farooq_s
Hi, I am trying to control(turn it ON and OFF) the radio using the split control interface on tinyos2 platform. However I have so far not been able to do so. I dont seem to get the wiring that is necessary to turn the radio ON or OFF. I have used the RadioSenseToLeds application and modified it

[Tinyos-help] SenseToRfm application query

2009-08-25 Thread Kiraneet sharma
Hello friends... Has anyone tried working with and modifying the SenseToRfm application in tinyos-1.x ?? I have modified the application wherein I have a node with id 0 as the base station and in the IntToRfm's Intoutput.output() I have added a few debug statements . printf("sending data to

[Tinyos-help] problem with sendDone

2009-08-25 Thread omar_87
Hi all, i kindly ask your help for the following problem: i have a node base station that send hello packets when a timer fired; when an other node receive this packet it sends back data to the base station. The problem is that in the base station node the event sendDone never occur thus afte

Re: [Tinyos-help] Atm128SpiP.nc Rev. 1.10

2009-08-25 Thread Mehmet Akif Antepli
Hi Miklos, I am using micaz motes and XubunTOS-2.1. On Tue, Aug 25, 2009 at 10:55 AM, Miklos Maroti wrote: > Dear Mehmet, > > What platform are you using? > > Miklos > > On Mon, Aug 24, 2009 at 6:02 PM, Philip Levis wrote: > > It looks like you made this change. Can you take a look? > > Phil > >