[Tinyos-help] tinyos2.0.2 failed dependencies

2008-02-27 Thread Mona.baher
Hi, I am trying to upgrader tinyos2.0.2 and when I install tinyos-tools-1.2.4-3.i686.rpm then : # rpm -Uvh tinyos-tools-1.2.4-3.i686.rpm error: Failed dependencies: libc.so.6()(64bit) is needed by tinyos-tools-1.2.4-3.i686 libc.so.6(GLIBC_2.2.5)(64bit) is needed by

[Tinyos-help] Sensor network topology+route

2008-02-27 Thread funofnet Funofnet
Hi for all, I'm using tinyos-1.x. My simple first question is how could I definite the topology of my network (tree, cluster, mesh,...)? My second question is how could I see the route of my packets which are transmitted with the multihop protocol (Mintroute). Thanks a lot.

RE: [Tinyos-help] Regarding MDA300CA

2008-02-27 Thread Siirtola Harri
Have you tried with MDA300 apps by Crossbow? They should work. If you get decent readings with them, you can dig into the code to see what goes wrong with your own app. Regards, Harri -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Coalton

[Tinyos-help] 寻找使用Tossim仿真的朋友

2008-02-27 Thread cqu_tyj
qq:36336735 ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] cricket

2008-02-27 Thread prashan wanigasekara
Hey Sarfraz, Thanks so much for your help. I am using tinyos-1.x now for cricket. I tried what was said in the http://rvsn.csail.mit.edu/netloc/software/README . I installed properly but when I go to the directory tos/apps/CricketRobustLoc/ and type make cricket I get the following error.

[Tinyos-help] Output Power levels CC2420

2008-02-27 Thread Rodolfo de Paz Alberola
Hi all, I am extending a micaz software emulator to support CC2420 and testing it with tinyos-2.x. When dealing with the Output Power Levels that cc2420 support in the TXCTRL.PA_LEVEL register, I found the problem that in data sheet they don't indicate all dBm values for the different 32

Re: [Tinyos-help] Output Power levels CC2420

2008-02-27 Thread Alexander Becher
* Rodolfo de Paz Alberola: I am extending a micaz software emulator to support CC2420 and testing it with tinyos-2.x. When dealing with the Output Power Levels that cc2420 support in the TXCTRL.PA_LEVEL register, I found the problem that in data sheet they don't indicate all dBm values for the

[Tinyos-help] can you hard/factory reset MICAz fuses?

2008-02-27 Thread Murray, Ben
Hi is there a way to hard-reset the MICAz fuses? I have a mote that may have been programmed with bad fuse settings, bricking it in the process. It won't program or respond to uisp fuse/erase/etc commands. I have tried using an AVRICEmkII and AVRstudio to reset them (don't think I have a squid

[Tinyos-help] Over-the-Air-Programming

2008-02-27 Thread Asier Arruti
Hi, I am trying to programme the MicaZ motes over-the-air, because OEM Edition must be soldered to use it (and it is always difficult to get things working as desired the first time). I have followed all the steps that are explained in MoteConfig User's Manual document

RE: [Tinyos-help] Over-the-Air-Programming

2008-02-27 Thread Giri Baleri
There is no response from the base station means the MoteConfig has not been able to receive heartbeat messages from the base station. Several questions: 1. Which MIB board are you using and what COM port is assigned to it? 2. Are you using any USB-Serial adapter? 3. Which application did you

[Tinyos-help] Re: Temperature Reading from Oscilloscope

2008-02-27 Thread Ittipong Khemapech
Hi, After being through the code in OscilloscopeC.nc, I've found that 65535 is set by the Read.readDone() event in case of unsuccessful data read. My current guess in that I might not activate the temp sensor correctly. Please give me some suggestions. Thanks, Ittipong PS I also change

[Tinyos-help] i2c/spi bus sharing

2008-02-27 Thread Carloalberto Torghele
Hi. I need to share the I2c/spi pin of a tmote node beetween the radio (which communicates in SPI) and a sensor (which communicates in I2c). I'm using TinyOs 2. Is it possible? In particular what I can stand is to switch off the radio while I'm reading the sensor but I need that the radio's stack

[Tinyos-help] where to edit in oscope java application?

2008-02-27 Thread Nashwa Abo Elneel
Hi, i want to change the OscopeMsg content of the oscilloscope application (for example to cancel one field and to increase the buffer_size). i change the buffer size in the OscopeMsg.h file, however i don't know where to edit in the java application itself to let it sense these changes. i

[Tinyos-help] AVR GCC compiler problems

2008-02-27 Thread José Moyano
Take a look at this code: One module has: command result_t CPSSetReceive.setReceive[uint8_t channel](uint32_t id, uint32_t mask) { if ((call CANReceive.setReceive[channel](id, mask)) (call CANReceive.setReceive[channel + 7](id, mask))) { ... } This operation is called with a mask

Re: [Tinyos-help] AVR GCC compiler problems

2008-02-27 Thread Kevin Klues
I'm very skeptical in saying that its a problem with the compiler. How have you verified that the parameters do not contain the proper values? Kevin On Wed, Feb 27, 2008 at 10:18 AM, José Moyano [EMAIL PROTECTED] wrote: Take a look at this code: One module has: command result_t

Re: [Tinyos-help] AVR GCC compiler problems

2008-02-27 Thread Kevin Klues
If you are checking via he call to Leds.yellowOff(), keep in mind that if the first call to setReceive[3]() returns FAIL, the if statement will short circuit and never run the second call, thus never turning off the yellow LED. Kevin On Wed, Feb 27, 2008 at 10:28 AM, Kevin Klues [EMAIL

Re: [Tinyos-help] AVR GCC compiler problems

2008-02-27 Thread José Moyano
Thanks for your answer. I've checked that the first call returns true. In fact, I change the for a sentences sequence, and the error is the same. Don't be so skeptic to compiler errors. This isn't my first compiler problem. For example, if you has something like: uint16_t number1 = 0x1002;

Re: [Tinyos-help] where to edit in oscope java application?

2008-02-27 Thread Kevin Klues
try doing a make clean int the java directory followed by a make Kevin On Wed, Feb 27, 2008 at 10:12 AM, Nashwa Abo Elneel [EMAIL PROTECTED] wrote: Hi, i want to change the OscopeMsg content of the oscilloscope application (for example to cancel one field and to increase the buffer_size). i

Re: [Tinyos-help] AVR GCC compiler problems

2008-02-27 Thread Kevin Klues
uint16_t number1 = 0x1002; uint32_t number2; number2 = number1 14; This is not a compiler error, but rather an error in your code. Correct c syntax for doing what you are trying to do is: number2 = ((uint32_t)number1) 14; Now back to your real problem again I'm not inclined to say

Re: [Tinyos-help] Re: Temperature Reading from Oscilloscope

2008-02-27 Thread Ittipong Khemapech
Hi, Thanks for your reply. I'm doing 'make tmote' and then installing it on the invent (make tmote install). I've got no errors. It works well if I don't modify the Oscilloscope (using the DemoSensorC() interface). Ittipong On 27/02/2008, Kevin Klues [EMAIL PROTECTED] wrote: I'm not sure

Re: [Tinyos-help] Output Power levels CC2420

2008-02-27 Thread bender . 13
On 27 Feb, Rodolfo de Paz Alberola wrote: However using the cc2420 driver of tinyos-2.x I can set 32 different values, so I would like to know what happend if somebody set a for example PA_LEVEL = 21, which Pow(dBm) value should give the cc2420 radiochip? anybody has the completely

Re: [Tinyos-help] Sensor network topology+route

2008-02-27 Thread Omprakash Gnawali
On Wed, Feb 27, 2008 at 1:12 AM, funofnet Funofnet [EMAIL PROTECTED] wrote: Hi for all, I'm using tinyos-1.x. My simple first question is how could I definite the topology of my network (tree, cluster, mesh,...)? Here is a link to tinyos 1.x multihop routing documentation:

Re: [Tinyos-help] AVR GCC compiler problems

2008-02-27 Thread José Moyano
Yes, you are right. If so many people is using this compiler, must be my error. I try hardcoding, and the error continues. Maybe an optimization problem? I'm using -o0 (no optimization). One more thing: Does C support coercion? Theoretically, I don't need casting for my example. Or, at least,

Re: [Tinyos-help] AVR GCC compiler problems

2008-02-27 Thread Kevin Klues
One more thing: Does C support coercion? Yes C supports coercion, but the problem you have is that you are really executing two statements in the assignment. Coercion only happens after the shift has occurred. so first the compiler does (number1 14), then it converts it to a 32 bit number to

Re: [Tinyos-help] AVR GCC compiler problems

2008-02-27 Thread Philip Levis
On Feb 27, 2008, at 12:11 PM, José Moyano wrote: Yes, you are right. If so many people is using this compiler, must be my error. I try hardcoding, and the error continues. Maybe an optimization problem? I'm using -o0 (no optimization). That would still be a compiler problem. One more

Re: [Tinyos-help] AVR GCC compiler problems

2008-02-27 Thread John Regehr
There have been compiler bugs in the past, but as far as I recall they've all been on msp430-gcc. The avr-gcc bug database is here: http://www.nongnu.org/avr-libc/bugs.html The majority of known bugs are missed optimizations and compiler crashes; incorrect code generation is relatively

RE: [Tinyos-help] AVR GCC compiler problems

2008-02-27 Thread Janos Sallai
I agree with Kevin that chances are low that it's a compiler problem. One thing I can imagine is that id and mask are stored in registers between the subsequent calls to CANReceive.setReceive, and the register values get corrputed by some asm statements that don't properly tell the compiler

RE: [Tinyos-help] AVR GCC compiler problems

2008-02-27 Thread John Regehr
Just to amplify on Janos and Kevin's messages a bit when RAM is corrupted or changing optimization level changes the behavior of a program the culprit is always one of the following: - program depends on unspecified behavior e.g. - order of application of side effects between sequence

[Tinyos-help] TOSSIM for cricket_compile errors

2008-02-27 Thread prashan wanigasekara
Hi everyone, I am trying to use TOSSIM(on tinyos-1.x) for the cricket platform. In this forum Sarfraz send me some links where I could download TOSSIM support for cricket. The links are http://rvsn.csail.mit.edu/netloc/software/cricket.tar.gz and http://rvsn.csail.mit.edu/netloc/software/README