[Tinyos-help] CTP over different HW platforms?

2007-08-07 Thread Urs Hunkeler
Hi, Is it possible that CTP in TinyOS-2 does not work in a mixed network? I have an application on top of CTP. When I install it on Tmotes only, it works ok. But when I add some micazs, the micazs don't seem to find the Tmotes. If this is not a known issue, any suggestions on how to debug this?

[Tinyos-help] Seek simulator that can simulate interrupts.

2007-08-07 Thread Zhifeng Lai
Dear all, Is there any simulator that can simulate the preemptive effects of interrupts over tasks on top of TinyOS concurrent model? Thank you for your advice in advance! Best regards, Yours, Zhifeng Lai ___ Tinyos-help mailing list

[Tinyos-help] Tmote connect (Error, bad file format)

2007-08-07 Thread Bart Jooris
Hi all, On Wed May 30 there was already a response of Joe Palastre about this issue. http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-May/025361.html These are my steps in Xubuntos after a tos1 as root -make telosb -make telosb reinstall,1 bsl,/dev/ttyUSB0 -make telosb reinstall,1

[Tinyos-help] Logger with a large structure

2007-08-07 Thread José Manuel Sánchez-Matamoros Pérez
Hi all! I need to log in EEPROM the data adquisition of every sensor (14 bytes) and a time stamp to indicate the time of the adquisition (8 bytes). So, i need to store in EEPROM 22 bytes. The size of the EEPROM for mica2 is 16 bytes. How can i store data with component Logger? I have tried to do

[Tinyos-help] BaseStation tinyOS 2.0.2

2007-08-07 Thread Alban Hessler
Hi, I have just upgraded to tinyOS 2.0.2, and noticed used BaseStation with the new compiler flags (i.e. NO_RECOGNITION, etc..) I have the problem that now on the Java side (or listen side), the source and destination seems incorrect. For example, when a packet is broadcasted, the source is also

[Tinyos-help] Re: BaseStation tinyOS 2.0.2

2007-08-07 Thread Alban Hessler
Well, was easy, just added the following line before sending to the serial: call UartAMPacket.setSource(msg, call RadioAMPacket.source(msg)); Cheers, Alban 2007/8/7, Alban Hessler [EMAIL PROTECTED]: Hi, I have just upgraded to tinyOS 2.0.2, and noticed used BaseStation with the new

[Tinyos-help] Acceleration Sensor

2007-08-07 Thread Bernardo Avila Pires
Hi Can someone please help me? I've looked at the ADXL202E (mts310's accel sensor) Datasheet, but I wasn't able to find an explicit function that maps the output in volts to the acceleration value. If I were able to understand how this sensor worked, I might have been able to figure something

Re: [Tinyos-help] Tmote connect (Error, bad file format)

2007-08-07 Thread Bart Jooris
Hi, Does anyone know which file format the TMote Connect expects as input? I tried to execute this line many times and every time I get the same error message: /opt/tinyos-1.x/tools/make/msp/netbsl 192.168.5.150:10002 build/telosb/main.ihex.out-2 --telosb -r -I -p after changing the

Re: [Tinyos-help] CTP over different HW platforms?

2007-08-07 Thread Philip Levis
On Aug 6, 2007, at 11:02 PM, Urs Hunkeler wrote: Hi, Is it possible that CTP in TinyOS-2 does not work in a mixed network? I have an application on top of CTP. When I install it on Tmotes only, it works ok. But when I add some micazs, the micazs don't seem to find the Tmotes. If this

[Tinyos-help] Disabling interrupts

2007-08-07 Thread Min Guo
What is the meaning of interrupts are disabled? Interrupts are disabled when using atomic sections: atomic { ... } On the MSP430 micro controller, does this mean the interrupts will be delayed after the atomic section, or simply be discarded? The same question for maskable interrupts: while

Re: [Tinyos-help] Tmote connect (Error, bad file format)

2007-08-07 Thread Joe Polastre
Please see this email: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2006-November/020972.html On 8/7/07, Bart Jooris [EMAIL PROTECTED] wrote: Hi all, On Wed May 30 there was already a response of Joe Palastre about this issue.

Re: [Tinyos-help] Disabling interrupts

2007-08-07 Thread Michael Schippling
It means that no interrupts are serviced until they are enabled again. You probably don't miss any, unless you overrun due to blocking for too long. See my last breathless post on this: https://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-July/027039.html and search for interrupt on

[Tinyos-help] RadioCoordinator issue, not connected when it seems connected

2007-08-07 Thread Christopher Jenkins
Hello, I recently had an issue with RadioCoordinator giving 'previous declaration' errors. I had commented code out randomly to see if I could change the errors, and at one point, they looked like this: In component `CC1000RadioM':

[Tinyos-help] RE: SF - tossim-serial

2007-08-07 Thread migueltsilva
Hi all, I try the command like you said but receive the same error. I'm trying to simulate an interface java with tossim before go to telosb. So can anybody help me with this? Tanks in advance De: ricardo tiago [mailto:[EMAIL PROTECTED] Enviada: ter 8/7/2007 1:43 Para:

Re: [Tinyos-help] Again!!!! Low-power CC2420 multihop in TinyOS2.xquestion????

2007-08-07 Thread Ravi Prasad
Dear Philip and Dear David, Thank you for your inputs. I have been testing the power consumption of CTP-LPL by increasing the beaconing period of CTP. Following were my results. Current ^ | -T1 -T2 | |-| | | |---|C1 | | | | |

[Tinyos-help] reading whole port in Mica 2

2007-08-07 Thread Caloy Diaz
Hi, may I ask if any of you know how to read a whole port of the Atmel microcontroller in Mica 2 with just one instruction? All I could read now is just one pin at a time, say TOSH_READ_INT0_PIN();. I tried messing with the avrhardware.h and hardware.nido.h files, but I get errors and the code

Re: [Tinyos-help] reading whole port in Mica 2

2007-08-07 Thread Ravi Prasad
Hi, You can directly use a port name as a varible. avr-gcc provides this abstraction. example: for reading port A use PORTA uint8_t x = PORTA; this will assign the 8 bits os port A into varible x. Similarly you can write to ports PORTB = 0xFE; Regards Ravi --- Caloy Diaz [EMAIL