[Tinyos-help] micaz OEM

2007-01-11 Thread Andres Aberasturi
Hi, We have designed a board with the MPR2600. My problem is that the first time I can load a program on the board, but then I can't do it again. When I retry to load other program my software doesn't detect any failure, as if it had done well, but I can see my board doesn't work properly. To

RE: [Tinyos-help] DATA_LENGTH is eating my brain....................

2006-10-25 Thread Andres Aberasturi
Hi, The AM.h you have to change is in the directory tinyos\cygwin\opt\tinyos-1.x\tos\XXX\, where XXX is the platform you are using (micaz, mica2, telos, ...). Andrés. From: "primalfear 69" <[EMAIL PROTECTED]> To: tinyos-help Subject: [Tinyos-help] DATA_LENGTH is eating my brain..

RE: [Tinyos-help] MTS300 sensor reading conversions (micaz, tinyos-1.x)

2006-10-17 Thread Andres Aberasturi
Hi Nuwan, You can see some conversions in the file xconvert.c in opt\tinyos-1.x\contrib\xbow\tools\src\xlisten and in the file mts300.c in opt\tinyos-1.x\contrib\xbow\tools\src\xlisten\boards. I hope this help you. Andrés. From: "Nuwan Ginige" <[EMAIL PROTECTED]> To: Subject: [Tinyos-h

RE: [Tinyos-help] XMesh Multihop application

2006-09-20 Thread Andres Aberasturi
and Tmote, what modules do they use to communicate through radio? Are they similar to micaZ modules? Thanks in advance, Andres From: "Andres Aberasturi" <[EMAIL PROTECTED]> To: tinyos-help@Millennium.Berkeley.EDU Subject: [Tinyos-help] XMesh Multihop application Date: Tue, 1

[Tinyos-help] XMesh Multihop application

2006-09-19 Thread Andres Aberasturi
Hi all, Some time ago, we got a Crossbow application called XMesh for MicaZ motes. We use XMTS310, which is the application for MTS310 sensorboard. This kind of applications have a interesting way of communication. A mote can send a message and base mote can answer automatically, and all mote

[Tinyos-help] RE: ADC.getContinuousData()

2006-09-19 Thread Andres Aberasturi
PROTECTED], [EMAIL PROTECTED] [EMAIL PROTECTED] *HomePage: HTTP://mega.ist.utl.pt/~aogo === From: "Andres Aberasturi" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], tinyos-help@Millennium.Berkeley.EDU Subject: RE: [Tinyos-help] ADC.getContinuousData() Date: Tue, 19 Sep 2006 14:17:37 +020

RE: [Tinyos-help] ADC.getContinuousData()

2006-09-19 Thread Andres Aberasturi
Hi, You must return FAIL in the adc.dataReady(). Andrés. From: "antonio gonga" <[EMAIL PROTECTED]> To: tinyos-help@Millennium.Berkeley.EDU Subject: [Tinyos-help] ADC.getContinuousData() Date: Tue, 19 Sep 2006 11:19:39 + hello, any one knows how to stop adc.getcontinuousdata()? please

RE: [Tinyos-help] help, strange automatic fired timer!!

2006-09-13 Thread Andres Aberasturi
Hi, I do know the problem, but I think you can write any word (Timer o anything) if you have defined it corretly. I am sorry I can help you with your previous question. Andres From: Pablo Gil Montaño <[EMAIL PROTECTED]> To: campbell gao <[EMAIL PROTECTED]>,"hi,all tinyosbuddies"

RE: [Tinyos-help] Cygwin Version Problem

2006-07-12 Thread Andres Aberasturi
Hi. Has you tried to write make micaz install,0 mib510,/dev/ttyS0 ? (ttyS0 because com1, for example ttyS3 because it is com4) Andres. From: "goetgheb" <[EMAIL PROTECTED]> To: Subject: [Tinyos-help] Cygwin Version Problem Date: Wed, 12 Jul 2006 11:44:10 +0200 Hello everybody I am using

RE: [Tinyos-help] FW: micaZ

2006-07-06 Thread Andres Aberasturi
Hi all, I do not know a lot, but some weeks ago we start working with TinyOS 1.1.15 and micaz motes. We got the same error. In orther to get that it compiles, we comment two lines in the interface HPLPowerManagement, which is in tinyos-1.x/tos/interfaces. Perhaps it is not the best way, but n

RE: [Tinyos-help] TinyOS 1.1.15 Timer help

2006-07-05 Thread Andres Aberasturi
Hi all, Sorry, we have found the error. It was a hardware problem. Thanks, Andres From: "Andres Aberasturi" <[EMAIL PROTECTED]> To: tinyos-help@Millennium.Berkeley.EDU Subject: [Tinyos-help] TinyOS 1.1.15 Timer help Date: Wed, 05 Jul 2006 08:28:45 +0200 Hi all, We are wo

[Tinyos-help] TinyOS 1.1.15 Timer help

2006-07-04 Thread Andres Aberasturi
Hi all, We are working with micaz motes, mts310 sensorboard and Crossbow contribution. We have been working with TinyOS 1.1.7, but some weeks ago we started to use TinyOS 1.1.15. We have applications in TinyOS 1.1.7 which work with two timers: AppM.Timer1 -> TimerC.Timer[unique("Timer")]; Ap

[Tinyos-help] GenericComm export

2006-06-30 Thread Andres Aberasturi
Hi all, We have a problem exporting an interface. We work with the radio module of a micaz and we use GenericComm. We are going to explain all our wirings. First of all, CC2424ControlM is a module which provides CC2420Control (an interface), we write a line in order to export this interface

Re: [Tinyos-help] generate docs

2006-06-30 Thread Andres Aberasturi
it looks for it, and we do not know where we have to change this path. We will try in other forum about Eclipse. Thanks a lot anyway. Andres From: "Rahul Sawant" <[EMAIL PROTECTED]> To: "Andres Aberasturi" <[EMAIL PROTECTED]> CC: tinyos-help@millennium.b

Re: [Tinyos-help] generate docs

2006-06-29 Thread Andres Aberasturi
res From: "Rahul Sawant" <[EMAIL PROTECTED]> To: "Andres Aberasturi" <[EMAIL PROTECTED]> CC: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] generate docs Date: Wed, 28 Jun 2006 19:12:45 -0500 hi i think this is because ur comp already has a file dot

[Tinyos-help] generate docs

2006-06-28 Thread Andres Aberasturi
Hi all, We have update TinyOs to TinyOS 1.1.15. It works fine but it does not generate the images of the documentation. We get the following error: nesc1: warning: DOC WARNING: your version of `dot' does not support client-side image maps. Upgrade to graphviz >= 1.8.8 to enable

[Tinyos-help] sending to a specific mote

2006-06-27 Thread Andres Aberasturi
Hi all, I am working with a complex application, where a mote ("my source" with a node_id=0x1) has to send a TOS_msg to another mote. There could be two ways to get that a message sended from one mote was listened by a specific mote and ignored by the others. Those 2 ways are: 1) I could impl

[Tinyos-help] make micaz docs problem

2006-06-22 Thread Andres Aberasturi
Hi all, We have installed somethings and we have a problem in one computer. When we write "make micaz docs" we get the following message: AVE @ Andres /cygdrive/c/tinyos/cygwin/opt/tinyos-1.x/contrib/kk/apps/TOSBase $ make micaz docs Making documentation for TOSBase on micaz nesdoc /cygd

[Tinyos-help] uint16_t time in TOS_msg

2006-06-21 Thread Andres Aberasturi
Hi all,    I am working with the CC2420 radio modules of the micaz motes. My TinyOS version is 1.1.7. I have been checking the TOS_msg of the micaz in the AM.h file. But there is part of the structure that I do not know exactly what is it for: uint16_t time. Can anyone help me? Thank you in adva

Re: [Tinyos-help] NesC and TinyOS

2006-06-14 Thread Andres Aberasturi
Thanks for your help Philip. We are reading your programming manual, which is really good, but we would want to understand right. Your answers help us a lot. Andres From: Philip Levis <[EMAIL PROTECTED]> To: Andres Aberasturi <[EMAIL PROTECTED]> CC: tinyos-help@Millennium.

Re: [Tinyos-help] RSSI_VAL

2006-06-13 Thread Andres Aberasturi
TECTED]> To: [EMAIL PROTECTED] Subject: Re: [Tinyos-help] RSSI_VAL Date: Tue, 13 Jun 2006 09:52:01 -0500 (CDT) Which tool did you use to see the value, listen or others? Thanks. Hui Kang On 6/13/2006, "Andres Aberasturi" <[EMAIL PROTECTED]> wrote: >Hi all, > >I am w

[Tinyos-help] RSSI_VAL

2006-06-13 Thread Andres Aberasturi
Hi all, I am working with the localization of micaz motes (with the 1.1.7version of TinyOS), and for it, I need to know the RSSI value messured. At this moment, I am able to read the value, and see that when I separate the motes, this value dicreases. But which are the unit of this value ? Ho

[Tinyos-help] NesC and TinyOS

2006-06-12 Thread Andres Aberasturi
Hi all, We have been working with TinyOs and NesC some few months, but we still have some doubts. We want to ask you the following three questions: 1.- In some places, we have read that events can call commands, post tasks and signal other events. Also, we have read that commands can call lo

Re: [Tinyos-help] set frequency and power for the CC2420 in Micaz motes

2006-06-09 Thread Andres Aberasturi
quot;wrong" MakeXbowLocal. Anyway, if I would be using the mica2, where is the definition for example of RADIO_916BAND_CHANNEL_00 that appears in MakeXbowLocal? Thank you again for your help, Andrés From: Michael Schippling <[EMAIL PROTECTED]> To: Andres Aberasturi <[EMAIL PRO

[Tinyos-help] Pins to connect mib510 with a micaz

2006-06-08 Thread Andres Aberasturi
Hi all, We are going to work with a micaz oem. Then we need connect micaz to MIB510. What pins we have to connect? We think we need to connect Vcc (50), GND (51), UART_RXD0 (27), UART_TXD0 (28), PROG_MOSI (16), PROG_MISO (17), where in brackets it is the pin number of the hirose connector.

Re: [Tinyos-help] set frequency and power for the CC2420 in Micaz motes

2006-06-08 Thread Andres Aberasturi
EF_CHANNEL=26, or you are really setting the power and the frequency? I want to know where are DCC2420_TXPOWER and DCC2420_DEF_CHANNEL declarated. Than you very much in advance, Andres       >From: Michael Schippling <[EMAIL PROTECTED]> >To: Andres Aberasturi <[EMAIL PRO

[Tinyos-help] set frequency and power for the CC2420 in Micaz motes

2006-06-07 Thread Andres Aberasturi
Hi all, At this moment I am working with the chipcon CC2420 in the MicaZ motes. I would like to know if I can change the frequency and the power, and how can I do it? I have seen that for the mica2 motes, this is made in the MakeXbowLocal: CFLAGS = -DCC1K_DEFAULT_FREQ=RADIO_916BAND_CHANNEL_0

Re: [Tinyos-help] Main.StdControl -> TimerC;

2006-05-26 Thread Andres Aberasturi
suggestions. Anyway, thanks for your help, Andres From: Roberto <[EMAIL PROTECTED]> To: Andres Aberasturi <[EMAIL PROTECTED]>, tinyos-help@Millennium.Berkeley.EDU Subject: Re: [Tinyos-help] Main.StdControl -> TimerC; Date: Fri, 26 May 2006 09:53:02 + >> But we sti

Re: [Tinyos-help] Main.StdControl -> TimerC;

2006-05-26 Thread Andres Aberasturi
the init for Timer too? If it is not, where is called StdControl.init of Timer? Thanks a lot for your help, Andres From: Roberto <[EMAIL PROTECTED]> To: Andres Aberasturi <[EMAIL PROTECTED]>, tinyos-help@Millennium.Berkeley.EDU Subject: Re: [Tinyos-help] Main.StdControl -&g

[Tinyos-help] Main.StdControl -> TimerC;

2006-05-26 Thread Andres Aberasturi
Hi all, We are working with micaz motes. We have noticed that there is a line in a lot of places like: Main.StdControl -> TimerC; That means StdControl interface is called from Main (actually from Realmain), is not it? We know StdControl.init(), which TimerC provides, should be called to s

[Tinyos-help] motes localization for micaz

2006-05-19 Thread Andres Aberasturi
Hi all, I am writting to you in order to know if there is already an aplication for nodes localization. I have read part of the literature about nodes localization to know which algorithms there are. I have met with ROCRSSI algorithm. Has anyone implemented it? or which ones have been done?

RE: [Tinyos-help] Clock3 - Duty cycle

2006-05-16 Thread Andres Aberasturi
Hi all, We have found the problem. We wrote cbi(ETIMSK, TICIE3);, and it should be sbi(ETIMSK, TICIE3); to enable interrupts. Anyway, thanks a lot, Andres From: "Andres Aberasturi" <[EMAIL PROTECTED]> To: tinyos-help@Millennium.Berkeley.EDU Subject: [Tinyos-help] Clo

[Tinyos-help] Clock3 - Duty cycle

2006-05-16 Thread Andres Aberasturi
Hi all, We have micaz motes. We have installed TinyOS 1.1.7. We have bought a temperature sensor, whose data is measured through a duty cycle. Then we need a clock to measure it. We have write an application and it compiles right, but the micaz mote does not work. We have tested that the inte

[Tinyos-help] ncc - NesC compiler

2006-05-09 Thread Andres Aberasturi
Hi all, We would like to study the NesC compiler, ncc. We have installed tinyOS 1.1.7, and we have downloaded ncc source code. In the NesC compiler, we think the platform that you have chosen is important for some files, it seems that they will have to be changed if you want to use another m

[Tinyos-help] NesC compiler

2006-05-04 Thread Andres Aberasturi
Hi all, I am in the step of studing the NesC compiler, because I would like to change the platform and we think that we will have to make changes in the compiler. We are not sure about the needed modifications, thats why we want to know more about this compiler. Can anyone help us, giving a

RE: [Tinyos-help] Mica2, CPU Timed Sleep and Wakeup

2006-04-28 Thread Andres Aberasturi
It depends on the sleep mode. The timer doesn't wake up the mote if the mode is power-down or standby. In these modes I think the mote is woken up by external interrupts. It's explained in the ATmega128 reference manual. Andres. From: [EMAIL PROTECTED] To: tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] Problems with the radio updating TinyOS

2006-04-25 Thread Andres Aberasturi
Hi all, I've just updated my TinyOS version from 1.1.7 to 1.1.15, and now I can't load some applications in my micaz motes. These applications use the radio to send messages, for example I can load Blink and TOSBase, but I can't load XSensorMTS300. When I try load it I get the following error:

[Tinyos-help] Problems updating TinyOS

2006-04-12 Thread Andres Aberasturi
Hi all, I've updated tinyos from 1.1.7 to 1.1.15 version and I can't load applications that use the radio. I use a micaz mote. when I do "make micaz" I get the following: $ make micaz mkdir -p build/micaz compiling XSensorMDA300 to a micaz binary ncc -o build/micaz/main.exe -Os -I../../tos

Re: [Tinyos-help] make Tmote

2006-04-06 Thread Andres Aberasturi
From: "Cory Sharp" <[EMAIL PROTECTED]> To: "Andres Aberasturi" <[EMAIL PROTECTED]> CC: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] make Tmote Date: Thu, 6 Apr 2006 12:32:16 -0700 Andreas, Moteiv Boomerang installs exclusively into /opt/mo

Re: [Tinyos-help] make Tmote

2006-04-06 Thread Andres Aberasturi
7; /opt/moteiv/tools/make/tmote.target:95: warning: ignoring old commands for target `tmote' I do not understand what the problem is, sorry. Do you have any idea? Thanks a lot for your help, Andres From: "Cory Sharp" <[EMAIL PROTECTED]> To: "Andres Aberasturi" <

[Tinyos-help] make Tmote

2006-04-05 Thread Andres Aberasturi
Hi all, I bought a micaz. I installed TinyOS and it works correctly. But now, I have downloaded Boomerang for Tmote, so I have installed it, without desinstalling the previous version of TinyOS. I have two new folders: opt/moteiv and opt/mps430. I do not have a Tmote yet, but I want to try to

[Tinyos-help] TinyOS's scheduler

2006-03-30 Thread Andres Aberasturi
Hi all, We would like to study the scheduler of tinyOs. But we do not see clearly where is it, or witch is its schema. And more exactly, our doubt is: where is called the "bool TOS_post(void (*tp) ()) __attribute__((spontaneous))" function? we see its description in sched.c, what it does but

[Tinyos-help] nesC function pointers

2006-03-23 Thread Andres Aberasturi
Hi all, I have an ansiC code I include in a TinyOS application. This ansiC code has function pointers and when I compile it warns, but compiles. I've read that nesC doesn't allow function pointer. Could anybody tell me if it'll work or how I should change the ansiC code? Thanks in advance, A

Re: [Tinyos-help] Source code

2006-03-22 Thread Andres Aberasturi
Hi Michael, I have installed TinyOS 1.1.7, but I want to know if I have the source code of this operating system or if we need to download another thing in order to study its code. Thanks, Andres From: Michael Schippling <[EMAIL PROTECTED]> To: Andres Aberasturi <[EMAIL PROTE

[Tinyos-help] Source code

2006-03-22 Thread Andres Aberasturi
Hi all, I want to study the source code of TinyOS, where I can find it? Anybody could help me, please? Thanks in advance, Andres _ Grandes éxitos, superhéroes, imitaciones, cine y TV... http://es.msn.kiwee.com/ Lo mejor para t

RE: [Tinyos-help] sampling rate

2006-03-22 Thread Andres Aberasturi
The ADC has a conversion time between 65-210 us. If you add this time to te sampling rate you 'll obtain the real sampling rate. Andres. From: patrick kuckertz <[EMAIL PROTECTED]> To: tinyos help Subject: [Tinyos-help] sampling rate Date: Wed, 22 Mar 2006 04:29:43 -0800 (PST) Dear all,

[Tinyos-help] Ansi C - NesC

2006-03-17 Thread Andres Aberasturi
Hi all, We have a micaz mote. We have found a ansiC program. We are going to try that a nesC application calls this code. The program manages files, then we want to know if it is possible that nesC works with files. Could anybody help us? Thanks in advance, Andres

Re: [Tinyos-help] ByteEEPROMC.nc with MICAz

2006-02-17 Thread Andres Aberasturi
Hi Raghu, Thanks for your help. We have tried it with 2 bytes, but it doesn't works. We have TinyOS 1.1.7, maybe this is the problem, isn't it? Has anybody this problem? Thanks in advance, Andres From: Raghu Ganti <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] CC: tinyos-help@Millennium.B

[Tinyos-help] ByteEEPROMC.nc with MICAz

2006-02-16 Thread Andres Aberasturi
Hi all, We want to use the external memory flash of our MICAz. We are trying with byteEEPROM module. We have done an application that compiles but doesn't work. The event AllocationReq.requestProcessed seems to happen, but the command write returns fail. What is the problem? Has anyone an a

[Tinyos-help] Flash memory - eeprom

2006-02-13 Thread Andres Aberasturi
Hi, We have a micaz mote. We want to write and read from its external memory, flash memory. We have made an application with ByteEEPROM module. We have compiled our application, and it seems right, but it doesn't work. The green led swichs on and no more. We add our code here. Thanks for an

[Tinyos-help] Micaz + MIB510 baudrate

2006-02-13 Thread Andres Aberasturi
Hi, We know micaz mote can be a baud rate of 1 Mbps. A RS232 is able to send 250 Kbps. Now, the ISP of our MIB510 runs at a fixed baud rate of 115 kbps. We know change micaz baudrate, we have changed it to 230.4 kbps, so we need to fix the ISP baud rate equal to micaz baud rate. Is it possi

Re: [Tinyos-help] bits/sec through uart

2006-02-10 Thread Andres Aberasturi
Hi all, Thanks for your help. Michael, thanks, you are right. There are one star bit, one parity bit and one or two stop bits. Now we have found the right baudrate. Andres From: Michael Schippling <[EMAIL PROTECTED]> To: Andres Aberasturi <[EMAIL PROTECTED]> CC:

[Tinyos-help] bits/sec through uart

2006-02-09 Thread Andres Aberasturi
Hi all, I have a micaz, with a MIB510 platform. I thought that it was able to send 57600 bit/sec, because this number is the baudrate which I put for connecting it to my pc. I have tested it and then I found that it send about 39000 bits/sec. Is that possible? What could be wrong? Thaks for

[Tinyos-help] Micaz baudrate

2006-02-08 Thread Andres Aberasturi
Hi, We have a MICAz mote and a MIB510 platform, connecting through RS-232. We have made a program that sends messages by uart when the timer fired. With this timer we calculate the time for a sent by uart. We have tested it with differents message length. We have found: MSG_LENGTH(bytes)

[Tinyos-help] MICAz Measurement serial flash

2006-01-27 Thread Andres Aberasturi
Hi all, We noticed that MICAz mote has a external memory, measurement serial flash with 512 kbytes. We was looking for a application which uses this memory, but we did not found anyone. Could someone help us? We do not know how we can save some data on this memory. Sorry for our english. Th